<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.96 2003/09/03 22:05:08 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.97 2003/09/12 02:40:09 momjian Exp $
PostgreSQL documentation
-->
</listitem>
</varlistentry>
- <varlistentry>
- <term><varname>WIN32_CONSOLE</varname></term>
- <listitem>
- <para>
- This variable is only useful when working under the Win32 command
- console. As the Win32 command console uses a different encoding than
- the rest of the Windows system. Eight-bit characters (e.g. German Umlauts)
- are corrupted. When this variable is set the command console encoding will
- be translated into ASCII encoding for input and output.
- </para>
- </listitem>
- </varlistentry>
-
</variablelist>
</refsect3>
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.30 2003/09/05 02:31:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.31 2003/09/12 02:40:09 momjian Exp $
*/
#include "postgres_fe.h"
#include "input.h"
else
s = gets_basic(prompt);
-#ifdef WIN32
- /*
- * translate DOS console character set into ANSI, needed e.g. for German
- * umlauts
- */
- if (GetVariableBool(pset.vars, "WIN32_CONSOLE"))
- OemToChar(s, s);
-#endif
-
if (useHistory && s && s[0])
{
enum histcontrol HC;
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/mbprint.c,v 1.11 2003/09/07 03:43:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/mbprint.c,v 1.12 2003/09/12 02:40:09 momjian Exp $
*/
#include "postgres_fe.h"
return mb_utf_validate(pwcs);
else
{
-#if defined(WIN32) && !defined(PGSCRIPTS)
- /*
- * translate characters to DOS console encoding, e.g. needed for
- * German umlauts
- */
- if (GetVariableBool(pset.vars, "WIN32_CONSOLE"))
- CharToOem(pwcs, pwcs);
-#endif
-
/*
* other encodings needing validation should add their own
* routines here
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.23 2003/09/07 03:43:55 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.24 2003/09/12 02:40:10 momjian Exp $
#
#-------------------------------------------------------------------------
PROGRAMS = createdb createlang createuser dropdb droplang dropuser clusterdb vacuumdb
-override CPPFLAGS := -DPGSCRIPTS -I$(top_srcdir)/src/bin/pg_dump -I$(top_srcdir)/src/bin/psql -I$(libpq_srcdir) $(CPPFLAGS)
+override CPPFLAGS := -I$(top_srcdir)/src/bin/pg_dump -I$(top_srcdir)/src/bin/psql -I$(libpq_srcdir) $(CPPFLAGS)
all: submake-libpq submake-backend $(PROGRAMS)