Preserving the source code of views

Поиск
Список
Период
Сортировка
От Brian Crowell
Тема Preserving the source code of views
Дата
Msg-id CAAQkdDod-N6nPbCKZ12zxjmYND=8tak3cZyJN40hELEbEfcw0A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Preserving the source code of views  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Re: Preserving the source code of views  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Preserving the source code of views  (Bill Moran <wmoran@potentialtech.com>)
Re: Preserving the source code of views  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello! I'm evaluating PostgreSQL as a replacement for SQL Server in our in-house systems. I've been really impressed with it so far, and I'm eager to try it with our data sets.

I've run across one thing that would make a transfer difficult. Postgres doesn't preserve the source code for views, as far as I can tell. It parses them and then prints them its own way. We have a lot of complicated views, where both the formatting and the comments are significant. In fact, we produce some of our system documentation directly from the comments.

Is there currently a way to preserve the original source code of a view as entered in the CREATE VIEW statement?

--Brian

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

Предыдущее
От: whiplash
Дата:
Сообщение: Cast user defined type to composite type
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Preserving the source code of views