Justin Yao <justin(at)snooth(dot)com> writes:
> In PostgreSQL 7.x, I can use SQL:
> select datname, oid from pg_database
> to find out the numeric directory name under $PGDATA/base for each
> database. But it doesn't work for PostgreSQL 8.3.
It works for me ... what problem are you having?
regards, tom lane