Re: Reducing the overhead of NUMERIC data - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reducing the overhead of NUMERIC data
Date
Msg-id 29257.1130886949@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reducing the overhead of NUMERIC data  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Reducing the overhead of NUMERIC data
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> Anybody like to work out a piece of SQL to perform data profiling and
> derive the distribution of values with trailing zeroes?

Don't forget leading zeroes.  And all-zero (we omit digits entirely in
that case).  I don't think you can claim that zero isn't a common case.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Reducing the overhead of NUMERIC data
Next
From: "Kevin Grittner"
Date:
Subject: pg_restore [archiver] file offset in dump file is too large