Re: [HACKERS] Two backends at the same time

From: Michael Meskes <meskes(at)postgreSQL(dot)org>
To: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Two backends at the same time
Date: 2000-02-04 19:45:48
Message-ID: 20000204204548.B1929@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 04, 2000 at 10:17:53AM -0500, Tom Lane wrote:
> You mean two postmasters? Death and destruction is what will happen.
> I believe there's an interlock to prevent this mistake in current
> sources, but I don't recall if it was in 6.5.*.

I don't think there is one in 6.5.* since I was able to start two.

> As Sevo points out, setting DATESTYLE per-session is the right way to do
> this. You might find that setting environment variable PGDATESTYLE on
> the client side is a comfortable way to work --- if libpq sees that

Yes, that would be a much better way. If now my perl wasn't so rusty since I
have to set that variable in a CGI script.

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-04 20:58:57 Re: [HACKERS] Another nasty cache problem
Previous Message Douglas Ribas de Mattos 2000-02-04 18:40:06 Test