mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 10:56:10 +02:00
Fix parsing of GUCs, accept either = or to.
This commit is contained in:
parent
19e43297b4
commit
6b7af735ae
@ -373,7 +373,12 @@ Here's a quick description of the format we're parsing here:
|
||||
opts)))
|
||||
|
||||
;; we don't validate GUCs, that's PostgreSQL job.
|
||||
(defrule generic-option (and optname (? equal-sign) (? optvalue))
|
||||
(defrule generic-optname optname-element
|
||||
(:text t))
|
||||
|
||||
(defrule generic-option (and generic-optname
|
||||
(or equal-sign kw-to)
|
||||
optvalue)
|
||||
(:lambda (source)
|
||||
(destructuring-bind (name es value) source
|
||||
(declare (ignore es))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user