HELP: DBI and Transactions? - Mailing list pgsql-general

From Richard Trice
Subject HELP: DBI and Transactions?
Date
Msg-id 3738A09E.6A2FCA81@asc.edu
Whole thread Raw
List pgsql-general
    I have a program that I believe needs to lock down
a table for a sequence of inserts.  I do not want anyone
inserting until I am done.  Isn't this the concept of transactions?

    I am programming in perl using DBI, and I was reading
through the ref but I don't quite get it.  Anyone familiar
with this?

Here is the general layout.

Lock table

Select max num from table;

A bunch of inserts

Unlock table.

Anyone know how?  HELP PLEASE!!!!!  I would take a good reference
if you don't have the time!

Richard Trice


pgsql-general by date:

Previous
From: "Steve Lehr"
Date:
Subject:
Next
From: Carlos Peralta Ramirez
Date:
Subject: More problems with arrays !!!!!