Re: Is a SERIAL column a "black box", or not?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Is a SERIAL column a "black box", or not?
Дата
Msg-id 87vesp2mcp.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Is a SERIAL column a "black box", or not?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Is a SERIAL column a "black box", or not?
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> One argument against it is that it'd break trying to log who-did-what
> by the expedient of having a column default CURRENT_USER:
>     blame_me text default current_user

No reason there couldn't be a separate function that returns the _actual_ user
rather than the effective user. Sort of like -- well actually the unix
precedents here are more confusing than helpful.


-- 
greg



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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: InsertXLogFile in pg_resetxlog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is a SERIAL column a "black box", or not?