Page MenuHomeDevCentral

Update build instructions for PostgreSQL on Windows
ClosedPublic

Authored by dereckson on Sep 13 2021, 19:52.
Tags
None
Referenced Files
F2843273: D2425.id6101.diff
Tue, Apr 23, 04:42
Unknown Object (File)
Mon, Apr 22, 18:17
Unknown Object (File)
Fri, Apr 19, 15:30
Unknown Object (File)
Thu, Apr 18, 19:05
Unknown Object (File)
Thu, Apr 18, 18:03
Unknown Object (File)
Mon, Apr 15, 05:29
Unknown Object (File)
Sun, Apr 14, 22:07
Unknown Object (File)
Sat, Apr 13, 22:40
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