diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-12-02 23:43:53 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-12-02 23:43:53 -0300 |
commit | da34731bd3c805ab77d6e5914d02b1f011e9479d (patch) | |
tree | 54322128f3a7f55a5b3479ba0cc1083d0868004f /src/test/modules/commit_ts/sql/commit_timestamp.sql | |
parent | 475aedd1ef0c0f9fc9d675dd2286380d14804975 (diff) | |
download | postgresql-da34731bd3c805ab77d6e5914d02b1f011e9479d.tar.gz postgresql-da34731bd3c805ab77d6e5914d02b1f011e9479d.zip |
Install kludges to fix check-world for src/test/modules
check-world failed in a completely clean tree, because src/test/modules
fail to build unless errcodes.h is generated first. To fix this,
install a dependency in src/test/modules' Makefile so that the necessary
file is generated. Even with this, running "make check" within
individual module subdirs will still fail because the dependency is not
considered there, but this case is less interesting and would be messier
to fix.
check-world still failed with the above fix in place, this time because
dummy_seclabel used LOAD to load the dynamic library, which doesn't work
because the @libdir@ (expanded by the makefile) is expanded to the final
install path, not the temporary installation directory used by make
check. To fix, tweak things so that CREATE EXTENSION can be used
instead, which solves the problem because the library path is expanded
by the backend, which is aware of the true libdir.
Diffstat (limited to 'src/test/modules/commit_ts/sql/commit_timestamp.sql')
0 files changed, 0 insertions, 0 deletions