Thanks a lot Craig Ringer, works, finally works! You are my new idool now!
The steps are:
- open the cmd
SET PGCLIENTENCODING=utf-8
chcp 65001
psql -h your.ip.addr.ess -U postgres
More Related Contents:
- How do you use script variables in psql?
- Is there a shortcut for SELECT * FROM?
- Select rows which are not present in other table
- Optimize GROUP BY query to retrieve latest row per user
- How to implement a many-to-many relationship in PostgreSQL?
- How do I specify a password to ‘psql’ non-interactively?
- Check if value exists in Postgres array
- sql statement error: “column .. does not exist”
- What is the difference between single quotes and double quotes in PostgreSQL?
- Simulate CREATE DATABASE IF NOT EXISTS for PostgreSQL?
- Best way to count rows by arbitrary time intervals
- PostgreSQL sequence based on another column
- Sorting null values after all others, except special
- Finding similar strings with PostgreSQL quickly
- Reference alias in WHERE clause
- Fastest check if row exists in PostgreSQL
- Why do NULL values come first when ordering DESC in a PostgreSQL query?
- Slow simple update query on PostgreSQL database with 3 million rows
- Discard millisecond part from timestamp
- Return setof record (virtual table) from function
- SQL column reference “id” is ambiguous
- IN Clause with NULL or IS NULL
- How to convert PostgreSQL 9.4’s jsonb type to float
- postgres – where in (list) – column does not exist
- incomplete information from query on pg_views [duplicate]
- PostgreSQL: Give all permissions to a user on a PostgreSQL database
- Referencing current row in FILTER clause of window function
- Return rows from INSERT with ON CONFLICT without needing to update
- Insert data and set foreign keys with Postgres
- How to use a ring data structure in window functions