Re: Begin block
"Hajek, Nick" <[email protected]> Wed, 01 Jul 2009 13:02:02 -0500
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <AFD16ED07E37C64D963DA24840AA31F2063B8AD7@EVSCO01.na.vishayint.com> |
> I'm very much a Postgres PHP novice. I have a number of > queries that need to be run as a single transaction. One set > of those will only be run some of the time, but other times > will need to be imbedded in another block. Can I imbed a > begin/commit inside another begin/commit? > Nested transactions are not allowed in Postgresql you must use savepoints. Nick -- Sent via pgsql-php mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-php