pgsql: Fix volatility marking of pg_size_pretty function

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix volatility marking of pg_size_pretty function
Date: 2016-01-27 02:14:14
Message-ID: E1aOFcc-0002ZF-Ov@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-01-28 02:48:44 pgsql: Fix cross-version pg_dump for aggregate combine functions.
Previous Message Alvaro Herrera 2016-01-27 01:56:20 pgsql: pgbench: improve multi-script support