> 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@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026