Re: Objects without schema

From: Joby John <jobyjc(at)gmail(dot)com>
To: ian(dot)barwick(at)2ndquadrant(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org, noreply(at)postgresql(dot)org
Subject: Re: Objects without schema
Date: 2018-11-30 21:14:16
Message-ID: CAAHsARk1tc5C=95x_HkpJZCddjDSQZNSx3K_F6skukaSiPKPzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Ok. Thank you for the clarification.

On Fri, 30 Nov 2018 at 01:44, Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
wrote:

> On 11/30/2018 02:27 AM, PG Doc comments form wrote:
> > The following documentation comment has been logged on the website:
> >
> > Page: https://www.postgresql.org/docs/9.5/ddl-schemas.html
> > Description:
> >
> > In the last section of the document it says 'If you need to work with
> those
> > systems, then maximum portability would be achieved by not using schemas
> at
> > all.'.
> > But how do we achieve this? If I am not mistaken, all objects(like
> tables)
> > created in the database need to be created under one schema.
>
> Correct, in that every object has to have a schema, by default the "public"
> schema.
>
> I suspect what this is trying to say is that you should keep all objects
> under
> one schema, and not explicitly reference that schema; that way queries and
> DDL
> would be more portable.
>
>
> Regards
>
> Ian Barwick
>
> --
> Ian Barwick http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2018-11-30 22:36:31 Re: First SVG graphic
Previous Message Jürgen Purtz 2018-11-30 17:04:06 Re: First SVG graphic