Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add column names to INSERT INTO .. VALUES and quote names as needed #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diffway
Copy link

@diffway diffway commented Jul 2, 2021

No description provided.

@ironbishop
Copy link

can you elaborate on why you suggest this, please?

@diffway
Copy link
Author

diffway commented Jul 22, 2021

@ironbishop thanks for comment.
INSERT commands (rather than COPY, which is the default for pg_dump) is more like logical backup, and its grep-able
Off cause it is painfully slow on restore, but it can be useful in some cases.
Consider the need to restore specific subset of data or export database in test environment with non-PostgreSQL DBMS.

@ironbishop
Copy link

ok. i'll merge this in my fork, thanks.
i also moved the options to the top together with the others.

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.

2 participants