Re: varchar() troubles

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: varchar() troubles
Дата
Msg-id 34BA3992.2B561614@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: varchar() troubles  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: varchar() troubles  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: varchar() troubles  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:

> >
> > I've been seeing trouble with varchar() columns for a little while, and
> > since it is still there with a fresh install of the development tree
> > it's time to report it:
> >
> > postgres=> create table t (v varchar(80),i int);
> > CREATE
> > postgres=> insert into t values ('hi',1);
> > INSERT 18122 1
> > postgres=> select * from t;
> > v |i
> > --+-
> > hi|0
> > (1 row)
>
> Did you see this before or only after the varchar() length change I
> made?

Pretty sure only after but it's hard to tell for sure. My trees for 971204
and 971222 both core dump on inserts to varchar, but I can't remember what
else I was doing with the trees at the time. v6.2.1p5 works OK on this:

postgres=> create table t (v varchar(80),i int);
CREATE
postgres=> insert into t values ('hi',1);
INSERT 142735 1
postgres=> select * from t;
v |i
--+-
hi|1
(1 row)

                                                                        -
Tom


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] PSQL man page patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] General Bug Report: palloc fails with lots of ANDs and ORs