Re: strange permission error

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: strange permission error
Дата
Msg-id 5069588D.3050502@hogranch.com
обсуждение исходный текст
Ответ на Re: strange permission error  (Mr Dash Four <mr.dash.four@googlemail.com>)
Ответы Re: strange permission error  (Mr Dash Four <mr.dash.four@googlemail.com>)
Список pgsql-general
On 10/01/12 1:20 AM, Mr Dash Four wrote:
>> FWIW, it's probably the "'user: ' || u_name" expressions that result
>> in this specific failure.
> I found what is the cause of this - I had to add an explicit cast on
> all text expressions, like "user: "::text as well as u_name::text.
> That way the problem goes away, so it should.

that doesn't make any sense at all.

'user: '   *is* text by default.    I didn't notice you displaying your
table definitions, but assuming u_name is TExT or VARCHAR(...)   it
should have worked without any explicit casts

if you broke the permissions on the pg_catalog so badly that the SQL
planner can't look up the data types of the fields of your own tables,
well, thats just wrong.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



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

Предыдущее
От: "Carrington, Matthew (Produban)"
Дата:
Сообщение: Re: pg_upgrade: out of memory
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: opened connection