mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
parent
34cc25383a
commit
1ee389d121
@ -19,11 +19,11 @@
|
||||
(pgpass-char-p character))))
|
||||
(:lambda (e) (text e)))
|
||||
|
||||
(defrule pgpass-line (and pgpass-entry #\: pgpass-entry #\:
|
||||
(defrule pgpass-line (and (? pgpass-entry) #\: pgpass-entry #\:
|
||||
pgpass-entry #\: pgpass-entry #\:
|
||||
(? pgpass-entry))
|
||||
(:lambda (pl)
|
||||
(make-pgpass :hostname (first pl)
|
||||
(make-pgpass :hostname (or (first pl) "localhost")
|
||||
:port (third pl)
|
||||
:database (fifth pl)
|
||||
:username (seventh pl)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user