Feature request: temporary schemas

Поиск
Список
Период
Сортировка
От cowwoc
Тема Feature request: temporary schemas
Дата
Msg-id 1410728514004-5819001.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: Feature request: temporary schemas  (Nick Guenther <nguenthe@uwaterloo.ca>)
Re: Feature request: temporary schemas  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Feature request: temporary schemas  (Pete Hollobon <postgres@hollobon.com>)
Re: Feature request: temporary schemas  (Pete Hollobon <pete@hollobon.com>)
Список pgsql-general
Hi,

I'd like to propose the ability to create temporary schemas.

Unlike temporary tables, this feature would enable developers to create a
temporary schema once and execute CREATE TABLE statements without the
TEMPORARY parameter.

This would facilitate running unit tests, where developers would like to run
the same creation script for unit tests and production code but do not wish
to parameterize each CREATE TABLE statement (both environments are expected
to execute identical scripts). It further enables the use of temporary
functions, something which is not possible today (apparently you can hack
this too, but there isn't an "official" way of doing so).

See http://dba.stackexchange.com/q/76494/4719 for a related discussion.

Should I move this discussion to a different mailing list or is this the
correct location?

Thanks,
Gili



--
View this message in context: http://postgresql.1045698.n5.nabble.com/Feature-request-temporary-schemas-tp5819001.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Torsten Förtsch
Дата:
Сообщение: Re: pg_stat_replication in 9.3
Следующее
От: Willy-Bas Loos
Дата:
Сообщение: Re: 2 left joins causes seqscan