Re: Function structure in formatting.c - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: Function structure in formatting.c
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Function structure in formatting.c  (Tom Lane <[email protected]>)
Responses Re: Function structure in formatting.c
List pgsql-hackers
On 8/9/07, Tom Lane <[email protected]> wrote:
> "Brendan Jurd" <[email protected]> writes:
> > To my mind, it would make a lot more sense (and make hacking the file
> > a lot easier) if the processing functions were split into to_char and
> > from_char variants.  I'm not sure what, if any, advantage is gleaned
> > by having these functions combined.
>
> Yeah, I never liked that approach either.  I suppose the idea was to
> keep the to- and from- code for each format code close together, but
> it blurs what's going on to a much greater extent than that's worth.

Okay, I'll see what I can do.

Incidentally, anybody know what DCH is supposed to stand for?
Throughout the code DCH is used to refer to date/time formatting and
NUM to numeric formatting.  Just curious.


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: RIP: Buildfarm member Baiji ??
Next
From: Decibel!
Date:
Subject: Re: [[email protected]: Re: [GENERAL] array_to_set functions]