Re: lock entire database

From: Ron St-Pierre <rstpierre(at)syscor(dot)com>
To: Benjamin <benjamin(at)netyantra(dot)com>, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: lock entire database
Date: 2004-08-06 15:32:28
Message-ID: 4113A48C.1040406@syscor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Benjamin wrote:

>
> In PGSQL, is it possible to lock the entire database??!!

Not that I know of, but why would you want to anyway?

>
> This could be done with locking with individual table locking, but any
> way to lock the entire db??
> If this is the only way, how do i get the listing of the tables? thru
> '\d' ?? and then 'cut' or 'sed ' on it to get the individual table names?

Check out the docs at
http://www.postgresql.org/docs/7.4/static/app-psql.html to see the psql
commands. With the \d you can see just the tables, views, etc (eg \dt).
Ron

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Worth Bishop 2004-08-06 16:02:44 Class does not have a constructor
Previous Message Tony Reina 2004-08-06 14:27:13 Re: inserting multiple rows