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

Autocommit to off

P: n/a

I have installed postgres 7.4, and I see that it's not possible to do
"alter database ... set autocommit = off"

In the documentation, I found:

Note: The autocommit-on mode is PostgreSQL's traditional behavior, but
autocommit-off is closer to the SQL spec. If you prefer autocommit-off,
you may wish to set it in your .psqlrc file.

My questions are:

- Where I must look for the file .psqlrc? I must create it in a special
- What format must have this file?
- If I set this file, Do the applications (including ecpg) connect to
the database with autocommit = off????

Thanks for your responses.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.