Re: [BUGS] casting strings to multidimensional arrays yields strange

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [BUGS] casting strings to multidimensional arrays yields strange
Дата
Msg-id 4111B28B.6020201@joeconway.com
обсуждение исходный текст
Ответ на Re: [BUGS] casting strings to multidimensional arrays yields strange results  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] casting strings to multidimensional arrays yields strange results  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> I had pretty much come to the conclusion that the array_in code should
> be thrown away and rewritten from the ground up --- whoever wrote it
> originally had no calling as a programmer :-(.  I didn't look at the
> details of your patch, but I have little faith in half measures in this
> area.  I've already wasted a lot of time trying to patch that code in
> past releases.

Agreed, but I don't think I'll be able to get that done tonight.

While looking at it the last day or so, I started to think it might be
better to use bison to parse array literals -- or is that a bad idea?

In any case, I'm planning to find the time to work on NULL array
elements as soon as we branch 8.0 from head. At that time I'll also look
at cleaning up array_in (and friends undoubtedly).

Joe

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] casting strings to multidimensional arrays yields strange results
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] casting strings to multidimensional arrays yields strange results