Skip to content
Snippets Groups Projects
Commit fa352d66 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Make pg_relation_size() and friends return NULL if the object doesn't exist.

That avoids errors when the functions are used in queries like "SELECT
pg_relation_size(oid) FROM pg_class", and a table is dropped concurrently.

Phil Sorber
parent 6f6b46c9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment