libpq and transactions - Mailing list pgsql-novice

From Alex du Plessis
Subject libpq and transactions
Date
Msg-id 44DC47CD.30102@telkomsa.net
Whole thread Raw
Responses Re: libpq and transactions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi list,

I wish to use libpq to create a new database using a sql statement
"CREATE DATABSE".  However, it seems this command cannot be enclosed
within a transaction.  How do I go about executing such a statement via
libpq i.e. which function should I use.  (Any information would be helpful)

Thanks

Alex

pgsql-novice by date:

Previous
From: "Jasbinder Bali"
Date:
Subject: Re: Unable to connect to PostgreSQL 8 from PGAdmin III
Next
From: Andy Chambers
Date:
Subject: Minimising disk writes