From: Richard Trice <tricer@asc.edu>
To: pgsql-interfaces@postgresql.org
To: pgsql-novice@postgresql.org
To: pgsql-general@postgresql.org
Subject: HELP: DBI and Transactions?
Date: Tue, 11 May 1999 16:26:54 -0500
Message-ID: <3738A09E.6A2FCA81@asc.edu> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tricer@asc.edu, pgsql-novice@postgresql.org, pgsql-general@postgresql.org
Subject: Re: HELP: DBI and Transactions?
In-Reply-To: <3738A09E.6A2FCA81@asc.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox