Skip to content

Commit

Permalink
remove support for greenplum and postgres before 10. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
smmathews-brandwatch authored Oct 10, 2023
1 parent 88a5e9e commit 6bd0ad4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2,695 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,6 @@ Note:You can use `make -f Makefile_native` instead of` make` to let the compiler

make installcheck

# Build on PostgreSQL 9.x or Greenplum 6.0

Parallel execution is not supported in PostgreSQL 9.5 and earlier.
If you want to compile on these early PostgreSQL versions or Greenplum 6.0(based on PostgreSQL 9.4), you need to remove the `PARALLEL` keyword from these SQL files.

cd pg_roaringbitmap
sed 's/PARALLEL SAFE//g' -i roaringbitmap--*.sql
sed -z 's/,[ \r\n]*PARALLEL = SAFE//g' -i roaringbitmap--*.sql

Then refer to [Build] above for building, such as the steps to build on Greenplum 6.0:

## Build

su - gpadmin
make
make install
psql -c "create extension roaringbitmap"

## Test

sudo yum install 'perl(Data::Dumper)'
make installcheck

Since the expected output is based on PostgreSQL 10+, this test will not pass.
Check the difference in the output file. If the execution results are the same, only the execution plan or other content that is not related to pg_roaringbitmap` is different, the test can be considered OK.

diff results/roaringbitmap.out expected/roaringbitmap_gpdb6.out

# Usage

## about roaringbitmap data type
Expand Down
Loading

0 comments on commit 6bd0ad4

Please sign in to comment.