By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,779 Members | 1,275 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,779 IT Pros & Developers. It's quick & easy.

Transaction question

P: n/a

Hi, I have a question about transactions.

I am developing a Postgresql client.

If I start a transaction in a Postgresql client code, and in this
process a trigger is executed. Are all the processes within the trigger
in the transaction too?

Thank you

P.D. Sorry for my English.
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 11 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Fredy Ramirez wrote:

Hi, I have a question about transactions.

I am developing a Postgresql client.

If I start a transaction in a Postgresql client code, and in this
process a trigger is executed. Are all the processes within the trigger
in the transaction too?


Yes, the trigger is in the same transaction as the statement that
triggered it.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 11 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.