Skip to content

Commit 8784e72

Browse files
committed
Remove SQL from message
1 parent 157e9e3 commit 8784e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Postgresql/PostgresqlDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ public function execute()
807807
{
808808
// Get the error number and message.
809809
$this->errorNum = (int) pg_result_error_field($this->cursor, PGSQL_DIAG_SQLSTATE) . ' ';
810-
$this->errorMsg = pg_last_error($this->connection) . "\nSQL=$sql";
810+
$this->errorMsg = pg_last_error($this->connection);
811811

812812
// Throw the normal query exception.
813813
$this->log(

0 commit comments

Comments
 (0)