Re: MD5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: MD5
Дата
Msg-id 18763.957976717@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: MD5  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> We've required ANSI-style prototypes all along.  There are some other
>> ANSI features we're willing to work around the lack of, like token
>> pasting in macros ---

> You must mean this stuff: :-)

Hmm, good point.  I guess that HAVE_STRINGIZE stuff in c.h is dead code
after all, at least on the platforms people have tried Postgres on.

> I think it's fair to assume an ANSI C89 compiler in the year 2000, based
> on the fact that we don't actually seem to consciously avoid any
> constructs I know of, modulo the Autoconf safety net.

This is really a consequence of our development process: since we accept
patches from people who haven't studied the source very carefully, the
level of adherence to coding standards is pretty variable.  Portability
problems get flushed out when someone reports "it doesn't work here",
but there's no process for removing no-longer-needed portability hacks.
Looks like HAVE_STRINGIZE is in that category now...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: MD5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf && ident ...