BUG #5460: Search path not being used in function return type

Поиск
Список
Период
Сортировка
От Karl Walbrecht
Тема BUG #5460: Search path not being used in function return type
Дата
Msg-id 201005131155.o4DBtGui033586@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5460: Search path not being used in function return type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5460
Logged by:          Karl Walbrecht
Email address:      kwalbrecht@cghtech.com
PostgreSQL version: 8.4.3
Operating system:   Solaris x86 64 bit
Description:        Search path not being used in function return type
Details:

# show search_path;
   search_path
------------------
 security, public

-- This works
CREATE OR REPLACE FUNCTION sec_authorization_check_all(
    v_entity_name varchar
) RETURNS setof security.entities AS

-- This does not
CREATE OR REPLACE FUNCTION sec_authorization_check_all(
    v_entity_name varchar
) RETURNS setof entities AS

psql:./functions/sec_authorization_check_all.sql:41: ERROR:  type "entities"
does not exist

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #5447: VPATH install postgres.bki
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: BUG #5460: Search path not being used in function return type