Re: PostgreSQL delete the blank in the end of the String

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: rong(dot)xie(at)stud(dot)tu-muenchen(dot)de
Cc: pgsql-docs(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL delete the blank in the end of the String
Date: 2004-05-21 14:27:12
Message-ID: 20040521072347.Q46005@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

On Tue, 18 May 2004 rong(dot)xie(at)stud(dot)tu-muenchen(dot)de wrote:

> hello,
>
> my Name is Rong. I am student at TU-Munich. I have some questions for
> Postgresql7.2 under SuSe Linux.
> Postgresql7.2 under SuSe Linux8.0.
> I use PostgreSQL7.2 with PGAdminII1.4.2 under Windows2000.

Note, 7.2 is fairly old (and I hope you really mean 7.2.x for the last x
in the set of 7.2 versions)

> I insert a String from Teleform6.0 of Cardiff through ODBC in table of
> PostgreSQL.
> There should be some blank in the End of the String. e.g: "data
> "
> But there ist no blank in the end of the String in the table. e.g: "data"
> It means, that PostgreSQL delete the blank in the end of the String
> automatically.
> But I need the blank in the end of the String.

What type are you inserting into? Can you give a self contained set of
table creation and inserts to show the problem?

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message bituman 2004-05-23 21:45:15 postgresql data structure
Previous Message Bruce Momjian 2004-05-19 04:38:30 Re: Updated Russian translation of FAQ

Browse pgsql-general by date

  From Date Subject
Next Message Nick Barr 2004-05-21 14:46:55 Re: Automatically fudging query results?
Previous Message Alex Scollay 2004-05-21 14:27:11 Automatically fudging query results?