Re: SYSTEM_USER reserved word implementation
От
Joe Conway
Тема
Re: SYSTEM_USER reserved word implementation
Дата
Msg-id
8dd72a01-a76b-8ebf-d9e7-f7d21dab0425@joeconway.com
Ответ на
Re: SYSTEM_USER reserved word implementation (Tom Lane)
Список
Дерево обсуждения
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 12:28, Tom Lane wrote: > Joe Conway writes: >> On 6/22/22 11:52, Tom Lane wrote: >>> I think a case could be made for ONLY returning non-null when authn_id >>> represents some externally-verified identifier (OS user ID gotten via >>> peer identification, Kerberos principal, etc). > >> But -1 on that. > >> I think any time we have a non-null authn_id we should expose it. Are >> there examples of cases when we have authn_id but for some reason don't >> trust the value of it? > > I'm more concerned about whether we have a consistent story about what > SYSTEM_USER means (another way of saying "what type is it"). If it's > just the same as SESSION_USER it doesn't seem like we've added much. > > Maybe, instead of just being the raw user identifier, it should be > something like "auth_method:user_identifier" so that one can tell > what the identifier actually is and how it was verified. Oh, that's an interesting thought -- I like that. -- Joe Conway RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления