On 02/20/2016 02:32 AM, Vik Fearing wrote:
> On 02/20/2016 11:17 AM, Dean Rasheed wrote:
>> On 20 February 2016 at 10:12, Michael Paquier
>> wrote:
>>> Happy first commit.
>>
>> Arg. Not so much.
>>
>> Looks like I broke something -- looking into it now :-(
>
> Happy first commit anyway!
>
+1
2016-02-20 11:07 GMT+01:00 Dean Rasheed :
> Add pg_size_bytes() to parse human-readable size strings.
>
> This will parse strings in the format produced by pg_size_pretty() and
> return sizes in bytes. This allows queries to be written with clauses
> like "pg_total_relation_size(oid) > pg_size_byt
On 20 February 2016 at 10:33, Michael Paquier wrote:
> On Sat, Feb 20, 2016 at 7:17 PM, Dean Rasheed
> wrote:
>> On 20 February 2016 at 10:12, Michael Paquier
>> wrote:
>>> Happy first commit.
>>
>> Arg. Not so much.
>>
>> Looks like I broke something -- looking into it now :-(
>
> The terabyt
On Sat, Feb 20, 2016 at 7:17 PM, Dean Rasheed wrote:
> On 20 February 2016 at 10:12, Michael Paquier
> wrote:
>> Happy first commit.
>
> Arg. Not so much.
>
> Looks like I broke something -- looking into it now :-(
The terabyte conversion is at fault:
Expected:
! -1tb |-1099511627776
On 02/20/2016 11:17 AM, Dean Rasheed wrote:
> On 20 February 2016 at 10:12, Michael Paquier
> wrote:
>> Happy first commit.
>
> Arg. Not so much.
>
> Looks like I broke something -- looking into it now :-(
Happy first commit anyway!
--
Vik Fearing +33
On 20 February 2016 at 10:12, Michael Paquier wrote:
> Happy first commit.
Arg. Not so much.
Looks like I broke something -- looking into it now :-(
Regards,
Dean
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.post
On Sat, Feb 20, 2016 at 7:12 PM, Michael Paquier
wrote:
> On Sat, Feb 20, 2016 at 7:07 PM, Dean Rasheed
> wrote:
>> Add pg_size_bytes() to parse human-readable size strings.
>>
>> This will parse strings in the format produced by pg_size_pretty() and
>> return sizes in bytes. This allows queries
On Sat, Feb 20, 2016 at 7:07 PM, Dean Rasheed wrote:
> Add pg_size_bytes() to parse human-readable size strings.
>
> This will parse strings in the format produced by pg_size_pretty() and
> return sizes in bytes. This allows queries to be written with clauses
> like "pg_total_relation_size(oid) >
Add pg_size_bytes() to parse human-readable size strings.
This will parse strings in the format produced by pg_size_pretty() and
return sizes in bytes. This allows queries to be written with clauses
like "pg_total_relation_size(oid) > pg_size_bytes('10 GB')".
Author: Pavel Stehule with various im