Feature request: temporary schemas - Mailing list pgsql-general

From cowwoc
Subject Feature request: temporary schemas
Date
Msg-id 1410728514004-5819001.post@n5.nabble.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: pg_stat_replication in 9.3
Next
From: Willy-Bas Loos
Date:
Subject: Re: 2 left joins causes seqscan