Page MenuHomeDevCentral

Update build instructions for PostgreSQL on Windows
ClosedPublic

Authored by dereckson on Sep 13 2021, 19:52.
Tags
None
Referenced Files
F3766935: D2425.diff
Fri, Nov 22, 21:17
F3764044: D2425.diff
Fri, Nov 22, 03:59
Unknown Object (File)
Thu, Nov 21, 07:56
Unknown Object (File)
Mon, Nov 18, 07:58
Unknown Object (File)
Mon, Nov 18, 02:53
Unknown Object (File)
Mon, Nov 18, 02:52
Unknown Object (File)
Mon, Nov 18, 02:22
Unknown Object (File)
Mon, Nov 18, 02:22
Subscribers
None

Details

Summary

The pq-sys offers rust bindings for libpq. It provides a build script
to detect the path of the PostgreSQL library.

To directly provide the relevant directory, LIB isn't used anymore,
but a specific variable is, PQ_LIB_DIR.

If this variable changes, the build script is run again. As such,
cargo clean isn't needed, which avoid to recompile dozen of crates.

Test Plan

Compiled with nightly-x86_64-pc-windows-gnu toolchain.

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 13 2021, 19:53