Re: clarify equalTupleDescs() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: clarify equalTupleDescs()
Date
Msg-id 509082.1707232485@sss.pgh.pa.us
Whole thread Raw
In response to clarify equalTupleDescs()  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: clarify equalTupleDescs()
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> The first want to compare what I call row-type equality, which means 
> they want to check specifically for equal number of attributes, and the 
> same attribute names, types, and typmods for each attribute.  Most 
> callers actually want that behavior.

Should compare attcollation too, no?

+1 for the general idea, but it seems like "row type equality"
might still be a slightly fuzzy concept.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: glibc qsort() vulnerability
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Possibility to disable `ALTER SYSTEM`