Thread

  1. Problem compiling guc-file.l in current CVS sources.

    Billy G. Allie <bill.allie@mug.org> — 2000-06-01T16:01:28Z

    The definition for "ProcessConfigFile()" in guc-file.l does not match the
    prototype in guc.h.  The following patch corrects that.
    
    --------------------------8< CUT HERE >8--------------------------------
    *** src/backend/utils/misc/guc-file.l.orig	Wed May 31 16:46:43 2000
    --- src/backend/utils/misc/guc-file.l	Wed May 31 16:47:08 2000
    ***************
    *** 124,130 ****
       * values will be changed.
       */
      void
    ! ProcessConfigFile(unsigned int context)
      {
      	int token, parse_state;
      	char *opt_name, *opt_value;
    --- 124,130 ----
       * values will be changed.
       */
      void
    ! ProcessConfigFile(GucContext context)
      {
      	int token, parse_state;
      	char *opt_name, *opt_value;
    --------------------------8< CUT HERE >8--------------------------------
    
    
  2. Re: Problem compiling guc-file.l in current CVS sources.

    Bruce Momjian <pgman@candle.pha.pa.us> — 2000-06-01T16:46:37Z

    Applied.
    
    > The definition for "ProcessConfigFile()" in guc-file.l does not match the
    > prototype in guc.h.  The following patch corrects that.
    > 
    > --------------------------8< CUT HERE >8--------------------------------
    > *** src/backend/utils/misc/guc-file.l.orig	Wed May 31 16:46:43 2000
    > --- src/backend/utils/misc/guc-file.l	Wed May 31 16:47:08 2000
    > ***************
    > *** 124,130 ****
    >    * values will be changed.
    >    */
    >   void
    > ! ProcessConfigFile(unsigned int context)
    >   {
    >   	int token, parse_state;
    >   	char *opt_name, *opt_value;
    > --- 124,130 ----
    >    * values will be changed.
    >    */
    >   void
    > ! ProcessConfigFile(GucContext context)
    >   {
    >   	int token, parse_state;
    >   	char *opt_name, *opt_value;
    > --------------------------8< CUT HERE >8--------------------------------
    > 
    
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      pgman@candle.pha.pa.us               |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026