Database development
The PL/pgSQL language used for writing many types of functions is now installed in all databases by default. It can still be removed if desired. Triggers can be attached specifically to a column, eliminating unnecessary calls to trigger function that aren't needed unless specific columns are altered. It's also possible to restrict when a trigger fires using a WHEN clause, further cutting down on unnecessary calls to the trigger function.
The LISTEN/NOTIFY mechanism for passing messages between database clients is faster and allows sending a "payload" string message. This allows building some better cross-client messaging systems using the database itself than was possible before. Applications can set an application_name ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access