pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Thomas <paul@tmsl.demon.co.uk>
To: pgsql-general @ postgresql . org <pgsql-general@postgresql.org>
Subject: Re: PostgreSQL delete the blank in the end of the String automatically. how can I avoid it?
Date: Sat, 29 May 2004 09:58:56 +0100
Message-ID: <20040529095856.A16618@bacon> (raw)
In-Reply-To: <20040528194606.38576.qmail@web20802.mail.yahoo.com>
References: <20040528143920.A14794@bacon>
	<20040528194606.38576.qmail@web20802.mail.yahoo.com>


On 28/05/2004 20:46 Jeff Eckermann wrote:
> I had a thought that the ODBC driver could be
> stripping the trailing spaces, but the test I just did
> (using MS Access via ODBC) worked fine.

But that's using a different ODBC driver so won't show a possible bug in 
the PG driver.

> Thinking some more, I used a "text" type field for my
> test.  I have some recollection that varchar(n) fields
> _will_ strip trailing spaces.  But I'm too lazy to
> test that right now.

I was testing using a varchar(n) field.

-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for 
Business             |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+



view thread (8+ messages)  latest in thread

Message-ID: <20040529095856.A16618@bacon>
Permalink:  ../20040529095856.A16618@bacon/
Also on:    postgresql.org/message-id/20040529095856.A16618@bacon

 · 

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-odbc@postgresql.org
  Cc: paul@tmsl.demon.co.uk, pgsql-general@postgresql.org
  Subject: Re: PostgreSQL delete the blank in the end of the String automatically. how can I avoid it?
  In-Reply-To: <20040529095856.A16618@bacon>
  References: <20040528143920.A14794@bacon> <20040528194606.38576.qmail@web20802.mail.yahoo.com> <20040529095856.A16618@bacon>

* 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