Small fix for _copySetConstraintsStmt
Started by Fernando Nasserover 24 years ago3 messagespatches
Field is a list of strings, not nodes.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Attachments:
CONSTRAINTS.PATCHtext/plain; charset=us-ascii; name=CONSTRAINTS.PATCHDownload+2-2
Re: Small fix for _copySetConstraintsStmt
Fernando Nasser <fnasser@redhat.com> writes:
Field is a list of strings, not nodes.
Yeah, but listCopy is not the solution, because it'd only copy the cons
cells and not the pointed-to strings. The representation of
ConstraintsSetStmt is really just plain broken. It should use a list
of Value string nodes --- which would make copySetConstraintsStmt okay
as-is. Fixing now...
regards, tom lane