| От | Tom Lane |
|---|---|
| Тема | Re: explain (internal feature) |
| Дата | |
| Msg-id | 2667.1047358469@sss.pgh.pa.us обсуждение |
| Ответ на | Re: explain (internal feature) (Josh Berkus <josh@agliodbs.com>) |
| Список | pgsql-sql |
Josh Berkus <josh@agliodbs.com> writes:
>> db=#explain vacuum;
>> to return:
>> NOTICE: "vacuum" is an internal postgresql feature.
>> instead of:
>> ERROR: parser: parse error at or near "vacuum" at character 9
> No, it would not.
Actually, it's a fair question considering that the 7.3 man page for
EXPLAIN says you can explain "any query". But CVS-tip documentation
says that EXPLAIN can explain
Any SELECT, INSERT, UPDATE, DELETE, EXECUTE, or DECLARE CURSOR query.
which I think is sufficient description. I'm not really eager to
enlarge the parser enough to accept EXPLAIN <any SQL command> when
it's only gonna fail anyway...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера