Re: Unique values on multiple tables - Mailing list pgsql-general

From Emre Hasegeli
Subject Re: Unique values on multiple tables
Date
Msg-id CAE2gYzwREik_SQMKtALg+tAT=BXQNvvPfiPt4RQMwGNc8OmT1w@mail.gmail.com
Whole thread Raw
In response to Re: Unique values on multiple tables  ("Sterpu Victor" <victor@caido.ro>)
Responses Re: Unique values on multiple tables  (Jehan-Guillaume de Rorthais <ioguix@free.fr>)
List pgsql-general
> Could I use lock tables to fix this? Is postgres automaticaly locking a
> table while running a trigger on that table?

You can use LOCK TABLE. See the documentation:

http://www.postgresql.org/docs/current/static/explicit-locking.html


pgsql-general by date:

Previous
From: "Sterpu Victor"
Date:
Subject: Re: Unique values on multiple tables
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: Unique values on multiple tables