Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Nov 22, 2024
1 parent 75dec96 commit 282f509
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions generated/functionsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@
'pg_result_error_field',
'pg_result_seek',
'pg_select',
'pg_set_chunked_rows_size',
'pg_socket',
'pg_trace',
'pg_update',
Expand Down
18 changes: 18 additions & 0 deletions generated/pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,24 @@ function pg_select($connection, string $table_name, array $conditions, int $flag
}


/**
*
*
* @param \PgSql\Connection $connection An PgSql\Connection instance.
* @param int $size
* @throws PgsqlException
*
*/
function pg_set_chunked_rows_size(\PgSql\Connection $connection, int $size): void
{
error_clear_last();
$safeResult = \pg_set_chunked_rows_size($connection, $size);
if ($safeResult === false) {
throw PgsqlException::createFromPhpError();
}
}


/**
* pg_socket returns a read only resource
* corresponding to the socket underlying the given PostgreSQL connection.
Expand Down
1 change: 1 addition & 0 deletions rector-migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@
'pg_result_error_field' => 'Safe\pg_result_error_field',
'pg_result_seek' => 'Safe\pg_result_seek',
'pg_select' => 'Safe\pg_select',
'pg_set_chunked_rows_size' => 'Safe\pg_set_chunked_rows_size',
'pg_socket' => 'Safe\pg_socket',
'pg_trace' => 'Safe\pg_trace',
'pg_update' => 'Safe\pg_update',
Expand Down

0 comments on commit 282f509

Please sign in to comment.