Speed tables is a high-performance memory-resident database. The speed table compiler reads a table definition and generates a set of C access routines to create, manipulate and search tables containing millions of rows. Currently oriented towards Tcl.
This PR makes a few changes in order to add pgtcl support to our internal speedtables Nix package:
Set the libpq lib directory with pg_config, just like we do for the include directory.
Follow symlinks when finding the pgtcl directory.
Fix a strncpy invocation that risks clobbering a string terminator. This triggers a stringop-truncation warning for recent versions of gcc. If I'm not mistaken, there's at least one place where we could have been bitten by this.
This PR makes a few changes in order to add
pgtcl
support to our internalspeedtables
Nix package:libpq
lib directory withpg_config
, just like we do for the include directory.pgtcl
directory.strncpy
invocation that risks clobbering a string terminator. This triggers astringop-truncation
warning for recent versions ofgcc
. If I'm not mistaken, there's at least one place where we could have been bitten by this.