Re: [HACKERS] funcapi.h:69: syntax error before `uint'

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [HACKERS] funcapi.h:69: syntax error before `uint'
Дата
Msg-id 3D13B413.1040102@joeconway.com
обсуждение исходный текст
Ответы Re: [HACKERS] funcapi.h:69: syntax error before `uint'  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Ron Snyder
Дата:
Сообщение: Re: script to check consistency between guc.h and postg
Следующее
От: "Dave Page"
Дата:
Сообщение: ODBC Patch to prevent setting of KSQO on 7.3+ servers