From: Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
To: Sean Murphy <Sean.Murphy@equipoint.com>
To: pgsql-admin@postgresql.org
Subject: Re: Frustrating LO problem
Date: Sat, 30 Dec 2006 00:49:30 +0000
Message-ID: <4595B79A.2020304@mailnetwork.co.uk> (raw)
In-Reply-To: <4595B018.3090600@equipoint.com>
References: <4595B018.3090600@equipoint.com>
Hi Sean,
I'm certainly not a PostgreSQL expert when it comes to large objects
etc, but there's one thing that jumps out at me here (perhaps someone
else can see the same line of thought and into more depth as I can't
think of much else to suggest?)
> The logfile lines when it doesn't:
> {
> WARNING: nonstandard use of \\ in a string literal at character 94
> HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
> LOG: statement: insert into doc.templates (description, last_update,
> template) values ('test', '12/29/2006', 'testfile\\056contents')
> ERROR: invalid input syntax for type oid: "testfile\056contents"
>
^^ here it seems to be thinking that column 'template' is of type 'oid',
not 'lo' (if I'm reading the error right: "invalid input syntax for
type oid").
Just double-check what data-type that column is in this database.
Regards,
Andy.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andy.shellam-lists@mailnetwork.co.uk, Sean.Murphy@equipoint.com
Subject: Re: Frustrating LO problem
In-Reply-To: <4595B79A.2020304@mailnetwork.co.uk>
References: <4595B018.3090600@equipoint.com> <4595B79A.2020304@mailnetwork.co.uk>
* 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