Re: Small fix for _copySetConstraintsStmt - Mailing list pgsql-patches

From Tom Lane
Subject Re: Small fix for _copySetConstraintsStmt
Date
Msg-id 26763.1015558900@sss.pgh.pa.us
Whole thread Raw
In response to Small fix for _copySetConstraintsStmt  (Fernando Nasser <fnasser@redhat.com>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Basic DOMAIN Support
Next
From: "Rod Taylor"
Date:
Subject: Re: Basic DOMAIN Support