From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | David Sauer <davids(at)orfinet(dot)cz> |
Cc: | pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] Syntax of LOCK TABLE ... |
Date: | 1999-05-15 18:26:18 |
Message-ID: | 199905151826.OAA15807@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Hello,
>
> I'am trying CVS snapshor of postgres and on web page (new features of
> postgres 6.5) is:
>
> [...]
> New LOCK TABLE IN ... MODE(Vadim)
> [...]
>
> I'am using similar statement on Oracle. But postgres doesn't accept
> keyword 'IN'.
>
> Example:
>
> => lock table t row share mode;
> LOCK TABLE
> ... this works
>
> but:
>
> => lock table t IN row share mode;
> ERROR: parser: parse error at or near "in"
> .... but this not
>
> It is mistake in grammar, or is there all OK ?
Works here:
test=> lock table pg_class IN row share mode;
LOCK TABLE
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-05-15 22:31:58 | Re: [HACKERS] v6.5 release ToDo |
Previous Message | David Sauer | 1999-05-15 12:43:07 | Syntax of LOCK TABLE ... |