pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Allow empty target list in SELECT.
9+ messages / 3 participants
[nested] [flat]
* pgsql: Allow empty target list in SELECT.
@ 2013-12-15 01:23 Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 9+ messages in thread
From: Tom Lane @ 2013-12-15 01:23 UTC (permalink / raw)
To: pgsql-committers
Allow empty target list in SELECT.
This fixes a problem noted as a followup to bug #8648: if a query has a
semantically-empty target list, e.g. SELECT * FROM zero_column_table,
ruleutils.c will dump it as a syntactically-empty target list, which was
not allowed. There doesn't seem to be any reliable way to fix this by
hacking ruleutils (note in particular that the originally zero-column table
might since have had columns added to it); and even if we had such a fix,
it would do nothing for existing dump files that might contain bad syntax.
The best bet seems to be to relax the syntactic restriction.
Also, add parse-analysis errors for SELECT DISTINCT with no columns (after
*-expansion) and RETURNING with no columns. These cases previously
produced unexpected behavior because the parsed Query looked like it had
no DISTINCT or RETURNING clause, respectively. If anyone ever offers
a plausible use-case for this, we could work a bit harder on making the
situation distinguishable.
Arguably this is a bug fix that should be back-patched, but I'm worried
that there may be client apps or PLs that expect "SELECT ;" to throw a
syntax error. The issue doesn't seem important enough to risk changing
behavior in minor releases.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/1b4f7f93b4693858cb983af3cd557f6097dab67b
Modified Files
--------------
doc/src/sgml/ref/select.sgml | 28 +++++++++++++++++++++-------
src/backend/parser/analyze.c | 13 +++++++++++++
src/backend/parser/gram.y | 8 ++++++--
src/backend/parser/parse_clause.c | 19 +++++++++++++++++++
src/test/regress/expected/errors.out | 23 ++++++++---------------
src/test/regress/sql/errors.sql | 15 ++++++---------
6 files changed, 73 insertions(+), 33 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
@ 2014-10-22 19:41 ` Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Thom Brown @ 2014-10-22 19:41 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On 15 December 2013 02:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Allow empty target list in SELECT.
>
> This fixes a problem noted as a followup to bug #8648: if a query has a
> semantically-empty target list, e.g. SELECT * FROM zero_column_table,
> ruleutils.c will dump it as a syntactically-empty target list, which was
> not allowed. There doesn't seem to be any reliable way to fix this by
> hacking ruleutils (note in particular that the originally zero-column table
> might since have had columns added to it); and even if we had such a fix,
> it would do nothing for existing dump files that might contain bad syntax.
> The best bet seems to be to relax the syntactic restriction.
>
> Also, add parse-analysis errors for SELECT DISTINCT with no columns (after
> *-expansion) and RETURNING with no columns. These cases previously
> produced unexpected behavior because the parsed Query looked like it had
> no DISTINCT or RETURNING clause, respectively. If anyone ever offers
> a plausible use-case for this, we could work a bit harder on making the
> situation distinguishable.
>
> Arguably this is a bug fix that should be back-patched, but I'm worried
> that there may be client apps or PLs that expect "SELECT ;" to throw a
> syntax error. The issue doesn't seem important enough to risk changing
> behavior in minor releases.
>
This commit introduces another bug:
# create table colours (id serial, name text, visible boolean);
CREATE TABLE
# insert into colours (name, visible) values
('blue',true),('yellow',true),('ultraviolet',false),('green',true),('infrared',false);
INSERT 0 5
# select into colours2 from colours;
SELECT 5
# select * from colours2;
(No rows)
--
Thom
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
@ 2014-10-22 19:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 9+ messages in thread
From: Tom Lane @ 2014-10-22 19:57 UTC (permalink / raw)
To: Thom Brown <thom@linux.com>; +Cc: pgsql-committers
Thom Brown <thom@linux.com> writes:
> On 15 December 2013 02:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Allow empty target list in SELECT.
> This commit introduces another bug:
> # create table colours (id serial, name text, visible boolean);
> CREATE TABLE
> # insert into colours (name, visible) values
> ('blue',true),('yellow',true),('ultraviolet',false),('green',true),('infrared',false);
> INSERT 0 5
> # select into colours2 from colours;
> SELECT 5
> # select * from colours2;
> (No rows)
That's just a pre-existing issue in psql that it's not terribly smart
about displaying zero-column rows. But what psql are you using?
I see
regression=# select * from colours2;
--
(5 rows)
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
@ 2014-10-22 20:06 ` Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 9+ messages in thread
From: Thom Brown @ 2014-10-22 20:06 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On 22 October 2014 21:57, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thom Brown <thom@linux.com> writes:
> > On 15 December 2013 02:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Allow empty target list in SELECT.
>
> > This commit introduces another bug:
>
> > # create table colours (id serial, name text, visible boolean);
> > CREATE TABLE
>
> > # insert into colours (name, visible) values
> >
> ('blue',true),('yellow',true),('ultraviolet',false),('green',true),('infrared',false);
> > INSERT 0 5
>
> > # select into colours2 from colours;
> > SELECT 5
>
> > # select * from colours2;
> > (No rows)
>
> That's just a pre-existing issue in psql that it's not terribly smart
> about displaying zero-column rows. But what psql are you using?
> I see
>
> regression=# select * from colours2;
> --
> (5 rows)
>
I'm using the one I built along with everything else:
$ which psql
/home/thom/Development/psql/bin/psql
--
Thom
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
@ 2014-10-22 20:13 ` Thom Brown <thom@linux.com>
2014-10-22 20:19 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Thom Brown @ 2014-10-22 20:13 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On 22 October 2014 22:06, Thom Brown <thom@linux.com> wrote:
> On 22 October 2014 21:57, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> Thom Brown <thom@linux.com> writes:
>> > On 15 December 2013 02:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> >> Allow empty target list in SELECT.
>>
>> > This commit introduces another bug:
>>
>> > # create table colours (id serial, name text, visible boolean);
>> > CREATE TABLE
>>
>> > # insert into colours (name, visible) values
>> >
>> ('blue',true),('yellow',true),('ultraviolet',false),('green',true),('infrared',false);
>> > INSERT 0 5
>>
>> > # select into colours2 from colours;
>> > SELECT 5
>>
>> > # select * from colours2;
>> > (No rows)
>>
>> That's just a pre-existing issue in psql that it's not terribly smart
>> about displaying zero-column rows. But what psql are you using?
>> I see
>>
>> regression=# select * from colours2;
>> --
>> (5 rows)
>>
>
> I'm using the one I built along with everything else:
>
> $ which psql
> /home/thom/Development/psql/bin/psql
>
I can see the same output as you if I get it to ignore my .psqlrc file:
# select * from colours2;
--
(5 rows)
Turns out it's "\x auto" causing it.
--
Thom
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
@ 2014-10-22 20:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-03-20 12:25 ` Re: pgsql: Allow empty target list in SELECT. Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 9+ messages in thread
From: Tom Lane @ 2014-10-22 20:19 UTC (permalink / raw)
To: Thom Brown <thom@linux.com>; +Cc: pgsql-committers
Thom Brown <thom@linux.com> writes:
> I can see the same output as you if I get it to ignore my .psqlrc file:
> # select * from colours2;
> --
> (5 rows)
> Turns out it's "\x auto" causing it.
Ah. Seems like a bug in the expanded-mode printout logic then.
But, in any case, it's been like that a very long time. You
could do this at least as far back as 8.4:
regression=# create table foo();
CREATE TABLE
regression=# insert into foo default values;
INSERT 0 1
regression=# insert into foo default values;
INSERT 0 1
regression=# select * from foo;
--
(2 rows)
regression=# \x on
Expanded display is on.
regression=# select * from foo;
(No rows)
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:19 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-03-20 12:25 ` Bruce Momjian <bruce@momjian.us>
2015-03-25 01:04 ` Re: pgsql: Allow empty target list in SELECT. Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 9+ messages in thread
From: Bruce Momjian @ 2015-03-20 12:25 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Thom Brown <thom@linux.com>; pgsql-committers
On Wed, Oct 22, 2014 at 04:19:10PM -0400, Tom Lane wrote:
> Thom Brown <thom@linux.com> writes:
> > I can see the same output as you if I get it to ignore my .psqlrc file:
>
> > # select * from colours2;
> > --
> > (5 rows)
>
> > Turns out it's "\x auto" causing it.
>
> Ah. Seems like a bug in the expanded-mode printout logic then.
> But, in any case, it's been like that a very long time. You
> could do this at least as far back as 8.4:
>
> regression=# create table foo();
> CREATE TABLE
> regression=# insert into foo default values;
> INSERT 0 1
> regression=# insert into foo default values;
> INSERT 0 1
> regression=# select * from foo;
> --
> (2 rows)
>
> regression=# \x on
> Expanded display is on.
> regression=# select * from foo;
> (No rows)
I have developed a patch to fix this, e.g.:
test=> select * from foo;
--
(2 rows)
test=> \x
Expanded display is on.
test=> select * from foo;
(2 rows)
I used the same footer function every other output format was using.
Patch attached.
I also found that the normal non-expanded output was forcing the use of
a pager for these tests, which seemed odd considering there were no
rows. The problem is that the variable col_count is an unsigned integer,
and there were a few places we were subtracting one from it. When
col_count was zero, subtracting one returned a very larger positive
number, and triggered the pager. That is fixed in this patch as well.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Attachments:
psql.diff (text/x-diff, 3.4K) download
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
new file mode 100644
index ce0d05d..40e5098
*** a/src/bin/psql/print.c
--- b/src/bin/psql/print.c
*************** print_aligned_text(const printTableConte
*** 692,698 ****
if (opt_border == 0)
width_total = col_count;
else if (opt_border == 1)
! width_total = col_count * 3 - 1;
else
width_total = col_count * 3 + 1;
total_header_width = width_total;
--- 692,698 ----
if (opt_border == 0)
width_total = col_count;
else if (opt_border == 1)
! width_total = col_count * 3 - ((col_count > 0) ? 1 : 0);
else
width_total = col_count * 3 + 1;
total_header_width = width_total;
*************** print_aligned_text(const printTableConte
*** 928,934 ****
fputs(!header_done[i] ? format->header_nl_right : " ",
fout);
! if (opt_border != 0 && i < col_count - 1)
fputs(dformat->midvrule, fout);
}
curr_nl_line++;
--- 928,934 ----
fputs(!header_done[i] ? format->header_nl_right : " ",
fout);
! if (opt_border != 0 && col_count > 0 && i < col_count - 1)
fputs(dformat->midvrule, fout);
}
curr_nl_line++;
*************** print_aligned_text(const printTableConte
*** 983,989 ****
struct lineptr *this_line = &col_lineptrs[j][curr_nl_line[j]];
int bytes_to_output;
int chars_to_output = width_wrap[j];
! bool finalspaces = (opt_border == 2 || j < col_count - 1);
/* Print left-hand wrap or newline mark */
if (opt_border != 0)
--- 983,990 ----
struct lineptr *this_line = &col_lineptrs[j][curr_nl_line[j]];
int bytes_to_output;
int chars_to_output = width_wrap[j];
! bool finalspaces = (opt_border == 2 ||
! (col_count > 0 && j < col_count - 1));
/* Print left-hand wrap or newline mark */
if (opt_border != 0)
*************** print_aligned_text(const printTableConte
*** 1077,1087 ****
fputs(format->wrap_right, fout);
else if (wrap[j] == PRINT_LINE_WRAP_NEWLINE)
fputs(format->nl_right, fout);
! else if (opt_border == 2 || j < col_count - 1)
fputc(' ', fout);
/* Print column divider, if not the last column */
! if (opt_border != 0 && j < col_count - 1)
{
if (wrap[j + 1] == PRINT_LINE_WRAP_WRAP)
fputs(format->midvrule_wrap, fout);
--- 1078,1088 ----
fputs(format->wrap_right, fout);
else if (wrap[j] == PRINT_LINE_WRAP_NEWLINE)
fputs(format->nl_right, fout);
! else if (opt_border == 2 || (col_count > 0 && j < col_count - 1))
fputc(' ', fout);
/* Print column divider, if not the last column */
! if (opt_border != 0 && (col_count > 0 && j < col_count - 1))
{
if (wrap[j + 1] == PRINT_LINE_WRAP_WRAP)
fputs(format->midvrule_wrap, fout);
*************** print_aligned_vertical(const printTableC
*** 1236,1243 ****
if (cont->cells[0] == NULL && cont->opt->start_table &&
cont->opt->stop_table)
{
! if (!opt_tuples_only && cont->opt->default_footer)
! fprintf(fout, _("(No rows)\n"));
return;
}
--- 1237,1254 ----
if (cont->cells[0] == NULL && cont->opt->start_table &&
cont->opt->stop_table)
{
! printTableFooter *footers = footers_with_default(cont);
!
! if (!opt_tuples_only && !cancel_pressed && footers)
! {
! printTableFooter *f;
!
! for (f = footers; f; f = f->next)
! fprintf(fout, "%s\n", f->data);
! }
!
! fputc('\n', fout);
!
return;
}
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:19 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2015-03-20 12:25 ` Re: pgsql: Allow empty target list in SELECT. Bruce Momjian <bruce@momjian.us>
@ 2015-03-25 01:04 ` Bruce Momjian <bruce@momjian.us>
2015-03-25 09:31 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 9+ messages in thread
From: Bruce Momjian @ 2015-03-25 01:04 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Thom Brown <thom@linux.com>; pgsql-committers
On Fri, Mar 20, 2015 at 08:25:50AM -0400, Bruce Momjian wrote:
> > regression=# create table foo();
> > CREATE TABLE
> > regression=# insert into foo default values;
> > INSERT 0 1
> > regression=# insert into foo default values;
> > INSERT 0 1
> > regression=# select * from foo;
> > --
> > (2 rows)
> >
> > regression=# \x on
> > Expanded display is on.
> > regression=# select * from foo;
> > (No rows)
>
> I have developed a patch to fix this, e.g.:
>
> test=> select * from foo;
> --
> (2 rows)
>
> test=> \x
> Expanded display is on.
> test=> select * from foo;
> (2 rows)
>
> I used the same footer function every other output format was using.
> Patch attached.
Patch applied.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: Allow empty target list in SELECT.
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Re: pgsql: Allow empty target list in SELECT. Thom Brown <thom@linux.com>
2014-10-22 20:19 ` Re: pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2015-03-20 12:25 ` Re: pgsql: Allow empty target list in SELECT. Bruce Momjian <bruce@momjian.us>
2015-03-25 01:04 ` Re: pgsql: Allow empty target list in SELECT. Bruce Momjian <bruce@momjian.us>
@ 2015-03-25 09:31 ` Thom Brown <thom@linux.com>
0 siblings, 0 replies; 9+ messages in thread
From: Thom Brown @ 2015-03-25 09:31 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers
On 25 March 2015 at 01:04, Bruce Momjian <bruce@momjian.us> wrote:
> On Fri, Mar 20, 2015 at 08:25:50AM -0400, Bruce Momjian wrote:
> > > regression=# create table foo();
> > > CREATE TABLE
> > > regression=# insert into foo default values;
> > > INSERT 0 1
> > > regression=# insert into foo default values;
> > > INSERT 0 1
> > > regression=# select * from foo;
> > > --
> > > (2 rows)
> > >
> > > regression=# \x on
> > > Expanded display is on.
> > > regression=# select * from foo;
> > > (No rows)
> >
> > I have developed a patch to fix this, e.g.:
> >
> > test=> select * from foo;
> > --
> > (2 rows)
> >
> > test=> \x
> > Expanded display is on.
> > test=> select * from foo;
> > (2 rows)
> >
> > I used the same footer function every other output format was using.
> > Patch attached.
>
> Patch applied.
>
Thanks.
--
Thom
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2015-03-25 09:31 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-12-15 01:23 pgsql: Allow empty target list in SELECT. Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 19:41 ` Thom Brown <thom@linux.com>
2014-10-22 19:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2014-10-22 20:06 ` Thom Brown <thom@linux.com>
2014-10-22 20:13 ` Thom Brown <thom@linux.com>
2014-10-22 20:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-03-20 12:25 ` Bruce Momjian <bruce@momjian.us>
2015-03-25 01:04 ` Bruce Momjian <bruce@momjian.us>
2015-03-25 09:31 ` Thom Brown <thom@linux.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox