pg_last_notice
symfony/var-dumper
Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Returns the last notice message from PostgreSQL server
pg_last_notice
(
PgSql\Connection $connection
,
int $mode
=
PGSQL_NOTICE_LAST
): array|
string
|
bool
$a
[
'pid'
] =
pg_get_pid
(
$link
);
$a
[
'last error'
] =
pg_last_error
(
$link
);
$a
[
'last notice'
] =
pg_last_notice
(
$link
);
$a
[
'host'
] =
pg_host
(
$link
);
$a
[
'port'
] =
pg_port
(
$link
);
$a
[
'dbname'
] =
pg_dbname
(
$link
);
Caster/PgSqlCaster.php