Re: [HACKERS] zero-column table behavior

2004-05-24 Thread Manfred Koizar
[resending...] On Sat, 22 May 2004 20:28:43 -0400, Neil Conway <[EMAIL PROTECTED]> 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 z

Re: [HACKERS] zero-column table behavior

2004-05-23 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > Does the following zero-column behavior strike anyone else as being a > little strange? I can take a look at fixing this, I'm just curious if > there's a consensus that the status quo isn't optimal. I think that psql's table-pretty-printing logic gets sl

[HACKERS] zero-column table behavior

2004-05-22 Thread Neil Conway
Does the following zero-column behavior strike anyone else as being a little strange? I can take a look at fixing this, I'm just curious if there's a consensus that the status quo isn't optimal. (1) neilc=# create table zero_col (); CREATE TABLE neilc=# select * from zero_col; -- (0 rows) -- Why