Re: Sort functions with specialized comparators - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Sort functions with specialized comparators
Date
Msg-id Z3wXSAt7zsziWzKk@nathan
Whole thread Raw
In response to Re: Sort functions with specialized comparators  (John Naylor <johncnaylorls@gmail.com>)
Responses Re: Sort functions with specialized comparators
List pgsql-hackers
On Mon, Jan 06, 2025 at 05:54:29PM +0700, John Naylor wrote:
> Those functions from common/int.h are probably not good when inlined
> (see comment there).

+1.  In fact, I think this comment was added because of the ST_MED3()
function in sort_template.h [0].  IIRC clang handles this just fine, but
gcc does not.

[0] https://postgr.es/m/20240212230423.GA3519%40nathanxps13

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Non-text mode for pg_dumpall
Next
From: Sami Imseih
Date:
Subject: Re: Sample rate added to pg_stat_statements