-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: dump postgres records #709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I will give it a try soon.
…hon version [skip ci]
…e local directory
Further Updates
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No idea why, but for some reason when writing the object with |
Could confirm the fix here, thanks! |
Closes #705
Changes
pg-dd
command that can dump the local database, upload/download dumps to S3, and load dumps into the database.copy ... from/to stdin/stdout
SQL command. The reason this is used of pg_dump is because it's easier to embed in a Lambda function, and it allows executing custom sql queries to fetch records (which is used for filemanager).psycopg
has good support for this compared to TypeScript.