The following bug has been logged on the website:
Bug reference: 14233
Logged by: Satya Sunkara
Email address: ssatyasrinivas(at)gmail(dot)com
PostgreSQL version: 9.2.9
Operating system: windows
Description:
when we do the backup, we do query the DB for size and name using following
select statement:
select p.datname,pg_database_size(p.datname) from pg_database p
This query is throws error:
PQresultStatus indicates failure for select
p.datname,pg_database_size(p.datname) from pg_database p. Error:ERROR:
could not stat file "base/95821/272574": Permission denied
Is there any resolution for this?