parse_datestyle_internal always return TRUE

Started by Yury Bokhoncovichalmost 24 years ago3 messages
#1Yury 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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Yury Bokhoncovich (#1)
Re: parse_datestyle_internal always return TRUE

Yury Bokhoncovich <byg@center-f1.ru> 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

#3Thomas Lockhart
thomas@fourpalms.org
In reply to: Yury Bokhoncovich (#1)
Re: parse_datestyle_internal always return TRUE

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