Re: WIN32_CONSOLE usage

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, <christoph(dot)dalitz(at)hs-niederrhein(dot)de>
Subject: Re: WIN32_CONSOLE usage
Date: 2003-09-07 16:29:42
Message-ID: Pine.LNX.4.44.0309071827430.1172-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers-win32 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Peter Eisentraut 2003-09-07 16:31:02 Re: [PATCHES] MinGW patch
Previous Message Bruce Momjian 2003-09-07 16:21:41 WIN32_CONSOLE usage

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Peter Eisentraut 2003-09-07 16:31:02 Re: [PATCHES] MinGW patch
Previous Message Bruce Momjian 2003-09-07 16:21:41 WIN32_CONSOLE usage

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-09-07 16:31:02 Re: [PATCHES] MinGW patch
Previous Message Bruce Momjian 2003-09-07 16:25:12 Re: [HACKERS] Index creation takes for ever