Re: Bug #767: Bug when inserting in "bytea" column type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: atz(at)atz(dot)msk(dot)ru, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #767: Bug when inserting in "bytea" column type
Date: 2002-09-14 20:49:10
Message-ID: 13887.1032036550@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> INSERT INTO IMAGES (NAME,DATA) VALUES ('image1','\377\000\556\211\000');

You need to double all those backslashes.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David Wheeler 2002-09-15 05:45:45 7.3b1 on Mac OS X (Darwin)
Previous Message pgsql-bugs 2002-09-14 20:41:36 Bug #767: Bug when inserting in "bytea" column type