"Carmen Wai" <wai_carmen(at)hotmail(dot)com> writes:> How can I identify which directory is representing the corresponding > database?
"SELECT oid, datname FROM pg_database" will tell you.
See also the contrib/oid2name utility.
regards, tom lane