From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | olly(at)lfix(dot)co(dot)uk (Oliver Elphick) |
Cc: | lockhart(at)alumni(dot)caltech(dot)edu, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Parser bug (?) |
Date: | 1998-12-13 04:29:41 |
Message-ID: | 199812130429.XAA14095@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Is this fixed?
> Hi Tom,
>
> This looks like a parser bug in 6.4. I found it while trying to run
> pg_upgrade:
>
> bray=> create table junk ("singleton" "char");
> CREATE
> bray=> drop table junk;
> DROP
> bray=> create table junk ("singleton" "char" default 'M');
> ERROR: DEFAULT: const type mismatched
> bray=> create table junk ("singleton" char default 'M');
> CREATE
>
> pg_dump puts all type names in double quotes, which triggers this bug
> when pg_upgrade is run, with the result that the upgrade fails.
>
> [Machine is i686 Linux 2.1.125 with glibc 2.0.7u]
>
> --
> Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
> Isle of Wight http://www.lfix.co.uk/oliver
> PGP key from public servers; key ID 32B8FAA1
> ========================================
> "Go ye therefore, and teach all nations, baptizing them
> in the name of the Father, and of the Son, and of the
> Holy Ghost; Teaching them to observe all things
> whatsoever I have commanded you; and, lo, I am with
> you alway, even unto the end of the world. Amen."
> Matthew 28:19,20
>
>
>
>
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-12-13 04:31:22 | Re: [HACKERS] Parser bug (?) |
Previous Message | Bruce Momjian | 1998-12-13 04:28:22 | Re: [HACKERS] redolog - for discussion |