Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL
Date
Msg-id 199803282122.QAA21520@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
> create table templ_arg(accii int2,type char,sign float8);
> create table a1 () inherits (templ_arg);
> insert into a1 values (9999,'a',1); -- working;
> insert into a1 values (9999,'a',-1); -- ERROR;
> insert into a1 values (9999,'a',-1.0); --working

Yep, the problem gram.y line is:

        | '-' a_expr %prec UMINUS
                {   $$ = makeA_Expr(OP, "-", NULL, $2);}

This is being executed rather than the code that reads in negative
integer constants.

--
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)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL
Next
From: Bruce Momjian
Date:
Subject: Re: Let's talk up 6.3