Re: locks and variable substitution - Mailing list pgsql-sql

From Eric Clark
Subject Re: locks and variable substitution
Date
Msg-id 1059163033.27029.7.camel@eric
Whole thread Raw
In response to locks and variable substitution  (<gack@verizon.net>)
List pgsql-sql
On Fri, 2003-07-25 at 11:49, gack@verizon.net wrote:
> 
> lock table excl_table in exclusive mode;

That probably wont work, but this will:

EXECUTE ''LOCK TABLE ''   || quote_ident(excl_table) || '' IN EXCLUSIVE MODE'';

Eric



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [GENERAL] ERROR: DefineIndex: index function must be marked
Next
From: Elielson Fontanezi
Date:
Subject: RES: [GENERAL] ERROR: DefineIndex: index function must be marked iscachable