Обсуждение: stability of pg library usage

Поиск
Список
Период
Сортировка

stability of pg library usage

От
Markus Wagner
Дата:
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


Re: stability of pg library usage

От
Bruce Momjian
Дата:
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.

It should have worked.  Servers are able to talk to _older_ clients,
though not always newer clients.  In your case, you have a 7.1 client
talking to a 7.2 server -- that should work.  If you showed us something
of the error or the server logs, we may be able to figure out what is
happening.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073