Re: parser error: 9223372036854775807

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: aagha(at)bigfoot(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: parser error: 9223372036854775807
Date: 2002-11-07 16:58:00
Message-ID: 22721.1036688280@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Aurangzeb M. Agha" <aagha(at)bigfoot(dot)com> writes:
> I'm having an issue moving my DB from from Win (Cygwin) to Linux 7.2. If
> I go from Linux to Cygwin, no probs, everything works fine, creates a new
> database beautifully.
> However, if I take the exact same DB (which contains data) and try the
> following on Linux:
> %> psql -d cmsdb -f cmsdb.sql
> I get the following:
> psql:cmsdb.sql:12: ERROR: parser: parse error at or near
> "9223372036854775807"

> Any table with a serial decleration has this problem, and the serial
> tables don't get built.

> We're on Postgres 7.1.

Apparently the Cygwin database is 7.2, which was the first release that
supported int8 sequences. Either update your Linux PG installation, or
be prepared to do some hand editing of the dump file.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-11-07 17:00:26 Re: Postgresql problems
Previous Message Tourtounis Sotiris 2002-11-07 16:56:13 SPI_?????