Обсуждение: Problem compiling guc-file.l in current CVS sources.

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

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

От
"Billy G. Allie"
Дата:
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--------------------------------

Re: [PATCHES] Problem compiling guc-file.l in current CVS sources.

От
Bruce Momjian
Дата:
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