Displaying 1 result from an estimated 1 matches for "template_postgis".
2007 Oct 05
5
PostgreSQL, templates, and test databases
...nd of tests.
It is not feasible to put the PostGIS infrastructure in a YAML fixture
file or a Ruby migration (the damned thing is huge!). However,
PostgreSQL allows a template to be specified when creating a database --
so my troubles would be over if I could specify something like
"template: template_postgis" in database.yml. But that doesn''t seem to
work.
So...is there a way to specify which template the test database will be
created from in PostgreSQL? If not, what should I do?
Best,
--
Marnen Laibow-Koser
Web developer / Composer
Albany, NY, US
http://www.marnen.org
marnen AT marnen...