Skip site navigation (1) Skip section navigation (2)

Re: Fix for /dev/tty on Win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fix for /dev/tty on Win32
Date: 2006-03-05 05:31:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Bruce Momjian wrote:
> I found a better solution to the /dev/tty on Win32.  I used 'con' which
> works fine on Win32 except using the Msys 1.0.10 console, but it is
> probably the best solution.  Can someone test if newer Msys consoles
> work with this?
> Added DEVTTY macro for simplicity.
> Applied to 8.0.X, 8.1.X, and HEAD.

I am attaching a new applied patch that reverts "msys" so it doesn't use
'con'.  This means we now actually prompt from the terminal on Win32
(except for msys consoles).

  Bruce Momjian
  SRA OSS, Inc.

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-patches by date

Next:From: Pavel StehuleDate: 2006-03-05 08:25:49
Subject: Re: INS/UPD/DEL RETURNING for 8.2
Previous:From: Bruce MomjianDate: 2006-03-05 05:07:15
Subject: Re: TODO-Item: include for guc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group