From: James Orr <james@lrgmail.com>
To: Joe Conway <mail@joeconway.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: bytea on windows perl client
Date: Thu, 18 Jul 2002 13:01:35 -0400
Message-ID: <200207181301.35572.james@lrgmail.com> (raw)
In-Reply-To: <3D35A401.1090301@joeconway.com>
References: <200207171201.25600.james@lrgmail.com>
<200207171300.01423.james@lrgmail.com>
<3D35A401.1090301@joeconway.com>
On Wednesday 17 July 2002 13:06, Joe Conway wrote:
> > \211PNG\015\012\000 and so on.
>
> This is the escaped output form of bytea. It seems that on linux the
> perl script is either using a binary cursor, or automagically unescaping
> the output, while on windows it isn't. I'm not sure why that would
> happen, but hopefully one of the perl gurus hanging around will chime in.
>
> Joe
OK, I really need a solution to this quite quickly. It's a simple enough
script (posted earlier) so if this is something I cannot do with DBD::Pg on a
windows platform I can do it with something else. If that's the case what's
the best thing to do it with? PHP? I don't have control of the IIS server
they are running this on and I doubt very much they have PHP running on it.
Is the only way to connect to postgres with ASP via the ODBC driver? How will
that handle the bytea field?
- James
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-interfaces@postgresql.org
Cc: james@lrgmail.com, mail@joeconway.com, tgl@sss.pgh.pa.us
Subject: Re: bytea on windows perl client
In-Reply-To: <200207181301.35572.james@lrgmail.com>
* 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