Postgresql - Inline comment in VIEW Sql definition

Поиск
Список
Период
Сортировка
От vikram singh chandel
Тема Postgresql - Inline comment in VIEW Sql definition
Дата
Msg-id BM1PR01MB03712480290CA7C12F0E3722CC9D0@BM1PR01MB0371.INDPRD01.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Postgresql - Inline comment in VIEW Sql definition  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice

Hello Team,

PostgreSQL does not allow to strore inline comments in view's SQL definition, because the CREATE VIEW statement is parsed, and then analyzed to see what table and other database objects are referenced, and then the analyzed parse-tree is saved.

However in our application we have designed one process which uses the tags that we mention within comments as part of CREATE VIEW definition. Things were going on good in Oracle database as it stored inline comments also. During migration we are unable to port one of our functionality which have dependency on comments in View in Postgres it didn't save the comments.

Do we have anyway to get the actual VIEW text in Postgres db.

Thanks

Vikram

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

Предыдущее
От: JORGE MALDONADO
Дата:
Сообщение: unrecognized configuration parameter "autocommit"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql - Inline comment in VIEW Sql definition