pgsql: Fix volatility marking of pg_size_pretty function - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Fix volatility marking of pg_size_pretty function
Date
Msg-id E1aOFcc-0002ZF-Ov@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix volatility marking of pg_size_pretty function

pg_size_pretty function should be marked immutable rather than volatile
because it always returns the same result given the same argument.

Pavel Stehule

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e09507a272e32bf203a51cc3cbb4d34028cba331

Modified Files
--------------
src/include/catalog/catversion.h |    2 +-
src/include/catalog/pg_proc.h    |    4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: pgbench: improve multi-script support
Next
From: Robert Haas
Date:
Subject: pgsql: Fix cross-version pg_dump for aggregate combine functions.