pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: armand pirvu <armand.pirvu@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: characters converted to ??? in postgres
Date: Fri, 12 Jan 2018 21:11:36 -0600
Message-ID: <8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@gmail.com> (raw)
In-Reply-To: <b9dbd580-8502-9fcf-c935-35f175a6057d@2ndquadrant.com>
References: <59E42D78-E9AA-404A-9836-9A474ACFDDE3@gmail.com>
	<49e0edb1-5de6-21b2-6ab4-5264aff6b661@2ndquadrant.com>
	<2D4E91FE-E739-4775-BB4B-C5548E8E1FD0@gmail.com>
	<b9dbd580-8502-9fcf-c935-35f175a6057d@2ndquadrant.com>

Yes it appears to be a separate issue but using OS X is the only way I could reproduce trying to see with my own eyes so to speak
I did though a quick java program and that confirmed to me (at least so far) that the whole issue resides in the so called data object

Thank you so much for help and insight

— Armand



> On Jan 12, 2018, at 8:10 AM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
> 
> 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





view thread (5+ messages)

Message-ID: <8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@gmail.com>
Permalink:  ../8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@gmail.com/
Also on:    postgresql.org/message-id/8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: armand.pirvu@gmail.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: characters converted to ??? in postgres
  In-Reply-To: <8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@gmail.com>
  References: <59E42D78-E9AA-404A-9836-9A474ACFDDE3@gmail.com> <49e0edb1-5de6-21b2-6ab4-5264aff6b661@2ndquadrant.com> <2D4E91FE-E739-4775-BB4B-C5548E8E1FD0@gmail.com> <b9dbd580-8502-9fcf-c935-35f175a6057d@2ndquadrant.com> <8C59A8CA-AEED-4443-91A3-D4D6F4D50BBA@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