[HACKERS] Fwd: Have a problem with citext
От | David E. Wheeler |
---|---|
Тема | [HACKERS] Fwd: Have a problem with citext |
Дата | |
Msg-id | DF5C4EEB-F8CB-436F-A3A1-1AADB087D613@justatheory.com обсуждение исходный текст |
Ответы |
Re: [HACKERS] Fwd: Have a problem with citext
|
Список | pgsql-hackers |
Hackers,
Best,
David
Begin forwarded message:From: Sadek Touati <bilal2dellys@hotmail.com>Subject: Have a problem with citextDate: September 29, 2017 at 17:02:50 EDTDear sir,I'm using the citext datatype in my application. I have PostgresSql 9.6 installed by EnterpriseDBpsql mydatabase postgrescreate extension citext with schema myschema\c mydatabase biguserset search_path to myschema;create table tst(v citext);insert into tst values('sadek');> select strpos(v, 'd') from tst;ERROR: permission denied for function strpos> select strpos(v, 'd'::citext) from tst; (If I read the documentation correctly this should work! alas, it doesn't)ERROR: permission denied for function strpos> select strpos(v::citext, 'd'::citext) from tst;ERROR: permission denied for function strpos> select strpos(v::citext, 'd') from tst;ERROR: permission denied for function strpos> select strpos(v::citext, 'd'::citext) from tst;ERROR: permission denied for function strpos> select strpos(v::text, 'd'::text) from tst;strpos--------3(1 row)Am I missing something here?thanks in advance
В списке pgsql-hackers по дате отправления: