From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: John McKown <john.archie.mckown@gmail.com>
Cc: mina@naguib.ca, "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading
Date: Thu, 20 Aug 2015 17:44:06 -0400
Message-ID: <7681.1440107046@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwbwtQdPpZLmUsG5J9s0jVDqPuU0jojKkYO+oCWkBy0BOw@mail.gmail.com>
References: <20150820175149.7668.94521@wrigleys.postgresql.org>
<CAAJSdjiGGG_mrRiKGSWuhSAZ7eiFxbTWWo2ZykCriiingq3v5A@mail.gmail.com>
<CAKFQuwbwtQdPpZLmUsG5J9s0jVDqPuU0jojKkYO+oCWkBy0BOw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> So basically the key phrase in that paragraph is "by default". The reader
> is intended to take that to mean "with only the schemas created by initdb".
There are actually three assumptions underlying "by default":
1. You haven't changed the default search_path setting.
2. You haven't created a schema matching your own username.
3. You haven't removed the public schema.
The section after this one goes into these details. I don't think that
explaining them all right here would be an improvement in readability.
You have to start somewhere ...
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, john.archie.mckown@gmail.com
Subject: Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading
In-Reply-To: <7681.1440107046@sss.pgh.pa.us>
References: <20150820175149.7668.94521@wrigleys.postgresql.org> <CAAJSdjiGGG_mrRiKGSWuhSAZ7eiFxbTWWo2ZykCriiingq3v5A@mail.gmail.com> <CAKFQuwbwtQdPpZLmUsG5J9s0jVDqPuU0jojKkYO+oCWkBy0BOw@mail.gmail.com> <7681.1440107046@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox