From 452a80fd7ed58a4e5c42325ce7b292ed483e5007 Mon Sep 17 00:00:00 2001 From: Anastasia Lubennikova Date: Wed, 15 Nov 2023 09:32:06 +0000 Subject: [PATCH] Add vendor/postgres-v17 --- .gitmodules | 4 ++++ Makefile | 20 ++++++++++++++------ vendor/postgres-v17 | 1 + 3 files changed, 19 insertions(+), 6 deletions(-) create mode 160000 vendor/postgres-v17 diff --git a/.gitmodules b/.gitmodules index 1d925674a1..aa738938fd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,7 @@ path = vendor/postgres-v16 url = https://github.com/neondatabase/postgres.git branch = REL_16_STABLE_neon +[submodule "vendor/postgres-v17"] + path = vendor/postgres-v17 + url = git@github.com:neondatabase/postgres.git + branch = anastasia/neon_17_wip diff --git a/Makefile b/Makefile index 89acbe564a..664e7eaf1a 100644 --- a/Makefile +++ b/Makefile @@ -88,6 +88,8 @@ $(POSTGRES_INSTALL_DIR)/build/%/config.status: # I'm not sure why it wouldn't work, but this is the only place (apart from # the "build-all-versions" entry points) where direct mention of PostgreSQL # versions is used. +.PHONY: postgres-configure-v17 +postgres-configure-v17: $(POSTGRES_INSTALL_DIR)/build/v17/config.status .PHONY: postgres-configure-v16 postgres-configure-v16: $(POSTGRES_INSTALL_DIR)/build/v16/config.status .PHONY: postgres-configure-v15 @@ -212,38 +214,44 @@ walproposer-lib-clean: neon-pg-ext: \ neon-pg-ext-v14 \ neon-pg-ext-v15 \ - neon-pg-ext-v16 + neon-pg-ext-v16 \ + neon-pg-ext-v17 .PHONY: neon-pg-ext-clean neon-pg-ext-clean: \ neon-pg-ext-clean-v14 \ neon-pg-ext-clean-v15 \ - neon-pg-ext-clean-v16 + neon-pg-ext-clean-v16 \ + neon-pg-ext-clean-v17 # shorthand to build all Postgres versions .PHONY: postgres postgres: \ postgres-v14 \ postgres-v15 \ - postgres-v16 + postgres-v16 \ + postgres-v17 .PHONY: postgres-headers postgres-headers: \ postgres-headers-v14 \ postgres-headers-v15 \ - postgres-headers-v16 + postgres-headers-v16 \ + postgres-headers-v17 .PHONY: postgres-clean postgres-clean: \ postgres-clean-v14 \ postgres-clean-v15 \ - postgres-clean-v16 + postgres-clean-v16 \ + postgres-clean-v17 .PHONY: postgres-check postgres-check: \ postgres-check-v14 \ postgres-check-v15 \ - postgres-check-v16 + postgres-check-v16 \ + postgres-check-v17 # This doesn't remove the effects of 'configure'. .PHONY: clean diff --git a/vendor/postgres-v17 b/vendor/postgres-v17 new file mode 160000 index 0000000000..f777f5acb3 --- /dev/null +++ b/vendor/postgres-v17 @@ -0,0 +1 @@ +Subproject commit f777f5acb38da2c3e2aaf2da395cdd9413b45f42