Return all primary key columns as guess at preferred primary keys for a PostgreSQL handle.

key_inspector_postgresql(db, tablename)

Arguments

db

database handle

tablename

character, name of table

Value

map of keys to keys

See also

describe_tables