Skip to content

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

Open
diffway wants to merge 1 commit into
maxhq:masterfrom
diffway:feature_optional_column_names
Open

Add column names to INSERT INTO .. VALUES and quote names as needed#29
diffway wants to merge 1 commit into
maxhq:masterfrom
diffway:feature_optional_column_names

Conversation

@diffway

@diffway diffway commented Jul 2, 2021

Copy link
Copy Markdown

No description provided.

@ironbishop

Copy link
Copy Markdown

can you elaborate on why you suggest this, please?

@diffway

diffway commented Jul 22, 2021

Copy link
Copy Markdown
Author

@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
Copy Markdown

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