Parser bug (?)
От | Oliver Elphick |
---|---|
Тема | Parser bug (?) |
Дата | |
Msg-id | 199812051957.TAA23366@linda.lfix.co.uk обсуждение исходный текст |
Ответы |
Re: [HACKERS] Parser bug (?)
Re: [HACKERS] Parser bug (?) |
Список | pgsql-hackers |
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.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID32B8FAA1 ======================================== "Go ye therefore, and teach all nations, baptizingthem 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
В списке pgsql-hackers по дате отправления: