treewide: update sqlc

Change-Id: I72b0f33989bb0032d5a42bc888cdfac666db2a54
Reviewed-on: https://review.monogon.dev/c/monogon/+/2309
Reviewed-by: Serge Bazanski <serge@monogon.tech>
Tested-by: Jenkins CI
diff --git a/third_party/libpg_query/external.bzl b/third_party/libpg_query/external.bzl
index ab689ef..2a22ad4 100644
--- a/third_party/libpg_query/external.bzl
+++ b/third_party/libpg_query/external.bzl
@@ -2,7 +2,7 @@
 
 def libpg_query_external(name, version):
     sums = {
-        "13-2.2.0": "07916be1a2b780dee6feed936aaa04ccee2a3afde8570a6920c3a839c87539c6",
+        "15-4.2.3": "8b820d63442b1677ce4f0df2a95b3fafdbc520a82901def81217559ec4df9e6b",
     }
     http_archive(
         name = name,
diff --git a/third_party/libpg_query/external/BUILD.repo b/third_party/libpg_query/external/BUILD.repo
index c0f98a7..ad732b4 100644
--- a/third_party/libpg_query/external/BUILD.repo
+++ b/third_party/libpg_query/external/BUILD.repo
@@ -58,6 +58,6 @@
         "-Iexternal/libpg_query/vendor/xxhash",
     ],
     visibility = [
-        "@com_github_pganalyze_pg_query_go_v2//:__subpackages__",
+        "@com_github_pganalyze_pg_query_go_v4//:__subpackages__",
     ],
 )