Re: custom function for converting human readable sizes to bytes

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: custom function for converting human readable sizes to bytes
Дата
Msg-id 5652233F.30206@BlueTreble.com
обсуждение исходный текст
Ответ на Re: custom function for converting human readable sizes to bytes  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: custom function for converting human readable sizes to bytes
Список pgsql-hackers
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...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: count_nulls(VARIADIC "any")
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: count_nulls(VARIADIC "any")