Skip to content

Fix pgsql function signatures#5355

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/pgsql-sync-src
Open

Fix pgsql function signatures#5355
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/pgsql-sync-src

Conversation

@lacatoire
Copy link
Member

@lacatoire lacatoire commented Feb 6, 2026

Fix return types and parameter names for pgsql functions to match php-src stubs.

Return type fixes:
- pg_escape_identifier: false|string -> string, param $data -> $string
- pg_escape_literal: false|string -> string, param $data -> $string
- pg_parameter_status: false|string -> string, param name fixes
- pg_set_error_verbosity: false|int -> int

Parameter name fixes:
- pg_escape_bytea: $data -> $string
- pg_escape_string: $data -> $string
- pg_execute: $stmtname -> $statement_name
- pg_prepare: $stmtname -> $statement_name
- pg_lo_export: $pathname -> $filename
- pg_lo_import: $pathname -> $filename, $object_id -> $oid
- pg_put_line: $data -> $query
@lacatoire lacatoire closed this Mar 2, 2026
@lacatoire lacatoire reopened this Mar 24, 2026
@lacatoire lacatoire changed the title Fix 11 pgsql function signatures to match php-src stubs Fix pgsql function signatures Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant