| От | Tom Lane |
|---|---|
| Тема | Re: Fix command completion for CREATE TABEL ... AS |
| Дата | |
| Msg-id | 17962.1014400550@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Fix command completion for CREATE TABEL ... AS (Fernando Nasser <fnasser@redhat.com>) |
| Список | pgsql-patches |
Fernando Nasser <fnasser@redhat.com> writes:
> This patch fixes the response for a CREATE TABLE ... AS statement.
Do we really need the overhead of adding a new parse node type just
to change the command tag returned for a CREATE ... AS?
If your definition of "correct command tag" is "first word of what the
user typed", we could get that more directly and reliably with a little
bit of lexer hacking; we should not base it on the parse tree at all.
But I'm not convinced that this is necessary or appropriate.
On the other hand, maybe you've got some other goal in mind that makes
it worthwhile to have distinct parse representations for SELECT ... INTO
and CREATE ... AS. But please explain what the motivation is for
changing this.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера