Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tatsuo Ishii
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > BTW, for the problem I reported, what about checking > > IsTransactionState returns true before accessing database to find out > > conversions? > > The $64 problem here is *what do you do before you can access the database*. > Detecting whether you c

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > BTW, for the problem I reported, what about checking > IsTransactionState returns true before accessing database to find out > conversions? The $64 problem here is *what do you do before you can access the database*. Detecting whether you can access the

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tatsuo Ishii
> Hannu Krosing <[EMAIL PROTECTED]> writes: > > On Thu, 2002-07-18 at 18:57, Tom Lane wrote: > >> The problem is not just there. The real problem is that with this patch > >> installed, it is impossible to report startup errors of any kind, > >> because the client communication mechanism now depe

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Hannu Krosing
On Fri, 2002-07-19 at 03:21, Tom Lane wrote: > Hannu Krosing <[EMAIL PROTECTED]> writes: > > On Thu, 2002-07-18 at 18:57, Tom Lane wrote: > >> The problem is not just there. The real problem is that with this patch > >> installed, it is impossible to report startup errors of any kind, > >> becaus

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tom Lane
Hannu Krosing <[EMAIL PROTECTED]> writes: > On Thu, 2002-07-18 at 18:57, Tom Lane wrote: >> The problem is not just there. The real problem is that with this patch >> installed, it is impossible to report startup errors of any kind, >> because the client communication mechanism now depends on hav

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Hannu Krosing
On Thu, 2002-07-18 at 18:57, Tom Lane wrote: > Hannu Krosing <[EMAIL PROTECTED]> writes: > > Why can't we just open the listening socket _after_ the database has > > completed starting up phase ? > > The problem is not just there. The real problem is that with this patch > installed, it is impos

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tom Lane
Hannu Krosing <[EMAIL PROTECTED]> writes: > Why can't we just open the listening socket _after_ the database has > completed starting up phase ? The problem is not just there. The real problem is that with this patch installed, it is impossible to report startup errors of any kind, because the c

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Hannu Krosing
On Thu, 2002-07-18 at 06:55, Tatsuo Ishii wrote: > I have faced a problem with encoding conversion while the database is > starting up. If postmaster accepts a connection request while in the > state, it issues a fatal message "The database system is starting > up". Then the encoding conversion sy

Re: [HACKERS] preventing encoding conversion while starting up

2002-07-18 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > I have faced a problem with encoding conversion while the database is > starting up. If postmaster accepts a connection request while in the > state, it issues a fatal message "The database system is starting > up". Then the encoding conversion system tri

[HACKERS] preventing encoding conversion while starting up

2002-07-17 Thread Tatsuo Ishii
I have faced a problem with encoding conversion while the database is starting up. If postmaster accepts a connection request while in the state, it issues a fatal message "The database system is starting up". Then the encoding conversion system tries to convert the message to client encoding if n