{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"py3-pgsanity-0.2.9p1","path":"databases/py-pgsanity","url":"/packages/current/databases/py-pgsanity/","comment":"PostgreSQL SQL syntax checker","homepage":"https://pypi.org/project/pgsanity","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"PgSanity checks the syntax of Postgresql SQL files.\n\nIt does this by leveraging the ecpg command which is traditionally\nused for preparing C files with embedded sql for compilation.\nHowever, as part of that preparation, ecpg checks the embedded SQL\nstatements for syntax errors using the exact same parser that is\nin PostgreSQL.\n\nSo the approach that PgSanity takes is to take a file that has a\nlist of bare SQL in it, make that file look like a C file with\nembedded SQL, run it through ecpg and let ecpg report on the syntax\nerrors of the SQL.\n","package_architecture":"amd64","stem":"py3-pgsanity","readme":null,"dependencies":[{"path":"databases/postgresql","type":"runtime","package_spec":"","url":"/packages/current/databases/postgresql/"},{"path":"lang/python/3","type":"runtime","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"lang/python/3","type":"build","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"devel/py-build","type":"build","package_spec":"","url":"/packages/current/devel/py-build/"},{"path":"devel/py-installer","type":"build","package_spec":"","url":"/packages/current/devel/py-installer/"},{"path":"devel/py-setuptools","type":"build","package_spec":"py3-setuptools->=79v0","url":"/packages/current/devel/py-setuptools/"},{"path":"devel/py-wheel","type":"build","package_spec":"","url":"/packages/current/devel/py-wheel/"},{"path":"databases/postgresql","type":"test","package_spec":"","url":"/packages/current/databases/postgresql/"},{"path":"lang/python/3","type":"test","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"devel/py-test","type":"test","package_spec":"","url":"/packages/current/devel/py-test/"}],"reverse_dependencies":{"count":0,"url":null},"categories":["databases","lang/python"],"flavors":[],"only_for_architectures":["aarch64","amd64","arm","i386","mips64","mips64el","powerpc","powerpc64","riscv64","sparc64","alpha","hppa"],"not_for_architectures":[]}}
