The missing pg_get_*def functions

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема The missing pg_get_*def functions
Дата
Msg-id CAASwCXe4DdtLCT0W8DVZ7AD-K-mOmAzNygOzEkj-wvo_NEwE7Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: The missing pg_get_*def functions  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Existing:

pg_get_constraintdef
pg_get_indexdef
pg_get_viewdef
pg_get_triggerdef
pg_get_functiondef
pg_get_ruledef

Missing:

pg_get_ts_templatedef
pg_get_ts_parserdef
pg_get_ts_configdef
pg_get_ts_dictdef
pg_get_databasedef
pg_get_namespacedef
pg_get_languagedef
pg_get_conversiondef
pg_get_castdef
pg_get_amprocdef
pg_get_operatordef
pg_get_amopdef
pg_get_opfamilydef
pg_get_opclassdef
pg_get_tabledef
pg_get_sequencedef
pg_get_typedef
pg_get_attrdef

I'm planning to implement these. Is there any reason why the remaining functions cannot be written as SQL functions instead of C? The input data to the C-functions in pg_dump.c comes from pg_catalog anyway, so I thought it would be a lot easier just to construct the definitions in SQL where you have convenient access to the pg_catalog.


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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Proposal to add --single-row to psql
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Remaining beta blockers