From 11cd19161d8bee861c41fa8d816a16d0f76005f6 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 11 Sep 2024 11:16:12 -0500 Subject: [PATCH] fix pgmq install --- Cargo.lock | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 761f532..afc8837 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1287,7 +1287,7 @@ dependencies = [ [[package]] name = "pg_later" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "chrono", diff --git a/Makefile b/Makefile index 7262120..10ecd2f 100644 --- a/Makefile +++ b/Makefile @@ -28,11 +28,11 @@ clean: install-pgmq: git clone https://github.com/tembo-io/pgmq.git && \ - cd pgmq && \ + cd pgmq/pgmq-extension && \ PG_CONFIG=${PGRX_PG_CONFIG} make clean && \ PG_CONFIG=${PGRX_PG_CONFIG} make && \ PG_CONFIG=${PGRX_PG_CONFIG} make install && \ - cd .. && rm -rf pgmq + cd ../.. && rm -rf pgmq setup.shared_preload_libraries: echo "shared_preload_libraries = 'pg_later'" >> ~/.pgrx/data-${PG_VERSION}/postgresql.conf