Skip to content

Obsolete NpgsqlLargeObjectManager #4756

Closed

Description

@roji

The API isn't great (e.g. it doesn't allow batching, #4755), and there's no advantage in using it over just calling the functions directly. Also, anyone can implement this as an external package.

Activity

  1. added this to the 8.0.0 milestone on Nov 15, 2022
  2. self-assigned this
    on Nov 15, 2022
  3. rwasef1830 commented on Nov 15, 2022

    @rwasef1830
    Contributor

    I suggest not obsoleting it, but instead splitting the existing API off into a separate NuGet package and exposing the needed internals in Npgsql to allow people to base off it more advanced cases.

  4. roji commented on Nov 15, 2022

    @roji
    MemberAuthor

    @rwasef1830 there are no needed Npgsql internals to be exposed, as far as I can remember. The point is that the current API really isn't great (no batching as you pointed out) and also doesn't provide a significant advantage over just doing thing with commands and readers. I'd also prefer not to own such an external package; since anyone can maintain it, there's no reason for it to be part of Npgsql (either the package or the project).

  5. added 4 commits that reference this issue on Nov 13, 2023
    32f43a0
    b4b9818
    e422b87
    3c837ef
  6. added a commit that references this issue on Nov 13, 2023
    dfa5c16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions