Re: [HACKERS] pg_dump error

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: sferac@bo.nettuno.it (Jose' Soares Da Silva)
Cc: pgsql-hackers@postgreSQL.org, pgsql-bugs@postgreSQL.org
Date: 1998-06-16T03:19:07Z
Lists: pgsql-hackers, pgsql-general
> 
> Hi all,
> 
> I think there's an error on pg_dump, 
> my environment is:
>          Lynux 2.0.33
> 	 PostgreSQL 6.3
> 
> 1) ----VARCHAR(-50)------------------------------------------
> 
> I created a table as:
> CREATE TABLE utente (
> 	intestazione_azienda 	varchar,
> 	indirizzo 		varchar
> 	);
> 
> using pg_dump -d mydatabase > file
> 
> file is like:
> \connect - postgres
> CREATE TABLE utente (intestazione_azienda varchar(-5), indirizzo varchar(-5));

Basically, something major is wrong in your installation.  I have never
heard a report like this, and people use pg_dump all the time.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)