Re: [BUGS] insert char(1) type by different ways.

2001-02-05 Thread Karel Zak
On Sat, 3 Feb 2001, Tom Lane wrote: > "And. Andruikhanov" <[EMAIL PROTECTED]> writes: > > insert into ku values(1, '\000'); > > This cannot work as you expect, because what comes out of the parser is > a string containing a single null character --- and that's fed to a > datatype input routine

Re: [BUGS] insert char(1) type by different ways.

2001-02-03 Thread Tom Lane
"And. Andruikhanov" <[EMAIL PROTECTED]> writes: > insert into ku values(1, '\000'); This cannot work as you expect, because what comes out of the parser is a string containing a single null character --- and that's fed to a datatype input routine that expects a null-terminated string. So the cha

[BUGS] insert char(1) type by different ways.

2001-02-02 Thread And. Andruikhanov
Good day. System Configuration - Architecture: Intel Pentium Operating System: 4.2-STABLE FreeBSD PostgreSQL ver