Skip to content

Comments

Don't generate invalid SQL in CopyIn() if the list of columns is empty#1239

Merged
arp242 merged 1 commit intomasterfrom
copyall
Jan 19, 2026
Merged

Don't generate invalid SQL in CopyIn() if the list of columns is empty#1239
arp242 merged 1 commit intomasterfrom
copyall

Conversation

@arp242
Copy link
Collaborator

@arp242 arp242 commented Jan 19, 2026

Previously it would generate invalid SQL:

COPY "tbl" () FROM STDI

With this, it will copy all columns:

COPY "tbl" FROM STDIN

Fixes #388

Previously it would generate invalid SQL:

	COPY "tbl" () FROM STDI

With this, it will copy all columns:

	COPY "tbl" FROM STDIN

Fixes #388
@arp242 arp242 merged commit e1fe058 into master Jan 19, 2026
13 checks passed
@arp242 arp242 deleted the copyall branch January 19, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant