Hi,

Debian's reproducible builds project has revealed that the full build
path gets embedded into server/catalog/schemapg.h:

/*-------------------------------------------------------------------------
 *
 * schemapg.h
 *    Schema_pg_xxx macros for use by relcache.c
 *
 * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * NOTES
 *  ******************************
 *  *** DO NOT EDIT THIS FILE! ***
 *  ******************************
 *
 *  It has been GENERATED by 
/build/postgresql-11-05gRdu/build/../src/backend/catalog/genbki.pl
 *
 *-------------------------------------------------------------------------
 */

This information will vary on rebuilding the binaries, needlessly
causing different checksums.

I'm proposing to strip that down to "It has been GENERATED genbki.pl".
Patch attached.

Christoph
diff --git a/src/backend/catalog/genbki.pl b/src/backend/catalog/genbki.pl
new file mode 100644
index 256a9c9..30153e6
*** a/src/backend/catalog/genbki.pl
--- b/src/backend/catalog/genbki.pl
*************** print $schemapg <<EOM;
*** 340,346 ****
   *  *** DO NOT EDIT THIS FILE! ***
   *  ******************************
   *
!  *  It has been GENERATED by $0
   *
   *-------------------------------------------------------------------------
   */
--- 340,346 ----
   *  *** DO NOT EDIT THIS FILE! ***
   *  ******************************
   *
!  *  It has been GENERATED by genbki.pl
   *
   *-------------------------------------------------------------------------
   */

Reply via email to