Magnus Hagander <[EMAIL PROTECTED]> writes: > Shouldn't be too hard to do, but I keep thinking it'd be cleaner to > just not do the redefine when building libpq. It means we'd add a > define like BUILDING_LIBPQ or something to the libpq Makefile, and > exclude the redefine if set.
+1 for that general approach, but let's call the macro something like UNSAFE_STAT_OKAY. If the day ever comes that we need safestat inside libpq, or more likely that we want to exclude it from some other piece of code, it'll be clearer what to do. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers