Re: stability of pg library usage
| От | Medi Montaseri |
|---|---|
| Тема | Re: stability of pg library usage |
| Дата | |
| Msg-id | 3DDA7FB9.8070407@intransa.com обсуждение исходный текст |
| Ответ на | stability of pg library usage (Markus Wagner <wagner@imbei.uni-mainz.de>) |
| Список | pgsql-general |
I'd say stay off of template0 and template1. Let the PG team abstract this stuff and use initdb(1), createdb(1), createuser(1) and pg_ctl(1). If at some point the PG arch change and template2 becomes the template, then your C code is protected and similar arguments.... Markus Wagner wrote: >Hi, > >we developed some software using the C-library for pg 7.1.3 and distributed it >to users who are using pg 7.2.x. There was a problem when the program tried >to open 'template1' in order to execute a 'CREATE DATABASE'-statement. The >database 'template1' could not be opened. After installing pg 7.3.1 it >worked. > >We are wondering what may have changed in the new version, and if there will >be some stability in the future, so that our software may be used with >different pg versions. > >Thanks for replies, > >Markus > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > >http://archives.postgresql.org > >
В списке pgsql-general по дате отправления: