This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
pkey -- returns the primary key of a table
Name of field which is the primary key of the
pkey() method returns the
primary key of a table. Note that this raises an exception if the
table does not have a primary key.