Re: Transactions to localhost

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dan Anderson <dan(at)mathjunkies(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Transactions to localhost
Date: 2003-09-25 16:33:55
Message-ID: 200309251633.h8PGXt914517@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave [Hawk-Systems] 2003-09-25 16:38:07 populate table with large csv file
Previous Message Dan Anderson 2003-09-25 16:27:29 Re: career in SQL/Database administration