Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: mina(at)naguib(dot)ca
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading
Date: 2015-08-20 18:11:00
Message-ID: CAMkU=1xMdZeAm6GncVbEYs+=gicSLd+BYdZ7-U25KQ6p5q96dA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 20, 2015 at 10:51 AM, <mina(at)naguib(dot)ca> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 13583
> Logged by: Mina Naguib
> Email address: mina(at)naguib(dot)ca
> PostgreSQL version: 9.5alpha2
> Operating system: N/A
> Description:
>
> This section of the documentation states:
>
> "... we created tables without specifying any schema ... are automatically
> put into a schema named "public" ..."
>
> This is not true. At least from my tests, the search_path is taken into
> account.
>
> My search_path is set to "$user",public, and therefore a barebones "create
> table foo();" creates the table foo in the "mina" schema, not the "public"
> schema.
>

By default, there is no schema named "mina". That part of the
documentation is describing the behavior under this default condition. The
next section goes on to explain what happens when you have created a schema
that matches your user name.

Cheers,

Jeff

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message John McKown 2015-08-20 18:14:49 Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading
Previous Message mina 2015-08-20 17:51:49 BUG #13583: Documentation "5.8.2. The Public Schema" misleading