From: Tom Lane <tgl@sss.pgh.pa.us>
To: Calvin <calvinsmith266@hotmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Moving data from SQL Server to Postgres via VFP ODBC Driver
Date: Mon, 09 Aug 2010 15:03:14 -0400
Message-ID: <11995.1281380594@sss.pgh.pa.us> (raw)
In-Reply-To: <loom.20100809T190420-758@post.gmane.org>
References: <loom.20100809T190420-758@post.gmane.org>
Calvin <calvinsmith266@hotmail.com> writes:
> Is there any way to keep varying character fields from being padded out to their
> maximum length.
I suspect that your "varying" fields are in fact declared as just
CHAR(n). Use VARCHAR(n), or if there isn't a particularly good reason
to have a specific length limit, use TEXT.
regards, tom lane
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: tgl@sss.pgh.pa.us, calvinsmith266@hotmail.com
Subject: Re: Moving data from SQL Server to Postgres via VFP ODBC Driver
In-Reply-To: <11995.1281380594@sss.pgh.pa.us>
References: <loom.20100809T190420-758@post.gmane.org> <11995.1281380594@sss.pgh.pa.us>
* 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