Hi Paul,

What makes you say that that is “heavyweight”? For what it’s worth, many of
those modules used to just be directories inside the pgx library. Splitting
them out has been good for the ecosystem. In general, I’d encourage you not
to worry about a small handful of transitive dependencies, especially if
they are standard “x” libraries and things from the library author as is
the case here.

Best,
Andrew

On Mon, Feb 22, 2021 at 9:56 AM Paul Förster <paul.foers...@gmail.com>
wrote:

> Hi Matthew,
>
> > On 22. Feb, 2021, at 15:28, Matthew Holiday <matthew.holi...@nytimes.com>
> wrote:
> >
> > From the "status" section at the bottom of the README for pq:
> >
> > "This package is effectively in maintenance mode and is not actively
> developed. Small patches and features are only rarely reviewed and merged.
> We recommend using pgx which is actively maintained."
>
> in this case, can I reduce the heavyweight somehow? Why would I need all
> this stuff? I only want to be able to connect and do a few selects, no DML,
> no DDL, just a few select statements. Also, I'm a fan of small footprints.
> :-)
>
> I'm new to Go, so please bear with me if my question seems somewhat
> strange to you.
>
> Cheers,
> Paul
>
>
> $ go get github.com/jackc/pgx/v4
> go: downloading github.com/jackc/pgx/v4 v4.10.1
> go: downloading github.com/jackc/pgx v3.6.2+incompatible
> go: downloading github.com/jackc/pgio v1.0.0
> go: downloading github.com/jackc/pgconn v1.8.0
> go: downloading github.com/jackc/pgproto3 v1.1.0
> go: downloading github.com/jackc/pgtype v1.6.2
> go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
> go: downloading github.com/jackc/chunkreader v1.0.0
> go: downloading github.com/jackc/pgpassfile v1.0.0
> go: downloading github.com/jackc/pgservicefile
> v0.0.0-20200714003250-2b9c44734f2b
> go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
> go: downloading github.com/jackc/pgproto3/v2 v2.0.6
> go: downloading golang.org/x/text v0.3.3
> go: downloading github.com/jackc/chunkreader/v2 v2.0.1
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/B0F53786-F171-42DE-9413-8B54B99C2732%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BvRuzOgRRzdvEVV9DiPa-0cA9bjAtH89e2EGEh1wjd1%2B2omPA%40mail.gmail.com.

Reply via email to