]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
libpq: Send users to the wiki during grease failures
authorJacob Champion <jchampion@postgresql.org>
Fri, 29 May 2026 18:34:12 +0000 (11:34 -0700)
committerJacob Champion <jchampion@postgresql.org>
Fri, 29 May 2026 18:34:12 +0000 (11:34 -0700)
The existing documentation link for grease errors is fine, but something
a little more user-friendly and updatable would be ideal, since the
campaign won't last very long. The page

    https://wiki.postgresql.org/wiki/Grease

has been added for this purpose. (It's admin-protected, to avoid making
it a spam target).

Discussion: https://postgr.es/m/CAOYmi%2BkVfqgPAaR1QuY7%3DRPBYR6MsA3V3_f5%2BH-75uC06YCDDA%40mail.gmail.com

src/interfaces/libpq/fe-misc.c

index 325a485ef536b5eb62577f9e6cd42c8260dd11aa..905344d5c384e2c632688f00f88ac5ea15df1d2c 100644 (file)
@@ -1439,5 +1439,5 @@ libpq_append_grease_info(PGconn *conn)
                                                        "\tFor more information, including instructions on how to\n"
                                                        "\twork around this issue for now, visit\n"
                                                        "\t\t%s",
-                                                       "https://www.postgresql.org/docs/devel/libpq-connect.html#LIBPQ-CONNECT-MAX-PROTOCOL-VERSION");
+                                                       "https://wiki.postgresql.org/wiki/Grease");
 }