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

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

Tom,

Is this intentional:

template1=# values(1), (2);
column1
---------
1
2
(2 rows)

This is legal because of:

simple_select:
/* ... */
| values_clause { $$ = $2; }

Also, I am working out some docs and regression tests.

Gavin

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2006-08-02 01:17:26 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Tom Lane 2006-08-01 23:16:35 Re: Values list-of-targetlists patch for comments (was Re: [HACKERS] 8.2 features?)

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-02 00:22:17 Re: Replication Documentation
Previous Message Peter Eisentraut 2006-08-01 23:45:53 Re: Replication Documentation

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-02 00:22:17 Re: Replication Documentation
Previous Message Peter Eisentraut 2006-08-01 23:45:53 Re: Replication Documentation