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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Manfred Koizar 2004-05-24 16:02:44 Re: New horology failure
Previous Message Christopher Kings-Lynne 2004-05-24 15:03:02 Re: Big problem