Re: postgresql and process titles

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgresql and process titles
Дата
Msg-id 3896.1150320470@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgresql and process titles  (Greg Stark <gsstark@mit.edu>)
Ответы Re: postgresql and process titles  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Well if all we want to do is reproduce the current functionality of EXPLAIN
> ANALYZE, all you need is a single sig_atomic_t int that you store the address
> of the current node in.

Do I need to point out that sig_atomic_t can't portably be assumed to be
wider than char?

We do currently assume that TransactionId can be read/written
atomically, but (a) that's an int not a pointer, and (b) the assumption
is cruft that we really ought to get rid of.

In any case, speculating about whether we can do something useful with
atomic types ignores the main real problem the thread is about.  Anybody
remember process titles and current command strings?
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] PL/pgSQL: SELECT INTO EXACT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timezones to own config file