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

Feature: Add DB comments for PG producer #137

Merged
merged 5 commits into from
Jul 8, 2022

Conversation

rabbiveesh
Copy link
Contributor

Many databases support storing comments as part of the actual schema.
Postgres is one of them, just the syntax is slightly different than other RDBMS, b/c you
can't define it inline with the table definition.

This PR adds the ability to write out comments using the COMMENT command documented
here
.

It follows the example of the MySQL producer and puts all comments into the schema,
including ones that were parsed as DDL only comments (line comments starting with --).

@rabbiveesh rabbiveesh merged commit 0ab2e01 into dbsrgits:master Jul 8, 2022
@rabbiveesh rabbiveesh deleted the feature/correct-comments-pg branch July 8, 2022 06:30
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.

None yet

1 participant