| От | Ian Barwick |
|---|---|
| Тема | Patch for DBD::Pg pg_relcheck problem |
| Дата | |
| Msg-id | 200212091631.00125.barwick@gmx.net обсуждение исходный текст |
| Ответы |
Re: Patch for DBD::Pg pg_relcheck problem
|
| Список | pgsql-interfaces |
Attached is a patch against DBD::Pg 1.20 which fixes the driver-specific function 'table_attributes' for use with PostgreSQL 7.3 while maintaining backwards compatibility with older PostgreSQL versions. To avoid voodoo with PostgreSQL version numbers a check is made whether pg_relcheck exists and the appropriate query (either 7.3 or pre 7.3) executed. Tested with 7.3 and 7.1.3. This is hopefully a one off problem requiring this kind of check. I haven't had a chance to look at every function in Pg.pm, but it seems this is the only one "broken" by 7.3. Comments, corrections etc. welcome! Ian Barwick barwick@gmx.net
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера