View Single Post

   
  #3 (permalink)  
Old 04-18-2008, 12:36 PM
Tom Lane
 
Posts: n/a
Default Re: insertion of bytea

"Chris Mair" <list@1006.org> writes:
> Am I correct in assuming that even though I'm passing my 52000
> bytes as a (char *) to PQexecPrepared(), encoding/decoding is
> happening (think 0 -> \000) somewhere in the transfer?


Are you specifying it as a text or binary parameter? Have you looked to
see if the stored data is what you expect?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote