Re: trouble migrating from 6.3.2 (IRIX) to 7.0.2 (Linux)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: George Armhold <armhold(at)cs(dot)rutgers(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: trouble migrating from 6.3.2 (IRIX) to 7.0.2 (Linux)
Date: 2000-11-23 15:23:24
Message-ID: 6755.974993004@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

George Armhold <armhold(at)cs(dot)rutgers(dot)edu> writes:
> Hmm, I seem to be getting negative values for tables that were created
> without a maximum char length. Is (was) it legal postgres syntax to
> say something like
> create table foo (mytext varchar);
> without a maximum length constraint?

It was and is, but it looks like 6.3.2's pg_dump did the wrong thing
with 'em. If you know that's how these fields were created, I'd say
that manually removing the (-5) from the table declarations is the
way to go.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yves Martin 2000-11-23 15:34:33 Statement too long
Previous Message Igor' Robul' 2000-11-23 15:23:01 SQL question