Re: generic pseudotype IO functions?

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: generic pseudotype IO functions?
Date: 2014-01-06 16:36:28
Message-ID: 20140106163628.GA4427@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-01-06 11:28:29 -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > On 1/6/14, 10:29 AM, Tom Lane wrote:
> >> This will break some of the function sanity checks in opr_sanity,
>
> > Then the tests can be changed.
>
> That will weaken their ability to detect actual mistakes, no?

FWIW, I am perfectly fine with duplicating the functions for now - I
just thought that that might not be the best way but I didn't (and still
don't) have a strong opinion. That's why I didn't supply a patch ;)

> If there were a large benefit to merging the pseudotype I/O functions,
> I'd think this would be acceptable; but merging them seems of mighty
> marginal value.

I think I am less concerned about pseudotypes.c than about bloating
pg_proc.h even further and about the annoyance of editing it - but I
guess that should rather be fixed by storing it in a more sensible
format at some point...

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2014-01-06 16:41:50 Re: Compiling extensions on Windows
Previous Message Tom Lane 2014-01-06 16:34:01 Re: Convert Datum* to char*