aggregate over tables in different schema

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема aggregate over tables in different schema
Дата
Msg-id 20100110023015.3e8f6c07@dawn.webthatworks.it
обсуждение исходный текст
Ответы R: aggregate over tables in different schema  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Список pgsql-general
I've tables in different schemas all with the same name and
structure.
I'd like to compute an aggregate on the union of those tables.
I don't know the schemas in advance.
The list of the schema will be built selecting all the schemas that
contain a table with that name.

Other than building dynamically the statement as a list of union or
building up a view is there any other way?

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: dynamic insert in plpgsql
Следующее
От: Amy Smith
Дата:
Сообщение: postgres