Re: Feature request: temporary schemas
От
Nick Guenther
Тема
Re: Feature request: temporary schemas
Дата
Msg-id
4de697c6-7588-41d5-8bfa-aa32a0ffa53a@email.android.com
Ответ на
Feature request: temporary schemas (cowwoc)
Список
Дерево обсуждения
Feature request: temporary schemas cowwoc <cowwoc@bbs.darktech.org>
Re: Feature request: temporary schemas Nick Guenther <nguenthe@uwaterloo.ca>
Re: Feature request: temporary schemas cowwoc <cowwoc@bbs.darktech.org>
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 cowwoc <cowwoc@bbs.darktech.org>
Re: Feature request: temporary schemas Adrian Klaver <adrian.klaver@aklaver.com>
Re: Feature request: temporary schemas cowwoc <cowwoc@bbs.darktech.org>
Re: Feature request: temporary schemas Adrian Klaver <adrian.klaver@aklaver.com>
Re: Feature request: temporary schemas cowwoc <cowwoc@bbs.darktech.org>
Re: Feature request: temporary schemas Adrian Klaver <adrian.klaver@aklaver.com>
Re: Feature request: temporary schemas Rob Sargent <robjsargent@gmail.com>
Re: Feature request: temporary schemas Pete Hollobon <pete@hollobon.com>
Re: Feature request: temporary schemas Pete Hollobon <postgres@hollobon.com>
Re: Feature request: temporary schemas cowwoc <cowwoc@bbs.darktech.org>
On September 14, 2014 5:01:54 PM EDT, cowwoc wrote: >Hi, > >I'd like to propose the ability to create temporary schemas. > >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 What if you ran a temporary database instead? You can use some combination of PGHOST, PGPORT, PGUSER and PGDATABASE to "pg_ctl start" an empty DB and then point your unit tests at it. Then you aren't in danger of wiping out your production DB either.
В списке pgsql-general по дате отправления