Re: [HACKERS] CURRENT_USER

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] CURRENT_USER
Дата
Msg-id 34FABBF7.7C2D90AB@alumni.caltech.edu
обсуждение исходный текст
Ответ на CURRENT_USER  (sferac@bo.nettuno.it)
Список pgsql-hackers
> java=> CREATE TABLE tabella(campo VARCHAR(30) DEFAULT CURRENT_USER);
> ERROR:  DEFAULT: type mismatched
> I had this error. PostgreSQL CURRENT_USER returns a type "name",
> but SQL-Standard says that niladic builtin function CURRENT_USER returns a
> CHARACTER string representing the current authorization ID and "name" isn't
> an SQL type. I think this is a bug. What do you think about?

Yup.


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Rule plan size for views?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Last minute reminders (hope they're not too late...)