Re: COPY (... tab completion

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: COPY (... tab completion
Дата
Msg-id 5692FEED.2080802@gmx.net
обсуждение исходный текст
Ответ на Re: COPY (... tab completion  (Andreas Karlsson <andreas@proxel.se>)
Ответы Re: COPY (... tab completion  (Peter Eisentraut <peter_e@gmx.net>)
Re: COPY (... tab completion  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: COPY (... tab completion  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
I think this would be a useful addition.  A couple of problems:

This change in the comment doesn't make sense to me and doesn't seem to
match the code:

-    /* If we have COPY [BINARY] <sth>, complete it with "TO" or "FROM" */
+    /* If we have COPY|BINARY <sth>, complete it with "TO" or "FROM" */

The list of commands to allow as the "query" inside the parentheses is
documented to be: SELECT, VALUES, INSERT, UPDATE or DELETE; and actually
TABLE should also work.  Your list doesn't include all of those.  So
please adjust that.



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

Предыдущее
От: "Dickson S. Guedes"
Дата:
Сообщение: Apparently deprecated code in planner.c
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Copy-pasto in logical decoding docs