Re: [PERFORM] typoed column name, but postgres didn't grump
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PERFORM] typoed column name, but postgres didn't grump |
| Дата | |
| Msg-id | 1036.1288988580@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PERFORM] typoed column name, but postgres didn't grump ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Список | pgsql-bugs |
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Here's a proposed patch, sans documentation as yet.
> I see you took the surgical approach -- only a cast from a record to
> a character string type is affected. I agree that will fix the
> complaints I've seen, and I imagine you're keeping the change narrow
> to minimize the risk of breaking existing code, but this still looks
> weird to me:
> test=# select ('2010-11-05'::date).text;
> text
> ------------
> 2010-11-05
> (1 row)
Perhaps, but it's been accepted since 7.3, with few complaints.
I think we should only remove the behavior that was added in 8.4.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера