RE: input/output functions have been changed ?

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Thomas Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Byron Nikolaidis" <byron(dot)nikolaidis(at)home(dot)com>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: RE: input/output functions have been changed ?
Date: 2000-06-15 04:33:55
Message-ID: 000c01bfd682$eaa15f40$2801007e@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>
> "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)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(at)tpf(dot)co(dot)jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Robinson 2000-06-15 04:52:20 Re: Re: Big 7.1 open items
Previous Message Jan Wieck 2000-06-15 04:20:21 Re: Big 7.1 open items