Re: [General] Comments

Поиск
Список
Период
Сортировка
От Brian E. Pangburn
Тема Re: [General] Comments
Дата
Msg-id 94nc84$2jtr$1@news.tht.net
обсуждение исходный текст
Ответ на [General] Comments  ("Brian E. Pangburn" <bepangburn@yahoo.com>)
Список pgsql-general
With the help of Bruce Momjian and Tom Lane I was able to resolve my two
issues:

In PG 7.0.x, the following won't work because of the single apostrophe:
> test=> select *
> test-> /* doesn't work...
> test'> */
> test'> from pg_language;

It is reportedly fixed for 7.1

The following will display any column comments for "mytable"
    \d+ mytable

Brian E. Pangburn

"Brian E. Pangburn" <bepangburn@yahoo.com> wrote in message
news:94i0d5$15s6$1@news.tht.net...
> 1. Is it documented anywhere that an apostrophe / single quote is bad news
> inside of a C-style /* .... */ comment?  I just found out the hard way.
> Seems to be OK inside of the one line -- comment.
> 2. How does one view column comments created with COMMENT ON COLUMN?
>
> TIA.
> Brian E. Pangburn




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

Предыдущее
От: "Ryan Mahoney"
Дата:
Сообщение: Replication
Следующее
От: Josh Rovero
Дата:
Сообщение: Re: Wild Cards