Re: Fix error message for MERGE foreign tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix error message for MERGE foreign tables
Дата
Msg-id 1184053.1665758614@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix error message for MERGE foreign tables  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Fix error message for MERGE foreign tables  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
Richard Guo <guofenglinux@gmail.com> writes:
> Or maybe we can make it even earlier, when we expand an RTE for a
> partitioned table and add result tables to leaf_result_relids.

I'm not really on board with injecting command-type-specific logic into
completely unrelated places just so that we can throw an error a bit
earlier.  Alvaro's suggestion of make_modifytable seemed plausible,
not least because it avoids spending any effort when the command
couldn't be MERGE at all.

            regards, tom lane



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

Предыдущее
От: Dagfinn Ilmari Mannsåker
Дата:
Сообщение: Re: [PATCH] Improve tab completion for ALTER TABLE on identity columns
Следующее
От: Karina Litskevich
Дата:
Сообщение: Re: Error for WITH options on partitioned tables