Katherine Ward writes:

> A few of the identifier names used in postgres collide with WIN32 or MFC names.

Does Windows and/or MFC make any kind of statement about what kinds of
identifiers it reserves for its own use?

>       b.  GetUserName() => GetUserNameFromId()
>       c.  GetCurrentTime() => GetCurrentDateTime()

>       a.  MEM_FREE => MEM_FREE_IT in backend/utils/hash/dynahash.c
>       b.  IGNORE => IGNORE_TOK in include/utils/datetime.h & 
>backend/utils/adt/datetime.c

It might be better to add PG prefixes consistently if there are clashes.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to