Re: BUG #18038: Aliases removed from view definitions

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #18038: Aliases removed from view definitions
Дата
Msg-id 3b7f2fc7fe1364c6dddcdcb7458235047609b61c.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: BUG #18038: Aliases removed from view definitions  (Asier Lostalé <asier.lostale@openbravo.com>)
Список pgsql-bugs
On Fri, 2023-07-28 at 07:33 +0200, Asier Lostalé wrote:
> Is there any way to get the original sql text used to create the view?

PostgreSQL does not retain that information.

Perhaps you could use comments:

  COMMENT ON VIEW whatever IS 'source code';

Yours,
Laurenz Albe



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #18038: Aliases removed from view definitions
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Question about double table scans for a table