Re: invalidly encoded strings - Mailing list pgsql-hackers

From db@zigo.dhs.org
Subject Re: invalidly encoded strings
Date
Msg-id 40010.192.121.104.48.1189413959.squirrel@zigo.dhs.org
Whole thread Raw
In response to Re: invalidly encoded strings  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
>>> I think the concern is when they use only one slash, like:
>>>   E'\377\000\377'::bytea
>>> which, as I mentioned before, is not correct anyway.
>
> Wait, why would this be wrong? How would you enter the three byte bytea of
> consisting of those three bytes described above?

Either as

E'\\377\\000\\377'

or

'\377\000\377'

/Dennis




pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: invalidly encoded strings
Next
From: Jens-Wolfhard Schicke
Date:
Subject: Re: Hash index todo list item