Re: table dump function

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: table dump function
Дата
Msg-id khapmh$giv$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: table dump function  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Adrian Klaver wrote on 07.03.2013 19:18:
> Not that I know of. If you feel adventurous you could look at
> dumpTableSchema in pg_dump.c in the source to see how pg_dump does
> it.

I think a function "pg_get_tabledef()" would be very helpful.

We already have a lot of pg_get_XXXdef() functions (pg_get_viewdef, pg_get_functiondef, ...)

I would make sense to have one for tables as well.

Regards
Thomas


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

Предыдущее
От: "Little, Douglas"
Дата:
Сообщение: Re: table dump function
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: FW: statement failure