aws / pg_tle

Framework for building trusted language extensions for PostgreSQL
Apache License 2.0
333 stars 31 forks source link

Block postmaster startup if clientauth background workers fail to register #254

Closed adamguo0 closed 9 months ago

adamguo0 commented 9 months ago

Issue #, if available: https://github.com/aws/pg_tle/issues/252

Description of changes: On init, check if clientauth's workers have been added to the registration list. If any are missing then fail postmaster startup. Emit an error for administrator to check max_worker_processes and pgtle.clientauth_num_parallel_workers.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.