Table name from directory
Started by Jason Armstrongabout 16 years ago3 messagesgeneral
How do I get the name of a database from a directory on disk (eg
$datadir/base/16494)?
--
Jason Armstrong
Re: Table name from directory
Jason Armstrong <ja@riverdrums.com> writes:
How do I get the name of a database from a directory on disk (eg
$datadir/base/16494)?
That number should match the pg_database.oid column.
regards, tom lane