jackc / jackc/pgx

What replaces pgtype.TextArray?

Open
#1,956 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14.3k
Forks
1.1k
Avg merge
6d 9h
Merged PRs (30d)
11

Description

Hi,

I'm in the process of refactoring some backend code that requires an upgrade to pgx v5, meaning we have to use the new type system. So far it's going okay, but I've hit a wall with pgtype.TextArray. On my models that previously used pgtype.TextArray, what is the correct type to use?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing pgx v5's new type system and the migration from pgtype.TextArray described in the issue. Determine which replacement type fits models that previously used pgtype.TextArray; the payload names no file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.