I'm running into "Connection terminated unexpected...
# help
h
I'm running into "Connection terminated unexpectedly" errors when I try to rename a table (
alter table "employees" rename to "people"
). I've tried doing it a few different ways. It's fine if I use the Supabase dashboard (using the UI or writing my own SQL), but if I connect directly via DBeaver the connection gets terminated when trying the run that statement. Is this expected behaviour or is something going wrong here?
g
Probably has to do with user PostGres (connection owner) not having ownership of those tables if they were created in the UI.
h
Good theory! I tried creating the table from the client instead of the Supabase UI, but the same problem happens.
I've opened in issue on GitHub: https://github.com/supabase/supabase/issues/3688
g
I just now created a table from PHPSTORM with the database plugin (basically DataGrip). Oh wait maybe you created it OK, just could not alter it.... I'll check
h
Yeah, it's the altering that causes the problem for me. Creating is no problem.
g
Yep. Error on rename. I know I can do columns and such. Odd.
h