Re: really novice with Postgres ! - Mailing list pgsql-novice

From Kevin Grittner
Subject Re: really novice with Postgres !
Date
Msg-id 1375552423.12957.YahooMailNeo@web162906.mail.bf1.yahoo.com
Whole thread Raw
In response to really novice with Postgres !  (Jean MAURICE <mauricejea@numericable.fr>)
Responses Re: really novice with Postgres !
List pgsql-novice
Jean MAURICE <mauricejea@numericable.fr> wrote:

> I can check if the database is present, if a table is present,
> ... but how can I check if a schema is present (via ODBC; I can
> see it in pgadmin3 !) ?

See pg_catalog.pg_namespace or information_schema.schemata.

A SQL "schema" object is often called a "namespace".

BTW, a subject line which is related to the question is a good idea
-- you might have used "What system table or view for schemas?" or
similar.  Given the volume of posts to these lists, many people
scan the list of subject lines and pick only some to read.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-novice by date:

Previous
From: Jean MAURICE
Date:
Subject: really novice with Postgres !
Next
From: Jean MAURICE
Date:
Subject: Re: really novice with Postgres !