Skip to content

Decide what to do with ParameterDirection.ReturnValue #5825

Open

Description

@roji

ADO.NET has ParameterDirection.ReturnValue, since SQL Server (and apparently Oracle) have the concept of a sproc return value; but PostgreSQL doesn't. Our current behavior is to simply ignore parameters with this direction - they do not get populated. This behavior may help certain types of cross-database code, though it's a bit difficult to see how correct the current behavior is, given it doesn't actually populate the parameter.

Note that we unintentionally started throwing for ParameterDirection.ReturnValue in 8.0, and added a specific ignore for it (#5796).

Activity

  1. added this to the 9.0.0 milestone on Sep 4, 2024
  2. modified the milestones: 9.0.0, 10.0.0 on Oct 21, 2024
  3. modified the milestones: 10.0.0, 11.0.0 on Oct 1, 2025
  4. modified the milestones: 11.0.0, 12.0.0 on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions