Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For tables

SELECT pg_catalog.obj_description('tablename'::regclass, 'pg_class') as "Description;

Regards

Pavel Stehule

2015-05-30 13:48 GMT+02:00 Bob Futrelle <bob.futrelle@xxxxxxxxx>:
Using pgAdmin3 I've tried this and variations on it.   All are rejected.

select COMMENT ON TABLE articlestats 

No answer here,


pgAdmin3 had no problem with entering a comment:

COMMENT ON TABLE articlestats IS 'Comprehensive data for every article.'

 - Bob Futrelle



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux