Re: getpid() function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: getpid() function
Дата
Msg-id 26897.1028262205@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: getpid() function  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I can rename backend_pid if people want.   I just made it consistent
> with the other functions in that docs area.  Comments?

I'd go for pg_backend_pid, I think.  It's not an SQL standard function
and certainly never will be, so some sort of prefix seems appropriate.

Perhaps a more relevant question is why are we cluttering the namespace
with any such function at all?  What's the use case for it?  We've
gotten along fine without one so far, and I don't really think that we
*ought* to be exposing random bits of internal implementation details
at the SQL level.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cvs checkout pgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why is MySQL more chosen over PostgreSQL?