Re: Repair cosmetic damage (done by pg_indent?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Decibel!" <decibel(at)decibel(dot)org>, "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Repair cosmetic damage (done by pg_indent?)
Date: 2007-08-04 19:55:57
Message-ID: 23894.1186257357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> The scenario I was describing was having, for example, 20 fields each
> of which are char(100) and store 'x' (which are padded with 99
> spaces). So the row is 2k but the fields are highly compressible, but
> shorter than the 256 byte minimum.

To be blunt, the solution to problems like that is sending the DBA to a
re-education camp. I don't think we should invest huge amounts of
effort on something that's trivially fixed by using the correct datatype
instead of the wrong datatype.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-08-04 20:04:33 Re: Repair cosmetic damage (done by pg_indent?)
Previous Message Gregory Stark 2007-08-04 19:19:24 Re: Repair cosmetic damage (done by pg_indent?)