Re: BUG #5614: Varchar column (with DEFAULT NULL) stores 'UL' value instead of null
От | Mariusz Majer |
---|---|
Тема | Re: BUG #5614: Varchar column (with DEFAULT NULL) stores 'UL' value instead of null |
Дата | |
Msg-id | 1281945284853-2636403.post@n5.nabble.com обсуждение исходный текст |
Ответ на | Re: Re: BUG #5614: Varchar column (with DEFAULT NULL) stores 'UL' value instead of null (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Re: BUG #5614: Varchar column (with DEFAULT NULL) stores 'UL' value instead of null
|
Список | pgsql-bugs |
I am using postgresql-8.2-504.jdbc3.jar driver. I altered table ecom2_orders using psql (not JDBC to exclude its influence): ALTER TABLE ecom2_orders ALTER COLUMN net_source SET DEFAULT NULL; Now when you enter command: \d ecom2_orders you got: net_source | character varying(100) | default NULL::character varying password_pdf | character varying(50) | in dump.txt result of execution query you provided > select * from pg_attrdef where adrelid = 'ecom2_orders'::regclass; When I add one row from psql: - in net_source I got null value, while adding new order from application using JDBC - in net_source I got 'UL' value ...so in my opinion it might be issue with JDBC (maybe too old JDBC??). http://postgresql.1045698.n5.nabble.com/file/n2636403/descr.txt descr.txt -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-5614-Varchar-column-with-DEFAULT-NULL-stores-UL-value-instead-of-null-tp2473415p2636403.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
В списке pgsql-bugs по дате отправления: