From ed988b2f56f5b480433b2261469ff5698be799dc Mon Sep 17 00:00:00 2001
From: Ekaterina Sokolova <e.sokolova@postgrespro.ru>
Date: Wed, 23 Oct 2024 14:45:03 +0300
Subject: [PATCH 1/2] Update Travis CI for PostgreSQL 17.

---
 .travis.yml        | 6 ++++++
 docker-compose.yml | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 80d5de7..91b5a3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,9 @@ notifications:
         on_failure: always
 
 env:
+    - PG_VERSION=17 LEVEL=nightmare
+    - PG_VERSION=17 LEVEL=hardcore
+    - PG_VERSION=17
     - PG_VERSION=16 LEVEL=nightmare
     - PG_VERSION=16 LEVEL=hardcore
     - PG_VERSION=16
@@ -42,9 +45,12 @@ env:
 # XXX: consider fixing nightmare mode
 matrix:
     allow_failures:
+        - env: PG_VERSION=11
+        - env: PG_VERSION=11 LEVEL=hardcore
         - env: PG_VERSION=11 LEVEL=nightmare
         - env: PG_VERSION=12 LEVEL=nightmare
         - env: PG_VERSION=13 LEVEL=nightmare
         - env: PG_VERSION=14 LEVEL=nightmare
         - env: PG_VERSION=15 LEVEL=nightmare
         - env: PG_VERSION=16 LEVEL=nightmare
+        - env: PG_VERSION=17 LEVEL=nightmare
diff --git a/docker-compose.yml b/docker-compose.yml
index 471ab77..0544d85 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,2 +1,3 @@
-tests:
+services:
+  tests:
     build: .

From 9c78afff8df36fc3790a1ea91f292344a45aa47f Mon Sep 17 00:00:00 2001
From: Ekaterina Sokolova <e.sokolova@postgrespro.ru>
Date: Wed, 23 Oct 2024 15:42:04 +0300
Subject: [PATCH 2/2] Update copyrights.

---
 LICENSE               | 2 +-
 pg_variables.c        | 2 +-
 pg_variables.h        | 2 +-
 pg_variables_record.c | 2 +-
 run_tests.sh          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/LICENSE b/LICENSE
index 9c8fe9d..860b6e0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 pg_variables is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses.
 
-Copyright (c) 2016-2022, Postgres Professional
+Copyright (c) 2016-2024, Postgres Professional
 Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
 Portions Copyright (c) 1994, The Regents of the University of California
 
diff --git a/pg_variables.c b/pg_variables.c
index c8ee939..5f96738 100644
--- a/pg_variables.c
+++ b/pg_variables.c
@@ -3,7 +3,7 @@
  * pg_variables.c
  *	  Functions, which get or set variables values
  *
- * Copyright (c) 2015-2022, Postgres Professional
+ * Copyright (c) 2015-2024, Postgres Professional
  *
  *-------------------------------------------------------------------------
  */
diff --git a/pg_variables.h b/pg_variables.h
index 6508e9f..3dbf97a 100644
--- a/pg_variables.h
+++ b/pg_variables.h
@@ -3,7 +3,7 @@
  * pg_variables.c
  *	  exported definitions for pg_variables.c
  *
- * Copyright (c) 2015-2022, Postgres Professional
+ * Copyright (c) 2015-2024, Postgres Professional
  *
  *-------------------------------------------------------------------------
  */
diff --git a/pg_variables_record.c b/pg_variables_record.c
index dadb14f..498e532 100644
--- a/pg_variables_record.c
+++ b/pg_variables_record.c
@@ -3,7 +3,7 @@
  * pg_variables_record.c
  *	  Functions to work with record types
  *
- * Copyright (c) 2015-2022, Postgres Professional
+ * Copyright (c) 2015-2024, Postgres Professional
  *
  *-------------------------------------------------------------------------
  */
diff --git a/run_tests.sh b/run_tests.sh
index 2d88e36..654d071 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 #
-# Copyright (c) 2018-2022, Postgres Professional
+# Copyright (c) 2018-2024, Postgres Professional
 #
 # supported levels:
 #		* standard