From 2bb310affed4a06c6fa38fb0e1b1ff39f330d88d Mon Sep 17 00:00:00 2001 From: pgaddict Date: Thu, 15 Jun 2023 15:50:00 +0800 Subject: [PATCH] add instruction using PG_CONFIG to install extension, also how to run installcheck --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ff57576..30c66667 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # hashset This PostgreSQL extension implements hashset, a data structure (type) -providing a collection of integer items with fast lookup. +providing a collection of unique, not null integer items with fast lookup. ## Version @@ -103,11 +103,19 @@ a variable-length type. ## Installation -To install the extension, run `make install` in the project root. Then, in your +To install the extension, run `make install` in the project root. To use a different PostgreSQL installation, point configure to a different `pg_config`, using following command: + + make PG_CONFIG=/else/where/pg_config + make install PG_CONFIG=/else/where/pg_config + +Then, in your PostgreSQL connection, execute `CREATE EXTENSION hashset;`. This extension requires PostgreSQL version ?.? or later. +## Test +To run regression test, execute +`make installcheck` ## License -- 2.34.1