eqpg doesn't like bit fields

From: "Noble, Robert" <Robert(dot)Noble(at)PHLX(dot)com>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: eqpg doesn't like bit fields
Date: 2006-02-01 14:46:37
Message-ID: 6B0B9129813CD411BA490008C7CFC66B0C2931D4@vm-gracim-w2kp6.phlx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-02-01 14:53:06 Re: OID question
Previous Message Tom Lane 2006-02-01 14:24:11 Re: help with locked table(s)/transactions(s)