Re: characters converted to ??? in postgres

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: armand pirvu <armand(dot)pirvu(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: characters converted to ??? in postgres
Date: 2018-01-12 14:10:39
Message-ID: b9dbd580-8502-9fcf-c935-35f175a6057d@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/11/18 20:52, armand pirvu wrote:
> The -n flag worked fine on OS X. I don’t have this issue on Centos. As a side question I wonder why was postgres built with libedit instead of libreadline , just curious.

You'll have to ask that of whoever built the binaries you are using.
There are different sources.

libedit is part of the macOS operating system, whereas libreadline has
to be obtained separately, so that's probably a reason.

> Back to my developer issue , he is using what he calls a data object in java. Apparently this is the place where this bad conversion happens, in other words it passes to the backend the ?? characters
> Any similar trick I could use on the postgres jdbc driver ?

That appears to be a completely separate issue.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2018-01-12 14:14:22 Sv: ADD OR ALTER column
Previous Message Rakesh Kumar 2018-01-12 13:56:07 Re: ADD OR ALTER column