> On 1 Jul 2024, at 16:20, Stepan Neretin <sncfmgg@gmail.com> wrote:
> The patch file seems broken.
> git apply gamma-and-lgamma.patch error: git apply: bad git-diff — exptec /dev/null in line 2
It's a plain patch file, if you apply it with patch and not git it will work fine:
$ patch -p1 < gamma-and-lgamma.patch
patching file 'doc/src/sgml/func.sgml'
patching file 'src/backend/utils/adt/float.c'
patching file 'src/include/catalog/pg_proc.dat'
patching file 'src/test/regress/expected/float8.out'
patching file 'src/test/regress/sql/float8.sql'
--
Daniel Gustafsson