Re: [GENERAL] Multiple key error .

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Szymon Lipiński <mabewlun(at)gmail(dot)com>
Cc: Brahmam Eswar <brahmam1234(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] Multiple key error .
Date: 2017-11-23 11:39:05
Message-ID: CAEzk6feENxJkkS5sWqP8cioWoZviaMKiFO2Tvm=bc05hdjsb=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 23 November 2017 at 11:37, Szymon Lipiński <mabewlun(at)gmail(dot)com> wrote:
> table can have only one primary key. And most probably you already have one.

To clarify, you can have multiple UNIQUE constraints on a table, but
only one PRIMARY.

Geoff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Durumdara 2017-11-23 12:19:25 Re: Set role dynamically from proc
Previous Message Szymon Lipiński 2017-11-23 11:37:30 Re: [GENERAL] Multiple key error .