parse_datestyle_internal always return TRUE

Поиск
Список
Период
Сортировка
Искать

parse_datestyle_internal always return TRUE

От:
Yury Bokhoncovich <byg@center-f1.ru>
Дата:
Hello!

Does anybody know a reason parse_datestyle_internal always returns TRUE?

-- 
WBR, Yury Bokhoncovich, Senior System Administrator, NOC of F1 Group.
Phone: +7 (3832) 106228, ext.140, E-mail: byg@center-f1.ru.
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.



Re: parse_datestyle_internal always return TRUE

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Yury Bokhoncovich  writes:
> Does anybody know a reason parse_datestyle_internal always returns TRUE?

Ancient history.  Before GUC there were lots more routines and a lot
of control structure in variable.c; the return value of the parse/set
functions was used for something or other.  The stuff remaining in
variable.c isn't yet merged into the GUC mechanism ... but it should be.
		regards, tom lane

Re: parse_datestyle_internal always return TRUE

От:
Thomas Lockhart <thomas@fourpalms.org>
Дата:
> Does anybody know a reason parse_datestyle_internal always returns TRUE?

It does not. However, if the code has not errored out on elog() calls
beforehand, the routine does return TRUE.
                       - Thomas

FAQ