Re: Interface for pg_autovacuum

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Interface for pg_autovacuum
Дата
Msg-id 87psad156u.fsf@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Interface for pg_autovacuum  ("Jim Nasby" <jim.nasby@enterprisedb.com>)
Ответы Re: Interface for pg_autovacuum  (Richard Huxton <dev@archonet.com>)
Список pgsql-hackers
"Jim Nasby" <jim.nasby@enterprisedb.com> writes:

> How about...
>
> ALTER TABLE ...
> ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ]
> ALTER AUTOANALYZE [ THRESHOLD | SCALE ]
>
> ... or would that create a whole bunch of reserved words?

The way to predict when you're going to run into conflicts in a case like this
is to ask what happens if you have a column named "autovacuum" or
"autoanalyze"...

Sometimes the parser can look ahead to the next keyword to determine which
production to use but usually you're best off just looking for a grammatical
construct that doesn't look ambiguous even to a naive human reader.


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jim Nasby"
Дата:
Сообщение: Re: Interface for pg_autovacuum
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Interface for pg_autovacuum