Re: Reference with inheritance propagate data

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Yuriy Rusinov <yrusinov(at)gmail(dot)com>
Cc: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: Re: Reference with inheritance propagate data
Date: 2012-06-15 07:02:45
Message-ID: 1339743765.28986.21.camel@jdavis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2012-06-14 at 13:08 +0400, Yuriy Rusinov wrote:
> We're need common numeration for primary key for all users tables, but
> others columns may be different for tables.

Will a sequence shared between the two tables solve this problem?

http://www.postgresql.org/docs/9.1/static/sql-createsequence.html

Regards,
Jeff Davis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2012-06-15 08:31:11 Re: parsing SQLERRM ?
Previous Message Alban Hertroys 2012-06-15 07:01:48 Re: Submit query using dblink that hung the host