Search Postgresql Archives

Re: How to find not unique rows in a table?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A B wrote:
> Assuming you have a table where some rows have the same values in all
> columnes, how do you find these rows?

There is no reliable, time-independent way.
That's one reason why you have primary keys on tables.

There is the system column "ctid", but that may change any second.

Yours,
Laurenz Albe


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux