Generic Function

Поиск
Список
Период
Сортировка
От lucas@presserv.org
Тема Generic Function
Дата
Msg-id 20050314151555.6kp8nfclzy5cogg0@www.presserv.org
обсуждение исходный текст
Список pgsql-sql
Hi,
Can I built a generic function like:CREATE FUNCTION f (text) RETURNS TEXT as $$  return 'select * from $1'; $$
I know its impossible as writed. Also I have looked for EXECUTE procedure but it
not run the correct function.
Is there a way to construct this clause? Using plpgsql/pltcl/anything.... ???

Thanks


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

Предыдущее
От: Robert.Farrugia@go.com.mt
Дата:
Сообщение: Inserting values in arrays
Следующее
От: Timothy Smith
Дата:
Сообщение: postgresql 8.01, plpgsql