Listing Schemas - Revisited - Mailing list pgsql-novice

From Chris Campbell
Subject Listing Schemas - Revisited
Date
Msg-id 453A24085F801842AEA8D0B6B269065D2FECF166C8@HDMC.cds.local
Whole thread Raw
Responses Re: Listing Schemas - Revisited  (Josh Kupershmidt <schmiddy@gmail.com>)
List pgsql-novice

Hi, a while back I saw a thread about how to list schemas.  The solution presented was:

Select * FROM pg_namespace

 

That’s great except the results include non schema data and no real way (that I can tell) to differentiate the actual schemas from the other data.  In addition, I need to include the schema comments.  So to summarize my particular need:  I need to issue a select statement that returns “Schema Name” and “Comments” for the given database.

 

Thanks,

 

Chris Campbell

Cascade Data Solutions, Inc.

ccampbell@CascadeDS.com

 

pgsql-novice by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: How to remove quotes from COPY TO result?
Next
From: Mladen Gogala
Date:
Subject: Installation problem (RH5, x86-64, Postgresql 8.4.4)