Re: knowing which table/schema is going to be chosen

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: knowing which table/schema is going to be chosen
Date: 2009-11-12 15:00:29
Message-ID: 24211.1258038029@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
> BTW I think I've spotted an error in the docs:
> http://www.postgresql.org/docs/8.3/interactive/ddl-schemas.html
> http://www.postgresql.org/docs/8.4/interactive/ddl-schemas.html

> 5.7.2. The Public Schema
> In the previous sections we created tables without specifying any
> schema names. By default, such tables (and other objects) are
> automatically put into a schema named "public". Every new database
> contains such a schema. Thus, the following are equivalent: ...

"By default" means "assuming you're using the default search_path".
However saying that here, where we haven't explained search_path yet,
wouldn't be an improvement IMO.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-11-12 15:20:33 Re: What is the simpliest text search configuration?
Previous Message Richard Huxton 2009-11-12 14:58:54 Re: DB Restart