supabase / pgadmin4

Mirror of the pgAdmin 4 GIT repo. DO NOT submit pull requests here! Use the pgadmin-hackers@lists.postgresql.org mailing list. Issues should be logged at https://redmine.postgresql.org/projects/pgadmin4.
https://www.pgadmin.org
Other
12 stars 2 forks source link

Remove `MESSAGE` and `BEGIN`/`END` from diff #11

Closed soedirgo closed 3 years ago

soedirgo commented 3 years ago

Better to leave txn-wrapping to the user, e.g. the Supabase CLI automatically wraps migration files with BEGIN/END.

steve-chavez commented 3 years ago

This one should be simple. The BEGIN/END are added here:

https://github.com/supabase/pgadmin4/blob/5dcd30f188fd4f107f51d4e3ab7dfe661383ba80/web/cli.py#L356-L363

I did that to be compliant with the pgadmin GUI output(also adds BEGIN/END to the diff).