pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-20 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. This avoids a compiler bug occurring in AIX's xlc, even in pretty late-model revisions. Buildfarm testing has now confirmed that only 64-bit xlc is affected. Although we are contemplating dropping support for xlc in v17, it's still support

pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.

2023-10-17 Thread Tom Lane
Dodge a compiler bug affecting timetz_zone/timetz_izone. Use a modulo operator instead of implementing the same behavior with a loop. The loop solution is doubtless microscopically faster for the typical case of only wrapping into the very next day, but maybe not so much for large interval values