Re: How to retrieve Comment text using SQL, not psql?

Поиск
Список
Период
Сортировка
Искать
От
Francisco Olarte
Тема
Re: How to retrieve Comment text using SQL, not psql?
Дата
в 17:43:35
Msg-id
CA+bJJbzxxbWbaZG0UJz=jnSrigWCAM35+pSQTRpd1pBHC=ZNiw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
How to retrieve Comment text using SQL, not psql? Bob Futrelle <bob.futrelle@gmail.com>
Re: How to retrieve Comment text using SQL, not psql? Adrian Klaver <adrian.klaver@aklaver.com>
Re: How to retrieve Comment text using SQL, not psql? Melvin Davidson <melvin6925@gmail.com>
Re: How to retrieve Comment text using SQL, not psql? Francisco Olarte <folarte@peoplecall.com>
Re: How to retrieve Comment text using SQL, not psql? Pavel Stehule <pavel.stehule@gmail.com>
Re: How to retrieve Comment text using SQL, not psql? Melvin Davidson <melvin6925@gmail.com>
Hi Bob:

On Sat, May 30, 2015 at 1:48 PM, Bob Futrelle  wrote:
> Using pgAdmin3 I've tried this and variations on it.   All are rejected.
> select COMMENT ON TABLE articlestats

pgAdmin3 is a bit complex for me, bot on vanilla psql you can use the switch:
>>>
-E
--echo-hidden

Echo the actual queries generated by \d and other backslash commands.
You can use this to study psql's internal operations. This is
equivalent to setting the variable ECHO_HIDDEN to on.
<<<
to learn how it does them, and elaborate from there, Its a nice
resource ( although I fear its queries evolve with versions, but you
can always port them touse the information_schema (
http://www.postgresql.org/docs/9.4/static/information-schema.html )
which should be a little more stable.

Francisco Olarte.

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Francisco Olarte
Дата:
FAQ