Re: stability of pg library usage

From: Medi Montaseri <medi(dot)montaseri(at)intransa(dot)com>
To: Markus Wagner <wagner(at)imbei(dot)uni-mainz(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: stability of pg library usage
Date: 2002-11-19 18:15:21
Message-ID: 3DDA7FB9.8070407@intransa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew V. 2002-11-19 18:20:28 Re: DECLARE CURSOR
Previous Message Brandon Craig Rhodes 2002-11-19 18:09:06 improving a badly optimized query