| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | char(8) vs char8 |
| Дата | |
| Msg-id | m0yZzBX-000035C@druid.net обсуждение |
| Список | pgsql-hackers |
This was an unexpected difference between these two types and I wonder
if it was meant to be this way. Previously, a char8 field with the
string 'abc' would return 'abc' as expected. Now, with char(8), I get
back 'abc ' instead. You can see this with my PygreSQL module
or the C interface (which my module uses, of course.) This causes a
lot of my programs to break.
I have made a quick change to my Python module to handle this. Should
I clean it up or can I expect the behaviour to go back the way it was?
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера