| От | Mr Dash Four |
|---|---|
| Тема | Re: strange permission error |
| Дата | |
| Msg-id | 50695259.7060406@googlemail.com обсуждение исходный текст |
| Ответ на | Re: strange permission error (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: strange permission error
|
| Список | pgsql-general |
> You caused it yourself, then. Don't do that. (Or if you must, > it's your own responsibility to fix things when they break. But > preventing read access to pg_catalog seems pretty crippling.) > I don't want arbitrary program to have access to the system catalogue and read willy-nilly, thanks. > 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.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера