Re: multiple inserts - Mailing list pgsql-patches

From Liam Stewart
Subject Re: multiple inserts
Date
Msg-id 20010907115149.F9712@redhat.com
Whole thread Raw
In response to Re: multiple inserts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Fri, Sep 07, 2001 at 11:28:21AM -0400, Tom Lane wrote:
> Liam Stewart <liams@redhat.com> writes:
> > But following up on Tom's latest suggestion, I've implemented it in the
> > yacc grammer rather than in the parser.
>
> Oh, that's a cool idea ... I think.  Did you take care that coercion of
> values entries still happens correctly?  Given the way that UNION type
> resolution is done, UNIONing first and coercing afterwards will not
> produce the behavior we want.  An example: suppose f1 is numeric.

Erk.. hmmm..yes, it's busted :( I'll take a look at that.

> This is all pretty ugly in any case :-( ... we're really starting to
> push the limits of what we can accomplish without redoing the Querytree
> datastructure.

Agreed.

Liam

--
Liam Stewart :: Red Hat Canada, Ltd. :: liams@redhat.com

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: multiple inserts
Next
From: Ian Lance Taylor
Date:
Subject: Re: Support building in a different directory on Solaris