why pg_size_pretty is volatile?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: why pg_size_pretty is volatile?
Date: 2016-01-25 20:35:33
Message-ID: CAFj8pRDkRQPEC2pmZpLTxPhZk=_rxq-At51sXvnntWQXubSfUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

Vitaly Burovoy pointed on bug in my patch - a pg_size_bytes was VOLATILE
function. It is copy/paste bug - I used pg_size_pretty definition, so the
question is: why pg_size_pretty is volatile? It should be immutable too.

Regards

Pavel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2016-01-25 21:18:28 Re: 2016-01 Commitfest
Previous Message Robert Haas 2016-01-25 20:22:36 Re: [POC] FETCH limited by bytes.