Re: [HACKERS] Parser bug (?)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Parser bug (?)
Дата
Msg-id 199812130429.XAA14095@candle.pha.pa.us
обсуждение исходный текст
Ответ на Parser bug (?)  ("Oliver Elphick" <olly@lfix.co.uk>)
Список 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.Elphick@lfix.co.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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] redolog - for discussion
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Parser bug (?)