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

Transactions to localhost

P: n/a
Will transactions do anything if I am connecting to a Unix socket on
localhost? I know that if the wire is cut between a remote host while
sending a transaction it can be rolled back, but what if lightning hits
the computer? Is it a good idea to do anyways or a waste of time?

Thanks,

Dan
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

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


P: n/a
Dan Anderson wrote:
Will transactions do anything if I am connecting to a Unix socket on
localhost? I know that if the wire is cut between a remote host while
sending a transaction it can be rolled back, but what if lightning hits
the computer? Is it a good idea to do anyways or a waste of time?


Transactions behave the same over unix domain sockets --- the
transaction will be rolled back on disconnect or crash.

--
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 8: explain analyze is your friend

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.