Re: SYSTEM_USER reserved word implementation

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: SYSTEM_USER reserved word implementation
Дата
Msg-id
28b4a9ef-5103-f117-99e1-99ae5a86a6e8@joeconway.com
Ответ на
Список
Дерево обсуждения
SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Tom Lane <tgl@sss.pgh.pa.us>
Re: SYSTEM_USER reserved word implementation Joe Conway <mail@joeconway.com>
Re: SYSTEM_USER reserved word implementation Tom Lane <tgl@sss.pgh.pa.us>
Re: SYSTEM_USER reserved word implementation Joe Conway <mail@joeconway.com>
Re: SYSTEM_USER reserved word implementation Tom Lane <tgl@sss.pgh.pa.us>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation Joe Conway <mail@joeconway.com>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation Tom Lane <tgl@sss.pgh.pa.us>
Re: SYSTEM_USER reserved word implementation Joe Conway <mail@joeconway.com>
Re: SYSTEM_USER reserved word implementation Tom Lane <tgl@sss.pgh.pa.us>
Re: SYSTEM_USER reserved word implementation Joe Conway <mail@joeconway.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "David G. Johnston" <david.g.johnston@gmail.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: SYSTEM_USER reserved word implementation Jacob Champion <jchampion@timescale.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: SYSTEM_USER reserved word implementation Michael Paquier <michael@paquier.xyz>
Re: SYSTEM_USER reserved word implementation "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
On 6/22/22 09:49, Tom Lane wrote:
> "Drouvot, Bertrand"  writes:
>> Please find attached a patch proposal to make use of the SYSTEM_USER so 
>> that it returns the authenticated identity (if any) (aka authn_id in the 
>> Port struct).
> 
> On what grounds do you argue that that's the appropriate meaning of
> SYSTEM_USER?


What else do you imagine it might mean?

Here is SQL Server interpretation for example:

https://docs.microsoft.com/en-us/sql/t-sql/functions/system-user-transact-sql?view=sql-server-ver16

And Oracle:
http://luna-ext.di.fc.ul.pt/oracle11g/timesten.112/e13070/ttsql257.htm#i1120532

   "SYSTEM_USER

   Returns the name of the current data store user
   as identified by the operating system."


Seems equivalent.


-- 
Joe Conway
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com


В списке pgsql-hackers по дате отправления
От: Justin Pryzby
Дата:
FAQ