Skip site navigation (1) Skip section navigation (2)

Re: check problem

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Luis Silva <lfs12(at)hotmail(dot)com>
Cc: mike(at)fuhr(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: check problem
Date: 2006-02-24 00:52:32
Message-ID: 20060224005232.GA19136@wolff.to (view raw or flat)
Thread:
Lists: pgsql-novice
On Thu, Feb 23, 2006 at 23:52:31 +0000,
  Luis Silva <lfs12(at)hotmail(dot)com> wrote:
> 
> tks for answering.
> Identity is the private key from the table. using your examples you could 
> have :
> 1) ident1,1,'aaaa'
> 2) ident2,1,'aaaa'
> 3) ident3,2,'aaaa'
> 4) ident4,3,'bbbb'
> 
> but not
> 
> 5)identi5,1,'bbbb'
> 
> -->same implicit_group for different privates.
> is it possible? tks again

The above table should only have the ident and the group number. The group
number should have a foreign key reference to another table of which the
group number is the primary key and another column for private.
This will allow only one private for each group number.

In response to

Responses

pgsql-novice by date

Next:From: Arnaud LesauvageDate: 2006-02-24 08:59:20
Subject: View running Processes ?
Previous:From: Luis SilvaDate: 2006-02-23 23:52:31
Subject: Re: check problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group