RE: input/output functions have been changed ?
От | Hiroshi Inoue |
---|---|
Тема | RE: input/output functions have been changed ? |
Дата | |
Msg-id | 000c01bfd682$eaa15f40$2801007e@tpf.co.jp обсуждение исходный текст |
Ответ на | Re: input/output functions have been changed ? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: input/output functions have been changed ?
|
Список | pgsql-hackers |
> -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > > "Hiroshi Inoue" <Inoue@tpf.co.jp> writes: > > I just want to confirm if input/output functions have > > been changed. > > > select int4out(1); > > int4out > > ----------- > > 136475032 > > (1 row) > > Sure, you expected something nicer? You're seeing the numeric > representation of a C string pointer. > > Actually, checking 6.5, I see that int4out --- alone of all the *out > functions --- used to be declared in pg_proc to return type 'name'. Oops,int4out() alone. I don't complain about this change. It seems not good for clients to call input/output functions directly. There remains a pair of int4out() calls in interfaces/odbc/info.c. I don't know why those calls have been needed but this change would return wrong result. Probably we should remove the calls from info.c completely. Regards. Hiroshi Inoue Inoue@tpf.co.jp
В списке pgsql-hackers по дате отправления: