Stephen Frost <sfr...@snowman.net> writes: > * Tom Lane (t...@sss.pgh.pa.us) wrote: >> Seems like a job for a new(?) module in src/common/.
> Yeah, that would be nice... Even nicer would be a way for non-core PG > tools to be able to use it (we have basically the same thing in > pgbackrest, unsurprisingly), though I realize that's a much larger step. We install libpgcommon.a (and, as of HEAD, libpgcommon_shlib.a) for precisely that sort of reason. regards, tom lane