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

From Tom Lane
Subject Re: Function structure in formatting.c
Date
Msg-id 225.1186583908@sss.pgh.pa.us
Whole thread Raw
In response to Function structure in formatting.c  ("Brendan Jurd" <direvus@gmail.com>)
Responses Re: Function structure in formatting.c  ("Brendan Jurd" <direvus@gmail.com>)
List pgsql-hackers
"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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Omar Bettin"
Date:
Subject: Hello
Next
From: Tom Lane
Date:
Subject: Re: RIP: Buildfarm member Baiji ??