Re: [HACKERS] Two backends at the same time
От | Michael Meskes |
---|---|
Тема | Re: [HACKERS] Two backends at the same time |
Дата | |
Msg-id | 20000204204548.B1929@fam-meskes.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] Two backends at the same time (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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@Fam-Meskes.De | Use PostgreSQL!
В списке pgsql-hackers по дате отправления: