how to use schema with data type

Поиск
Список
Период
Сортировка
От John Fabiani
Тема how to use schema with data type
Дата
Msg-id 4FD7E2FD.9020207@jfcomputer.com
обсуждение исходный текст
Ответы Re: how to use schema with data type  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-sql
I have tried to use a user defined data type I created within a schema.  
But I could not figure it out.

CREATE OR REPLACE FUNCTION xchromasun._chromasun_totals(date)  RETURNS SETOF xchromasun.weekly_mpr AS

CREATE OR REPLACE FUNCTION xchromasun._chromasun_totals(date)  RETURNS SETOF "xchromasun.weekly_mpr" AS

I had to move the user defined data type to "public".

Could someone explain how I might get that done - that is use a schema 
data type from a function.

I'm using 8.4.x.

Johnf


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

Предыдущее
От: Wayne Cuddy
Дата:
Сообщение: Partitioned Tables
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Partitioned Tables