On Tue, Aug 13, 2024, at 09:49, Joel Jacobson wrote:
> I reran the tests and v5 produces much fewer diffs than v4.
> Not sure if the remaining ones are problematic or not.
Attaching scripts if needed.
Regards,
Joel
#!/bin/bash
git reset --hard && \
{
patch -p1 < ~/numeric_mul_rscale.patch && \
pg_ctl stop ; \
rm -rf "$PGDATA" ; \
make clean && \
make -j33 && \
make install && \
initdb && \
pg_ctl -l logfile start && \
createdb "$USER"
} &>/dev/null && \
psql -f test-mul_var-init.sql
#!/bin/bash
git reset --hard && \
{
git apply ~/Downloads/v4-0001-Extend-mul_var_short-to-5-and-6-digit-inputs.patch && \
git apply ~/Downloads/v4-0002-Optimise-numeric-multiplication-using-base-NBASE-.patch && \
patch -p1 < ~/numeric_mul_rscale.patch && \
pg_ctl stop ; \
rm -rf "$PGDATA" ; \
make clean && \
make -j33 && \
make install && \
initdb && \
pg_ctl -l logfile start && \
createdb "$USER"
} &>/dev/null && \
psql -f test-mul_var-verify.sql
#!/bin/bash
git reset --hard && \
{
git apply ~/Downloads/v5-0001-Extend-mul_var_short-to-5-and-6-digit-inputs.patch && \
git apply ~/Downloads/v5-0002-Optimise-numeric-multiplication-using-base-NBASE-.patch && \
patch -p1 < ~/numeric_mul_rscale.patch && \
pg_ctl stop && \
rm -rf "$PGDATA" && \
make clean && \
make -j33 && \
make install && \
initdb && \
pg_ctl -l logfile start && \
createdb "$USER"
} &>/dev/null && \
psql -f test-mul_var-verify.sql