pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Teju Jakkidi vlogs <teja.jakkidi05@gmail.com>
Cc: Holger Jakobs <holger@jakobs.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Duplicate data even with primary keys enabled
Date: Fri, 28 Oct 2022 14:27:29 -0600
Message-ID: <032E52B8-00C2-431D-BBAF-DCFCCEA817D2@elevated-dev.com> (raw)
In-Reply-To: <CAKA2XvaFawqTiRtnYKEz84x4A9rDcY2vDCY2SbkS3e2cNKxLng@mail.gmail.com>
References: <CAAo1mbnEV6QxHwnV6r2EUMXjb_Fz98+8eO6ZRU7eux4FTuF0YA@mail.gmail.com>
	<59B1180A-4A4B-4A1A-B50A-C9D9B41AA67D@gmail.com>
	<74e777cb-c332-3db7-7c4a-784d408227d6@jakobs.com>
	<CAKA2XvaFawqTiRtnYKEz84x4A9rDcY2vDCY2SbkS3e2cNKxLng@mail.gmail.com>

> On Oct 28, 2022, at 2:15 PM, Teju Jakkidi vlogs <teja.jakkidi05@gmail.com> wrote:
> 
> Also, the values that we are seeing is as below:
> 
> COL1	COL2	COL3	COL4	COL5	COL6
> 1	3456	76542	5	ABC	1234
> 1	3456	76542	5	ABC	1234
> 2	9872	89765	0	FGT	1234
> 3	6547	78659	7	JHL	8790
> 
> We already defined COL1, COL2, COL3 as primary keys, but still as you see above in the table output, the first 2 rows has exactly same combination for those 3 rows.

What query are you running?






view thread (26+ messages)  latest in thread

Message-ID: <032E52B8-00C2-431D-BBAF-DCFCCEA817D2@elevated-dev.com>
Permalink:  ../032E52B8-00C2-431D-BBAF-DCFCCEA817D2@elevated-dev.com/
Also on:    postgresql.org/message-id/032E52B8-00C2-431D-BBAF-DCFCCEA817D2@elevated-dev.com

 · 

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-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, teja.jakkidi05@gmail.com, holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Duplicate data even with primary keys enabled
  In-Reply-To: <032E52B8-00C2-431D-BBAF-DCFCCEA817D2@elevated-dev.com>

* 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