Aurora DSQL Gets PL/pgSQL Support for Stored Functions
Amazon Aurora DSQL now lets you write stored functions and procedures directly in PL/pgSQL, cutting down network trips and boosting performance for complex database operations. This capability rolls out across all AWS Regions where Aurora DSQL is available, making it easier to handle data validation, calculations, and multi-step transactions without leaving the database.
source: [aws/whats-new]