[PATCH] Changing second argument to type input function

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: [PATCH] Changing second argument to type input function
Date: 2005-08-12 21:41:15
Message-ID: 20050812214110.GH4305@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

As detailed in the email to pgsql-hackers, this patch alters the second
argument of the type input functions so that for base types it passes
the oid, just as for composite types. For all cases where the oid is
currently non-zero (composite and array types) it remains unchanged.

http://archives.postgresql.org/pgsql-hackers/2005-08/msg00331.php

This basically came about because currently there is no easy way for an
input function to determine what type it's supposed to return.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment Content-Type Size
typelem.patch text/plain 1.9 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-08-12 21:42:57 Re: [HACKERS] PL/Perl list value return causes segfault
Previous Message Tom Lane 2005-08-12 21:38:02 Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries