| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | DaVinci <bombadil(at)wanadoo(dot)es> |
| Cc: | Lista PostgreSql <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: transaction safety |
| Date: | 2001-02-12 15:22:30 |
| Message-ID: | 18343.981991350@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
DaVinci <bombadil(at)wanadoo(dot)es> writes:
> On Mon, Feb 12, 2001 at 01:08:01PM -0000, Michael Ansley wrote:
>> Typically, the insert for a person, and for all the associated addresses
>> would be done in the same transaction so that if the insert for one of the
>> addresses failed, then the whole lot would role back (perhaps a bit extreme,
>> but I think that's what you asked for ;-)
> I thought it is possible to have different transactions opened and insert
> data in same table from them. It seems my idea was fault, doesn't it?.
> In sumary: locks with inserts are for table and not for tuple. If this is
> not true, tell me details, please :)
It's not true. How did you arrive at that conclusion from what Mike
said?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fred Yankowski | 2001-02-12 15:23:05 | Re: startup Postgres on NT |
| Previous Message | Michael Ansley | 2001-02-12 15:10:49 | RE: transaction safety |