pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: jack <datactrl@tpg.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: quastions about primary key
Date: Fri, 24 Jan 2003 11:04:07 +0100
Message-ID: <3E310F97.5050207@klaster.net> (raw)
References: <00c301c2c374$1e698650$1400a8c0@jac>

jack wrote:
> Is that possible to have a two columns primary key on a table with null
> value on second column?
> 
> Jack
Probably not, because (1,2,null,null) is unique for postresql.
Watch discussion on mailing list
about unique indexes (on which primary key is based) several days ago.

Regards,
Tomasz Myrta




view thread (5+ messages)  latest in thread

Message-ID: <3E310F97.5050207@klaster.net>
Permalink:  ../3E310F97.5050207@klaster.net/
Also on:    postgresql.org/message-id/3E310F97.5050207@klaster.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jasiek@klaster.net, datactrl@tpg.com.au
  Subject: Re: quastions about primary key
  In-Reply-To: <3E310F97.5050207@klaster.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox