Re: Schemas and serials

From: tel medola <tel(dot)medola(at)gmail(dot)com>
To: marcelo <marcelo(dot)nicolet(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Schemas and serials
Date: 2017-07-29 19:38:03
Message-ID: CANRMYmhd=3SgA633yKSgfOZ4-Ck=9Yf30xWLaTJF6n5oXu_5_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Depends.
When you create your tables in new schema, the script was the same from
"qa"?
Sequences, tables, etc.. belong to the schema where was created.

Roberto.

Em sáb, 29 de jul de 2017 às 16:17, marcelo <marcelo(dot)nicolet(at)gmail(dot)com>
escreveu:

> Some days ago I asked regarding tables located in different schemas.
> Now, my question is
> Suppose I have two schemas (other than public): "qa" and "production".
> Initially I create all my tables in "qa". All of them have a primary key
> of type serial.
> Later, I will copy the tables definitions to production.
> It will automatically create the sequences in the new schema, starting
> at zero?
> TIA
> Marcelo
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-07-29 20:17:52 Re: Schemas and serials
Previous Message marcelo 2017-07-29 19:16:13 Schemas and serials