Re: RowDescription message

2019-10-07 Thread Wim Bertels
Or CREATE TABLE t(); SELECT * FROM t; Van: Tatsuo Ishii Verzonden: maandag 7 oktober 2019 10:00 Aan: pgsql-gene...@postgresql.org Onderwerp: RowDescription message According to the manualof RowDescription message https://www.postgresql.org/docs/12/protocol-messa

Re: RowDescription message

2019-10-07 Thread Tom Lane
Tatsuo Ishii writes: >>> According to the manualof RowDescription message >>> https://www.postgresql.org/docs/12/protocol-message-formats.html >>> Specifies the number of fields in a row (can be zero). >>> Does 0 fields could actually happen? >> Yes, e.g.: >> SELECT; > Thanks. Is it a valid SQL

Re: RowDescription message

2019-10-07 Thread Tatsuo Ishii
>> According to the manualof RowDescription message >> https://www.postgresql.org/docs/12/protocol-message-formats.html >> >>Specifies the number of fields in a row (can be zero). >> >> Does 0 fields could actually happen? > > Yes, e.g.: > > SELECT; Thanks. Is it a valid SQL statement

Re: RowDescription message

2019-10-07 Thread Andres Freund
Hi, On 2019-10-07 17:00:24 +0900, Tatsuo Ishii wrote: > According to the manualof RowDescription message > https://www.postgresql.org/docs/12/protocol-message-formats.html > > Specifies the number of fields in a row (can be zero). > > Does 0 fields could actually happen? Yes, e.g.: SEL