Re: Retail DDL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Retail DDL
Дата
Msg-id 1857472.1753450511@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Retail DDL  (Álvaro Herrera <alvherre@kurilemu.de>)
Ответы Re: Retail DDL
Список pgsql-hackers
=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre@kurilemu.de> writes:
> Reproducing a table might need multiple commands.  Do you intend to
> return a single string containing multiple semicolon-separated commands,
> or are you thinking in a RETURNS SETOF where each row contains a single
> command?

In the same vein: would we expect this command to also build the
table's indexes?  What about foreign key constraints, which might
well reference tables that don't exist yet?

Once you start crawling down this rabbit-hole, you soon realize
why pg_dump is as complicated as it is.

            regards, tom lane



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