Re: [HACKERS] Syntax of LOCK TABLE ...
| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] Syntax of LOCK TABLE ... |
| Дата | |
| Msg-id | 199905151826.OAA15807@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Syntax of LOCK TABLE ... (David Sauer <davids@orfinet.cz>) |
| Список | 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@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
В списке pgsql-hackers по дате отправления: