[GENERAL] Multiple key error .

From: Brahmam Eswar <brahmam1234(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: [GENERAL] Multiple key error .
Date: 2017-11-23 11:31:13
Message-ID: CA+wLFo1M2Lc_iLAAg2np8xQEw6gFXtMJsRpTensHVxrHQmQTRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Unable to add multiple keys to the table.

ALTER TABLE table1 ADD CONSTRAINT Table1_PK PRIMARY KEY (Col1,Col2);

ERROR: multiple primary keys for table "table1" are not allowed
SQL state: 42P16

--
Thanks & Regards,
Brahmeswara Rao J.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Szymon Lipiński 2017-11-23 11:37:30 Re: [GENERAL] Multiple key error .
Previous Message Murtuza Zabuawala 2017-11-23 09:37:56 Re: [GENERAL] Date Time data types