Thread

  1. parse_datestyle_internal always return TRUE

    Yury Bokhoncovich <byg@center-f1.ru> — 2002-03-20T09:06:15Z

    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.
    
    
    
    
  2. Re: parse_datestyle_internal always return TRUE

    Tom Lane <tgl@sss.pgh.pa.us> — 2002-03-20T14:51:42Z

    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
    
    
  3. Re: parse_datestyle_internal always return TRUE

    Thomas Lockhart <thomas@fourpalms.org> — 2002-03-20T14:54:54Z

    > 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