pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Robertson <stumpednomore@gmail.com>
To: pgsql-novice@postgresql.org
Subject: Re: warning about console code page on starting psql
Date: Wed, 17 Dec 2014 15:08:44 +0800
Message-ID: <54912BFC.4020408@gmail.com> (raw)
In-Reply-To: <CAKFQuwaCDcUGvoWowWh__J80KR+nS51YBRhNFu8yKPLRsNxnfQ@mail.gmail.com>
References: <54910242.3090706@gmail.com>
	<549113EA.2010007@gmail.com>
	<1418795707357-5831042.post@n5.nabble.com>
	<CAKFQuwaT55DVMResDFbvscdT5jigTAE5Z+sp6P8Zc8kgXThJCQ@mail.gmail.com>
	<CAKFQuwaCDcUGvoWowWh__J80KR+nS51YBRhNFu8yKPLRsNxnfQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-novice>


On 12/17/2014 2:15 PM, David Johnston wrote:
> Please send all replies to the list and either inline or bottom post.
>
> On Tuesday, December 16, 2014, Scott Robertson
> <stumpednomore@gmail.com <mailto:stumpednomore@gmail.com>> wrote:
>
>     Thanks David, I am starting to understand the console is what they
>     used
>     to call a dos prompt, the little black window where psql appears.
>
>
> Correct.
>  
>
>
>     As you say, the font change had no effect on the Windows command
>     prompt
>     console that I open from the Windows start menu. However, the font
>     change did persist in psql. Each time I reopen psql, it is now
>     automatically in Lucida Console font.
>
>
> Must be some memorized state being saved by Windows and the means by
> which you are launching psql.
>  
>
>
>     It seems I should be able to get to C:\> from the same (psql) console,
>     but don't know how, or how to get back to psql if I did. And don't
>     know
>     if there's any reason to.
>
>     It sounds like you're saying that I should type this command in
>     the psql
>     console each time I open it. In which case, I'd have to get to the
>     C:\>
>     in order to do it, since it's not a psql command.
>
>
> I don't know psql is launched on windows (or, specifically, how you
> are launching it) so cannot answer that particular question.  Using
> "start->run" you can type "cmd" then in the resulting console change
> the codepage before manually running "psql"
Tried this, nothing changed.
>
> Shortcut properties can be explored if indeed that is what is being
> used to launch psql.
Yes, I had a shortcut for psql in the program files start menu of
Windows, which I moved to the desktop. I don't know another way to open it.

Shortcut target is "C:\Program Files\PostgreSQL\9.4\scripts\runpsql.bat"
Start in location is "C:\Program Files\PostgreSQL\9.4\scripts"
>
> If your are in psql already what happens when you type "\q" ?
psql says "type any key to continue" and if you do, psql quits.
>
>
>     However, returning to my original post, I have already determined that
>     Windows is set to 1252 as (?) instructed by pg documentation, and is
>     still giving the same error. Is there a windows configuration file I
>     should edit or...???
>
>
> You don't change the Windows codepage - you change the console to
> match whatever Windows is using. 
>
> David J.
>


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

view thread (11+ messages)  latest in thread

Message-ID: <54912BFC.4020408@gmail.com>
Permalink:  ../54912BFC.4020408@gmail.com/
Also on:    postgresql.org/message-id/54912BFC.4020408@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: stumpednomore@gmail.com, pgsql-novice@postgresql.org
  Subject: Re: warning about console code page on starting psql
  In-Reply-To: <54912BFC.4020408@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox