Re: proposal (9.5) : psql unicode border line styles - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: proposal (9.5) : psql unicode border line styles
Date
Msg-id 20140911144250.GB16422@tamriel.snowman.net
Whole thread Raw
In response to Re: proposal (9.5) : psql unicode border line styles  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal (9.5) : psql unicode border line styles
List pgsql-hackers
Pavel,

* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> I removed dynamic allocation  and reduced patch size.

This is certainly better, imv, though there are a couple of minor
issues (extra semi-colons, extraneous whitespace, get_line_style was
still changed to non-const, even though it doesn't need to be now).

> What I tested a old unicode style is same as new unicode style. There
> nothing was changed .. some fields are specified in refresh_utf8format
> function

I don't particularly like this (having these fields set in
refresh_utf8format to hard-coded strings in the function), why not have
those handled the same as the rest, where the strings themselves are in
the unicode_style structure?

The rest looks pretty good.  Need to step out for a bit but I'll look at
making the above changes when I get back if I don't hear anything.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: bad estimation together with large work_mem generates terrible slow hash joins
Next
From: "Tomas Vondra"
Date:
Subject: Re: bad estimation together with large work_mem generates terrible slow hash joins