4

With the new IDENTITY type in Postgresql 10, I wonder if there is anything similar to ROWID in SQLite which is a pseudo-column to get the primary key.

I want to do something like:

SELECT ROWID FROM Table

in Postgresql and get the primary key.

Edit: This is not a duplicate of this question because ROWID in Oracle does not give you the primary key.

antoyo
  • 9,835
  • 3
  • 43
  • 77

0 Answers0