Re: Small fix for _copySetConstraintsStmt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fernando Nasser <fnasser(at)redhat(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Small fix for _copySetConstraintsStmt
Date: 2002-03-08 03:41:40
Message-ID: 26763.1015558900@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Fernando Nasser <fnasser(at)redhat(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Rod Taylor 2002-03-08 03:52:31 Re: Basic DOMAIN Support
Previous Message Bruce Momjian 2002-03-08 03:27:36 Re: Basic DOMAIN Support