Re: Retail DDL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Retail DDL
Дата
Msg-id 1791509.1753415611@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Retail DDL  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: Retail DDL
Список pgsql-hackers
Dilip Kumar <dilipbalaut@gmail.com> writes:
> OTOH, we can have a common function and pass object type as parameter
> i.e. select pg_get_ddl('table', 'mytable'), with this the same
> function can be extended for different object types.

And you'll work regclass/regtype/etc into that how?  AFAICS the
only way would involve fundamentally redundant typing:

    select pg_get_ddl('table', 'mytable'::regclass);

How is that better?

            regards, tom lane



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