Repository navigation
pdo_pgsql: document ATTR_PREFETCH lazy fetch, fix copyFromArray sig - #5629
Merged
Merged
Conversation
jordikroon
requested changes
Jun 21, 2026
lacatoire
reviewed
Jun 22, 2026
Co-authored-by: Louis-Arnaud <la.catoire@gmail.com>
KentarouTakeda
added a commit
to php/doc-ja
that referenced
this pull request
Jul 10, 2026
PDO の PHP 8.5.0 非推奨対応と、pdo_pgsql の COPY/LOB メソッド・`PDO::ATTR_PREFETCH` の文書化を php/doc-en の以下に同期しました。 - php/doc-en@858400b (php/doc-en#5626) - php/doc-en@205c3b8 (php/doc-en#5629) - php/doc-en@8d40a1f (php/doc-en#5635) ### reference/pdo_pgsql(20件) — php/doc-en@858400b / php/doc-en@205c3b8 COPY/LOB メソッドの例・errors・changelog 追加、`PDO::ATTR_PREFETCH`(遅延フェッチ)、`TRANSACTION_*` 定数の非推奨警告、overloaded メソッドへの `#[\Deprecated]`/非推奨マークアップ。 constants / pdo-pgsql / reference / pdo/pgsql/*(8: copy・lob・get メソッド)/ pdo_overloaded/*(9: 8.5 非推奨) ### reference/pdo・pdo_mysql・pdo_firebird・pdo_odbc の constants(4件) — php/doc-en@8d40a1f PDO 定数の PHP 8.5.0 非推奨警告(対応する `Pdo\X` 定数への移行案内)。reference/pdo/constants.xml は `PDO::ATTR_PREFETCH` と `Pdo\Sqlite::DETERMINISTIC` の非推奨も追加。 ### reference/pdo_sqlite(3件) — php/doc-en@8d40a1f sqliteCreateAggregate / sqliteCreateCollation / sqliteCreateFunction への 8.5.0 非推奨マークアップ。 ### appendices/migration84/other-changes.xml(1件) — php/doc-en@858400b 定数名リネーム `PGSQL_ATTR_RESULT_MEMORY_SIZE` → `Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE`。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document the PHP 8.5 lazy (single-row) fetch mode: add a
PDO::ATTR_PREFETCHentry to the PDO_PGSQL constants describing the =0 toggle, its connection vs per-statement scope, and the single-active-statement caveat. Note the driver-specific behavior on the generic PDO::ATTR_PREFETCH entry.Update
Pdo\Pgsql::copyFromArray's rows parameter toarray|Traversablein the synopsis, matching the changelog entry already added in #5626 and closes tasks noted in the PHP 8.5 Documentation TrackerBehavior verified against PostgreSQL on PHP 8.5.7.