Re: pqlib large object error

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Edward Amsden <amsden_linux(at)embarqmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pqlib large object error
Date: 2008-06-11 11:47:04
Message-ID: 20080611114704.GB5352@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Edward Amsden wrote:
> Thanks for all your help. I'm somewhat amateur with C and even less
> experienced with PostgreSQL (I'm a recent MySQL convert). Even after
> some googling, I have no idea what this BEGIN block is. Is it C or is it
> SQL? That probably makes me a n00b. :-| If you could explain I'd
> appreciate it :-)

PQexec("BEGIN");
... do some fooling with large objects ...
PQexec("COMMIT");

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Premil Agarwal 2008-06-13 17:48:45 GenGUID (AutoNumber) in postgres
Previous Message Edward Amsden 2008-06-11 02:14:14 Re: pqlib large object error