third_party: add libpg_query and sqlc

This adds sqlc, a SQL query code generator for Go (and other languages).
It in turn requires pganalyze's libpg_query, which is a C library for
parsing PostgreSQL queries.

To test:

   $ bazel build @com_github_kyleconroy_sqlc//cmd/sqlc

In the future this will be used by Bazel rules to generate sources at
build time.

Change-Id: I369c9ab503e8ce6952fd3f73c233dd3d59922358
Reviewed-on: https://review.monogon.dev/c/monogon/+/882
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/build/sqlc/tool-dep/gomod-generated-placeholder.go b/build/sqlc/tool-dep/gomod-generated-placeholder.go
new file mode 100644
index 0000000..924235c
--- /dev/null
+++ b/build/sqlc/tool-dep/gomod-generated-placeholder.go
@@ -0,0 +1,13 @@
+//go:build tools
+// +build tools
+
+// This is a synthetic file which depends on the sqlc binary. That in turn
+// makes `go mod tidy` pick it up, which in turns makes it available to Bazel.
+package main
+
+import (
+	_ "github.com/kyleconroy/sqlc/pkg/cli"
+)
+
+func main() {
+}