Le 22 nov. 2015 21:29, "Pavel Stehule" <pavel.steh...@gmail.com> a écrit : > > > > 2015-11-22 21:19 GMT+01:00 Jim Nasby <jim.na...@bluetreble.com>: >> >> On 11/22/15 2:11 PM, Pavel Stehule wrote: >>> >>> What about pg_size(text), pg_size(value bigint, unit text) ? >> >> >> I like, though I'd make it numeric or float. pg_size(3.5, 'GB') certainly seems like a reasonable use case... > > > yes, good note. >
What about pg_size_unpretty()?