Re: lock_timeout GUC patch

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: lock_timeout GUC patch
Дата
Msg-id 603c8f071001200742i112a1abx4d1aad831f0ed7a2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: lock_timeout GUC patch  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: lock_timeout GUC patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2010/1/20 Boszormenyi Zoltan <zb@cybertec.at>:
> Attached with the proposed modification to lift the portability concerns.
> Fixed the missing check for get_rel_name() and one typo ("transation")
> Introduced checks for semtimedop() and sem_timedwait() in configure.in
> and USE_LOCK_TIMEOUT in port.h depending on
> HAVE_DECL_SEMTIMEDOP || HAVE_DECL_SEM_TIMEDWAIT || WIN32
> Introduced assign_lock_timeout() GUC validator function that allows
> setting the value only from the wired-in-default (0) or from SET statements.
>
> Comments?

I think that it is a very bad idea to implement this feature in a way
that is not 100% portable.

...Robert


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

Предыдущее
От: pg@thetdh.com
Дата:
Сообщение: Re: Bloom filters bloom filters bloom filters
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lock_timeout GUC patch