diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml
index 3d1be41..816d77c 100644
--- a/.github/workflows/regression.yml
+++ b/.github/workflows/regression.yml
@@ -7,6 +7,7 @@ jobs:
       fail-fast: false
       matrix:
         pg:
+          - 19
           - 18
           - 17
           - 16
diff --git a/bin/pg_repack.c b/bin/pg_repack.c
index 1c930d1..9ff415f 100644
--- a/bin/pg_repack.c
+++ b/bin/pg_repack.c
@@ -444,7 +444,7 @@ is_superuser(void)
  * Raise an exception on error.
  */
 void
-check_tablespace()
+check_tablespace(void)
 {
 	PGresult		*res = NULL;
 	const char *params[1];
diff --git a/doc/pg_repack.rst b/doc/pg_repack.rst
index 398f782..f63699d 100644
--- a/doc/pg_repack.rst
+++ b/doc/pg_repack.rst
@@ -41,7 +41,7 @@ Requirements
 ------------
 
 PostgreSQL versions
-    PostgreSQL 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16, 17, 18.
+    PostgreSQL 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19.
 
     PostgreSQL 9.4 and before it are not supported.
 
