Re: doc: Fix description of how the default user name is chosen

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: doc: Fix description of how the default user name is chosen
Дата
Msg-id 3591128.1657333031@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: doc: Fix description of how the default user name is chosen  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: doc: Fix description of how the default user name is chosen  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Tue, Jul  5, 2022 at 08:20:25PM -0400, Tom Lane wrote:
>> I agree this phrasing needs some work, but "resolved" doesn't seem
>> helpful, since it's not defined here or nearby.  Maybe "The default
>> database name is the specified (or defaulted) user name." ?

> I am not seeing much improvement in the proposed patch either.  I wonder
> if we should be calling this the "session" or "connection" user name. 
> When the docs say "if you do not specify a database name, it defaults to
> the database user name", there is so much "database in there that the
> meaing is unclear, and in this context, the user name is a property of
> the connection or session, not of the database.

Umm ... you could make the exact same statement with respect to the
user's operating-system login session, so I doubt that "session" or
"connection" adds any clarity.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Eliminating SPI from RI triggers - take 2
Следующее
От: Jingtang Zhang
Дата:
Сообщение: Re: Two successive tabs in test case are causing syntax error in psql