Skip site navigation (1) Skip section navigation (2)

Re: zero-column table behavior

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: zero-column table behavior
Date: 2004-05-24 16:00:36
Message-ID: 2n64b012k76mni9cf9v8o1lfl2fjttl0s6@email.aon.at (view raw or flat)
Thread:
Lists: pgsql-hackers
[resending...]

On Sat, 22 May 2004 20:28:43 -0400, Neil Conway <neilc(at)samurai(dot)com>
wrote:
>-- Why is there a blank line before the "--" that indicates the
>-- end of the result set?

"--" separates the header line from the *start* of the result set.  The
empty line is the header line, containing zero column headers.

>-- If the result set contains two rows, ISTM the psql output
>-- should emit either two or three blank lines before the "--"
>-- that indicates the end of the result set

One empty header line before "--" and then two empty data lines.

Servus
 Manfred

In response to

pgsql-hackers by date

Next:From: Manfred KoizarDate: 2004-05-24 16:02:44
Subject: Re: New horology failure
Previous:From: Christopher Kings-LynneDate: 2004-05-24 15:03:02
Subject: Re: Big problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group