jackc / jackc/pgx

Support CopyFrom with options ON_ERROR ignore and LOG_VERBOSITY

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

Description

For Postgresql 17:
I would like to be able to run the **CopyFrom** function with the **ON_ERROR ignore** parameter.
It would be ideal if there was an option (**LOG_VERBOSITY**) to show which lines with which errors could not be inserted for output to the log.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CopyFrom entry point and reading the PostgreSQL 17 COPY documentation for ON_ERROR and LOG_VERBOSITY. Determine how these options should be exposed and how rejected lines and errors should reach the log. Done means CopyFrom supports the requested options with documented behavior and coverage for the new functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.