Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[]) |
| Дата | |
| Msg-id | 20080428162702.GC5761@alvh.no-ip.org обсуждение |
| Ответ на | Removing typename from A_Const (was: Empty arrays with ARRAY[]) ("Brendan Jurd" <direvus@gmail.com>) |
| Ответы |
Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])
|
| Список | pgsql-hackers |
Brendan Jurd escribió: > Here's my attempt to remove the typename field from A_Const. There > were a few places (notably flatten_set_variable_args() in guc.c, and > typenameTypeMod() in parse_type.c) where the code expected to see an > A_Const with a typename, and I had to adjust for an A_Const within a > TypeCast. Nonetheless, there was an overall net reduction of 34 lines > of code, so I think this was a win. Do say ... why don't we do away with A_Const altogether and just replace it with Value? After this patch, I don't see what's the difference. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера