Re: [HACKERS] funcapi.h:69: syntax error before `uint' - Mailing list pgsql-patches

From Joe Conway
Subject Re: [HACKERS] funcapi.h:69: syntax error before `uint'
Date
Msg-id 3D13B413.1040102@joeconway.com
Whole thread Raw
Responses Re: [HACKERS] funcapi.h:69: syntax error before `uint'
List pgsql-patches
Rod Taylor wrote:
> bash-2.05a$ make install > /dev/null
> In file included from tupdesc.c:22:
> ../../../../src/include/funcapi.h:69: syntax error before `uint'
>
>
> Dropping the u works fine.
>

Sorry, that should have been uint32. Here is a patch.

Joe


Index: src/include/funcapi.h
===================================================================
RCS file: /opt/src/cvs/pgsql/src/include/funcapi.h,v
retrieving revision 1.1
diff -c -r1.1 funcapi.h
*** src/include/funcapi.h    20 Jun 2002 20:39:04 -0000    1.1
--- src/include/funcapi.h    21 Jun 2002 23:04:00 -0000
***************
*** 66,75 ****
  typedef struct
  {
      /* Number of times we've been called before */
!     uint            call_cntr;

      /* Maximum number of calls */
!     uint            max_calls;

      /* pointer to result slot */
      TupleTableSlot *slot;
--- 66,75 ----
  typedef struct
  {
      /* Number of times we've been called before */
!     uint32            call_cntr;

      /* Maximum number of calls */
!     uint32            max_calls;

      /* pointer to result slot */
      TupleTableSlot *slot;

pgsql-patches by date:

Previous
From: Ron Snyder
Date:
Subject: Re: script to check consistency between guc.h and postg
Next
From: "Dave Page"
Date:
Subject: ODBC Patch to prevent setting of KSQO on 7.3+ servers