Re: Should rename "startup process" to something else?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Should rename "startup process" to something else?
Дата
Msg-id CA+TgmobwO+0pRTPUpASCqeoyybK7BrCoUdQCDshfdT=YDk_ysg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Should rename "startup process" to something else?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
On Wed, Nov 24, 2021 at 1:54 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> I don't object to an underscore, but it looks a bit uglier to me.
> AFAIK the main problem with uuid-ossp was that it is used as an identifier, so
> it required quoting, which won't be the case with this process name.

I agree, and for that reason I would prefer no separator, or a space.
That's what we do with other processes, and I think it's fine.

It's worth thinking too about the fact that we may want to rename
functions, adjust comments, etc. Each of those things has their own
conventions. For example consider StartupProcessMain(). If we decide
to call this the WAL replay process, I suppose that is going to become
WALReplayMain(). For sure it's not going to be come WAL-Replay-Main().
But what displays in the 'ps' status should look like what we do in
other cases.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Should rename "startup process" to something else?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Split xlog.c