From: Tom Lane <tgl@sss.pgh.pa.us>
To: Geoffrey Wossum <geoffrey@pager.net>
Cc: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems upgrading from 7.1.3
Date: Thu, 06 Feb 2003 11:26:00 -0500
Message-ID: <12882.1044548760@sss.pgh.pa.us> (raw)
In-Reply-To: <200302060957.54830.geoffrey@pager.net>
References: <200302051128.35997.geoffrey@pager.net>
<28623.1044472378@sss.pgh.pa.us>
<200302061801.47318.mallah@trade-india.com>
<200302060957.54830.geoffrey@pager.net>
Geoffrey Wossum <geoffrey@pager.net> writes:
> Apparently PostgreSQL 7.1.3 didn't really enforce the length on VARCHAR(#)'s,
> which is why this never caused a problem with it.
Well, it did, but it did silent truncation instead of complaining.
This was determined to be not spec compliant ...
> Now, why did this all work fine if I added "-D" to pg_dump/pg_dumpall?
> Shouldn't that have failed for the same reason?
Yeah, it sure should have. Can you compare the two dumps to see what's
different besides the data proper?
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, geoffrey@pager.net, mallah@trade-india.com
Subject: Re: Problems upgrading from 7.1.3
In-Reply-To: <12882.1044548760@sss.pgh.pa.us>
References: <200302051128.35997.geoffrey@pager.net> <28623.1044472378@sss.pgh.pa.us> <200302061801.47318.mallah@trade-india.com> <200302060957.54830.geoffrey@pager.net> <12882.1044548760@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