Re: WIN32_CONSOLE usage - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: WIN32_CONSOLE usage
Date
Msg-id Pine.LNX.4.44.0309071827430.1172-100000@peter.localdomain
Whole thread Raw
In response to WIN32_CONSOLE usage  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: WIN32_CONSOLE usage  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian writes:

> Is this a valid feature?  Should I document it?

Maybe it's a valid feature, but the implementation is not valid.
Other applications also make use of the print routines (e.g., createlang),
and they cannot interactively set variables.  So I repeat: the print
routines may not access the psql settings.

I think we ought to detect the console type automatically anyway.
Certainly we don't want people to have to set this variables all the time.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Index creation takes for ever
Next
From: Peter Eisentraut
Date:
Subject: Re: MinGW patch