Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
naisila committed Aug 16, 2023
1 parent c60e95e commit ff67ce0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/backend/distributed/cdc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ SRC_DIR = $(citus_abs_top_srcdir)/$(citus_subdir)
# List of supported based decoders. Add new decoders here.
cdc_base_decoders :=pgoutput wal2json

# wal2json is not available for PG16 yet
pg_version := $(shell $(PG_CONFIG) --version 2>/dev/null)
pg_whole_version := $(shell echo "$(pg_version)"| sed -e 's/^PostgreSQL \([0-9]*\)\(\.[0-9]*\)\{0,1\}\(.*\)/\1\2/')
pg_major_version := $(shell echo "$(pg_whole_version)"| sed -e 's/^\([0-9]\{2\}\)\(.*\)/\1/')

ifeq ($(pg_major_version),16)
cdc_base_decoders :=pgoutput
endif

all: build-cdc-decoders

copy-decoder-files-to-build-dir:
Expand Down

0 comments on commit ff67ce0

Please sign in to comment.