From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Mair <list@1006.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: insertion of bytea
Date: Tue, 25 Oct 2005 10:23:20 -0400
Message-ID: <13782.1130250200@sss.pgh.pa.us> (raw)
In-Reply-To: <54222.193.206.186.101.1130247876.squirrel@www.endian.it>
References: <54222.193.206.186.101.1130247876.squirrel@www.endian.it>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, list@1006.org
Subject: Re: insertion of bytea
In-Reply-To: <13782.1130250200@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox