Skip to content

Conversation

@Brandon-Perry
Copy link

Type

  • Refactor
  • Feature
  • [ x ] Bug Fix
  • Optimization
  • Documentation Update

Description

In an older version of sql-pg, stream as an optional parameter was available, and has since been removed. I wanted to add it back since it doesn't seem like there's an alternative and sql-pg is just a wrapper around Pg.Pool.

I'm assuming this was just accidentally removed during the previous refactor. If there's an Effect-ful way of doing this let me know!

Related

  • Related Issue #
  • Closes #

@changeset-bot
Copy link

changeset-bot bot commented Jan 24, 2026

🦋 Changeset detected

Latest commit: 15ac547

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@effect/sql-pg Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

readonly username?: string | undefined
readonly password?: Redacted.Redacted | undefined

readonly stream?: () => Duplex | undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
readonly stream?: () => Duplex | undefined
readonly stream?: (() => Duplex) | undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

2 participants