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

From Brendan Jurd
Subject Re: Function structure in formatting.c
Date
Msg-id 37ed240d0708080907p587c7713l4938afeeeddb32d7@mail.gmail.com
Whole thread Raw
In response to Re: Function structure in formatting.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Function structure in formatting.c  ("Brendan Jurd" <direvus@gmail.com>)
List pgsql-hackers
On 8/9/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Brendan Jurd" <direvus@gmail.com> 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: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]