Hi, I've got it, but I don't know the reason of it. In the database table the records have duplicated and I've two rows for every primary key - with different OIDs. Is there any safe method to get rid of only one of each duplicated row? Very strange however... Thank you, -- View this message in context: http://www.nabble.com/count-%28*%29-tf4440057.html#a12668226 Sent from the PostgreSQL - general mailing list archive at Nabble.com. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org/