UPDATE: also asked on the PgAdmin-support mailing list here.
So I have an AWS Redshift cluster up and running, and I'm able to connect to it from the command line with
$ psql -h host -d database -p port -U username
I want to connect to the cluster through pgAdmin III, but after I connect to the cluster, I get an error that states:
Error: Must be superuser to view default_tablespace
Note, the fields I entered were: Name, Host, Port, Maintenance DB, Username, and Password, all of which were entered the same as with the psql command.
Now, if I connect via psql, and I check:
$ \tu
This user [the master user granted by AWS] is, in fact, a superuser. So are there any suggestions for what might be the cause of this error?
As a follow up question, when I connect to other remote dbs, I don't get this error even though I am not a superuser, so what is happening here? What about Redshift causes this error to happen when connecting via pgAdmin?
SHOW default_tablespace;
do inpsql
when connected to it? In this case I suspect they've bodged the internal permissions checks to hide system details.default_tablespace
GUC. PgAdmin-III is really intended for PostgreSQL not 3rd-party variants of it, but I imagine they'd accept a patch. Try asking on the pgadmin-support mailing list. If you do, link back to this question from your post, and add a link to the archive of your post here.