Re: [HACKERS] pg_dump bug

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: jose soares <jose(at)sferacarta(dot)com>
Cc: hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] pg_dump bug
Date: 1999-11-19 12:30:14
Message-ID: Pine.GSO.3.96.SK.991119152941.3910u-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I confirm this bug for 6.5.3, Linux

Oleg

On Fri, 19 Nov 1999, jose soares wrote:

> Date: Fri, 19 Nov 1999 12:32:04 +0100
> From: jose soares <jose(at)sferacarta(dot)com>
> To: hackers <pgsql-hackers(at)postgreSQL(dot)org>
> Subject: [HACKERS] pg_dump bug
>
> Hi,
>
> I think I found a bug in pg_dump:
> I created a table like:
>
> CREATE TABLE ut (
> Azienda CHAR(16) NOT NULL,
> ragione_sociale VARCHAR(45) NOT NULL,
> indirizzo CHAR(40),
> inizio_attivita DATE DEFAULT CURRENT_DATE,
> fine_attivita DATE
> );
>
> and pg_dump modify the structure table as:
>
> \connect - postgres
> CREATE TABLE "ut" (
> "azienda" character(16) NOT NULL,
> "ragione_sociale" character varying(45) NOT NULL,
> "indirizzo" character(40),
> "inizio_attivita" date DEFAULT date( 'current'::datetime + '0
> sec') NOT NULL,
> "fine_attivita" date);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> If I try to recreate the table I have this:
> ERROR: parser: parse error at or near "'"
>
> Any ideas ?
>
> JosИ
>
>
>
> ************
>

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-19 12:35:14 Re: [HACKERS] pg_dump bugu
Previous Message Bruce Momjian 1999-11-19 12:28:43 Re: [HACKERS] 7.0 status request