Re: Function structure in formatting.c
От | Brendan Jurd |
---|---|
Тема | Re: Function structure in formatting.c |
Дата | |
Msg-id | 37ed240d0708080907p587c7713l4938afeeeddb32d7@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Function structure in formatting.c (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Function structure in formatting.c
|
Список | 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 по дате отправления: