Re: BLOBS : how to remove them totally

From: Nilabhra Banerjee <nil_ban(at)yahoo(dot)co(dot)uk>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bernd Helmle <mailings(at)oopsware(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: BLOBS : how to remove them totally
Date: 2003-12-22 09:47:07
Message-ID: 20031222094707.75854.qmail@web25005.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanx for ur suggestion... But I face a new problem
now...

connection.setAutoCommit works well with postgresql
7.3 .. but with postgresql 7.4 I am getting the
error...
Error in connection == ERROR: SET AUTOCOMMIT TO OFF
is no longer supported

I have tried pg73jdbc1.jar and pg73jdbc3.jar .. both
gave the same error....

But in psql (7.4) the command \set AUTOCOMMIT off is
working. Strangely \set AUTOCOMMIT off is actually
changing the value of AUTOCOMMIT internal variable...
If I type \set autocommit off .. there will create
another variable 'autocommit' and set it to 'off'...
But this wont change the autocommit mode to off.. (The
documentation doesnot tell us of any such caps/small
behaviour!)

Regards
N Banerjee

--- Kris Jurka <books(at)ejurka(dot)com> wrote: >
>
> On Sat, 20 Dec 2003, [iso-8859-1] Nilabhra Banerjee
> wrote:
>
> > But unfortunately I could not extract this data to
> > frontend thru java... I tried in two ways but got
> the
> > same error...after getting the data in Blob or
> Large
> > Object.
> >
> > Error in connection == FastPath call returned
> ERROR:
> > invalid large-object descriptor: 0
>
> This is usually a symptom of not being in a
> transaction. Large objects
> need to be done inside a transaction. Try adding
> connection.setAutoCommit(false) somewhere in your
> code.
>
> Kris Jurka

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kris Jurka 2003-12-22 09:57:42 Re: BLOBS : how to remove them totally
Previous Message Tony (Unihost) 2003-12-22 09:35:47 Re: windows distribution