Re: Empty bytea format - 9.1devel pg_dump and psql - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: Empty bytea format - 9.1devel pg_dump and psql
Date
Msg-id 1287416538-sup-4455@alvh.no-ip.org
Whole thread Raw
In response to Empty bytea format - 9.1devel pg_dump and psql  (Vladimir Kokovic <kokovic.vladimir@gmail.com>)
Responses Re: Empty bytea format - 9.1devel pg_dump and psql  (Vladimir Kokovic <kokovic.vladimir@gmail.com>)
List pgsql-bugs
Excerpts from Vladimir Kokovic's message of sáb oct 16 15:45:02 -0300 2010:
> Hi,
>
> I'm not sure whether it is OK, a blank format for bytea, which is presented
> in 9.1devel (pg_dump and psql)

Yeah, an empty bytea is now output differently by default (just like any
other bytea).  The \x means "this bytea is output as a sequence of hex
pairs"; followed by no other chars, it represents an empty bytea.

Is this a problem?  I find it slightly funny on stuff like \d default
values and such, but not enough to merit a special case.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Rodriguez Fernando
Date:
Subject: Re: How do I remove PostgreSQL completely?
Next
From: Tom Lane
Date:
Subject: Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6