Re: identity not working with inherited table

From: Euler Taveira <euler(at)timbira(dot)com(dot)br>
To: Francisco Olarte <folarte(at)peoplecall(dot)com>
Cc: José Luis Viejo <jlviejo(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: identity not working with inherited table
Date: 2019-05-06 01:46:08
Message-ID: CAHE3wghjY7HOxVBSoy3MQAS87L-63d12REvatu8cxCTs-RRJjQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Em dom, 5 de mai de 2019 às 08:16, Francisco Olarte
<folarte(at)peoplecall(dot)com> escreveu:
>
> "If a column in the parent table is an identity column, that property
> is not inherited. A column in the child table can be declared identity
> column if desired."
>
Although, it is documented, it seems inconsistent with sequence
behavior (child table inherits sequences). Since sequences are
inherited I think identity columns (that use implicit sequences)
should be inherited as well. It seems an oversight in the current
implementation, however, I see it as a new feature.

--
Euler Taveira Timbira -
http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Farina 2019-05-06 03:37:02 Re: BUG #15745: WAL References Invalid Pages...that eventually resolves
Previous Message Euler Taveira 2019-05-06 01:16:39 Re: BUG #15791: WalSndCtl->sync_standbys_defined modified too late