"ir. F.T.M. van Vugt bc." <ftm.van.vugt@foxi.nl> writes:
> May I ask why you don't want to go with something like:
> #define DESCR(x) typedef int postgresql_foo_bar
Because it doesn't work.
$ cat z.c
typedef int postgresql_foo_bar;
typedef int postgresql_foo_bar;
typedef int postgresql_foo_bar;
$ gcc -c z.c
z.c:2: redefinition of `postgresql_foo_bar'
z.c:1: `postgresql_foo_bar' previously declared here
z.c:3: redefinition of `postgresql_foo_bar'
z.c:2: `postgresql_foo_bar' previously declared here
regards, tom lane