Files
neon/test_runner/sql_regress
Konstantin Knizhnik dfa055f4be Support event trigger for Neon users (#10624)
## Problem

https://github.com/neondatabase/neon/issues/7570

Even triggers are supported only for superusers.

## Summary of changes

Temporary switch to superuser when even trigger is created and disable
execution of user's even triggers under superuser.

---------

Co-authored-by: Dimitri Fontaine <dim@tapoueh.org>
Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
2025-06-17 15:44:50 +00:00
..
2022-08-30 18:25:38 +03:00

Simple tests that only need a PostgreSQL connection to run. These are run by the regress/test_pg_regress.py test, which uses the PostgreSQL pg_regress utility.

To add a new SQL test:

  • add sql script to run to neon_regress/sql/testname.sql
  • add expected output to neon_regress/expected/testname.out
  • add testname to parallel_schedule

That's it. For more complex tests see PostgreSQL regression tests in src/test/regress. These work basically the same.