Temp tables and functions

Поиск
Список
Период
Сортировка
От
Тема Temp tables and functions
Дата
Msg-id 398587.1160508096610.JavaMail.root@eastrmwml06.mgt.cox.net
обсуждение исходный текст
Ответы Re: Temp tables and functions
Список pgsql-sql
Everyone,

I've written a function (language = sql) which uses a temporary table to simplify the process; however, when I go to
loadthe function I get:
 

/var/lib/pgsql$cat thm.sql | psql test
ERROR:  relation "lost_bus" does not exist

where "lost_bus" is the name of my temp table.  The function is just for a report that is run monthly, so I can create
apermanent table if necessary, but I'd rather not. 
 

Thanks in advance
Mark


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: i have table
Следующее
От: "Aaron Bono"
Дата:
Сообщение: Re: optimal insert