pg_last_notice
PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
pg_last_notice - Returns the last notice message from PostgreSQL server
Code Examples
Example #1 pg_last_notice example
Result: CREATE TABLE will create implicit sequence "test_id_seq" for "serial" column "test.id"