I get the following error from ecpg when it encounters a structure
containing a bit field:

../../include/ecn_types.h:317: ERROR: syntax error at or near ":"

The source it is complaining about is:

   176  typedef enum    {
   177      tifIOC = 0,
   178      tifDay = 1,
   179      tifGTX = 2,
   180      tifGTC = 3
   181  } TIF_e;
   ...
   316  typedef struct {
=> 317      TIF_e       tif         :4;
   318      boolean_t   isCoreOnly  :1;
   ...

Does PostgreSQL support C-language bit fields? I tried searching the
archives, but could not find anything helpful. 

Thanks,
Bob Noble

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to