Re: Values list-of-targetlists patch for comments (was Re:

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Date: 2006-08-02 01:28:47
Message-ID: Pine.LNX.4.58.0608021128240.17678@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

On Tue, 1 Aug 2006, Joe Conway wrote:

> Gavin Sherry wrote:
> > Is this intentional:
> >
> > template1=# values(1), (2);
> > column1
> > ---------
> > 1
> > 2
> > (2 rows)
> >
> > This is legal because of:
> >
> > simple_select:
> > /* ... */
> > | values_clause { $$ = $2; }
>
> hmm, not sure about that...
>
> >
> > Also, I am working out some docs and regression tests.
> >
>
> Oh, cool. I was going to start working on that myself tonight, but if
> you're already working on it, don't let me stand in the way ;-)
>
> Actually, if you want me to finish up whatever you have started, I'm
> happy to do that too.

I've got to go out but I'll send a complete patch when I get back.

Gavin

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2006-08-02 02:10:50 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Joe Conway 2006-08-02 01:17:33 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2006-08-02 01:46:15 Re: GENERATED ... AS IDENTITY, Was: Re: Feature Freeze
Previous Message Joe Conway 2006-08-02 01:17:33 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2006-08-02 02:10:50 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Joe Conway 2006-08-02 01:17:33 Re: Values list-of-targetlists patch for comments (was Re: