mirror of
https://github.com/adjust/pg-base36.git
synced 2025-12-16 15:54:39 +00:00
* Add HASHES, MERGES to equality operator
There is no good reason to disallow hash and merge on = it was just
not considered on the initial implementation.
The version migration however is kinda tricky, as postgres doesn't
allow to `ALTER OPERATOR` according to [hackers](321eed5f0f) because of query plan caching.
```
Other options cannot be changed, as it's not totally clear if cached plans
would need to be invalidated if one of the other options change.
```
An upgrade is probably not risky as it just adds more execution options to
the planer.
A downgrade however could result in executing a hash/merge join that actually isn't
allowed.
This might not be a problem as well as the previous version has all the needed
functionality to execute a hash/merge join (i.e. the underlying procedure didn't change).
* cleanup extension
get ride of dependency for ruby gem dumbo
cleanup tests
Turns out dumbo is not really helpful for this extension
and just creates noise and dependencies that are not really needed.
* Fix Postgres 10 test
---------
Co-authored-by: Artur Zakirov <zaartur@gmail.com>
18 lines
542 B
Makefile
18 lines
542 B
Makefile
#http://blog.pgxn.org/post/4783001135/extension-makefiles pg makefiles
|
|
EXTENSION = base36
|
|
PG_CONFIG ?= pg_config
|
|
DATA = $(wildcard *--*.sql)
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
MODULE_big = base36
|
|
OBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
|
|
TESTS = $(wildcard test/sql/*.sql)
|
|
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
|
|
REGRESS_OPTS = --inputdir=test \
|
|
--load-extension=$(EXTENSION)
|
|
include $(PGXS)
|
|
|
|
ifeq ($(shell test $(VERSION_NUM) -lt 90600; echo $$?),0)
|
|
REGRESS := $(filter-out parallel_test, $(REGRESS))
|
|
endif
|
|
|