aws / pg_tle

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

Fix flaky test failure from pg_reload_conf timing #237

Closed adamguo0 closed 1 year ago

adamguo0 commented 1 year ago

Description of changes: New validuntil test in pg_tle_api.sql is failing occasionally due to timing issue after pg_reload_conf. Reconnect to database using \c after each pg_reload_conf to ensure parameters are updated.

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