Re: [PATCHES] pg_strcasecmp in fe-connect.c

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCHES] pg_strcasecmp in fe-connect.c
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FBA7@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: [PATCHES] pg_strcasecmp in fe-connect.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] pg_strcasecmp in fe-connect.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > This patch fixes a couple of cases where we use
> strcasecmp() instead
> > of
> > pg_strcasecmp() in fe_connect.c, coming from the LDAP client pathc.
>
> Applied.  I found another instance in contrib/hstore, too.

Ah. msvc builds don't currently build /contrib, that's why I missed that
one.

> There are also some occurrences in pgbench.c, but I'm unsure
> that we need be paranoid about changing those.


If we ever want to be able to compile it on a platform that doesn't have
strcasecmp() (such as MSVC++), we would, no?

//Magnus


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

Предыдущее
От: "Nicolas Barbier"
Дата:
Сообщение: Re: Optimize ORDER BY ... LIMIT
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] Tiny plpython fix