r2dbc-postgresql icon indicating copy to clipboard operation
r2dbc-postgresql copied to clipboard

GH-670 Include the OID explicitly in the SELECT clause

Open HyunSangHan opened this issue 6 months ago • 0 comments
trafficstars

Make sure that:

  • [x] You have read the contribution guidelines.
  • [x] You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
  • [x] You use the code formatters provided here and have them applied to your changes. Don't submit any formatting related changes.
  • [x] You submit test cases (unit or integration tests) that back your changes.

Issue description

  • This change addresses a compatibility issue with PostgreSQL 11.
  • In PostgreSQL 11, the oid column is considered a system column and is not included by default in SELECT * queries. As a result, the query must explicitly specify the oid field to retrieve it. This change updates the query to ensure the oid is selected explicitly for proper behavior across PostgreSQL versions.

New Public APIs

None.

Additional context

  • No other functional changes were introduced.
  • Closes #670

HyunSangHan avatar May 18 '25 07:05 HyunSangHan