Re: IMPORT FOREIGN SCHEMA statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: IMPORT FOREIGN SCHEMA statement
Дата
Msg-id 13743.1404949020@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: IMPORT FOREIGN SCHEMA statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Another thing ...

The SQL-MED standard says that "IMPORT FOREIGN SCHEMA ... LIMIT TO (a,b,c)"
should throw an error if not all of a,b,c exist as tables in the remote
server.  It's rather sloppily worded, though, such that it's not clear
whether an error is also expected for "EXCEPT (a,b,c)" when not all of
those names exist.  It seems to me that the whole thing is badly thought
out and it would be better not to complain for nonexistent names in either
type of list.  The use of "LIMIT" seems to me to imply that the list is
a filter, not an exact set of names that must be present.

Comments?
        regards, tom lane



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Minmax indexes
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: things I learned from working on memory allocation