Skip to content

Postgres AWS RDS Transaction failure? #647

Description

@ronniehicks

Describe the bug
When attempting to run the following command against an AWS RDS Postgres instance it reports success but doesn't actually perform the scripts, with the exception of the permissions folder.

grate --silent --transaction --databasetype postgres -r xxx --commandtimeout 7200 --env dev --connectionstring "$(connectionString)" --files ${{ parameters.scriptsDir }} -v Trace

To Reproduce
Create a repo that deploys to an AWS RDS Postgres instance using transactions

Expected behavior
All scripts ran successfully

Desktop (please complete the following information):

  • OS: Linux

Additional context
In looking at the trace output I noticed that all scripts not in permissions would output:
[SQL] Running (on connection 'Default', transaction handling 'Default'):

However, the permissions folder would output:
[SQL] Running (on connection 'Default', transaction handling 'Autonomous'):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions