I have very little experience in PostgreSQL. I have been reading tutorials and documentation, and in order to create or drop a schema all of them say that I just need to execute:
CREATE SCHEMA myschema;
DROP SCHEMA myschema;
but it doesn't work. I finally stumble upon that I have to use:
CREATE SCHEMA myschema AUTHORIZATION pgsql;
DROP SCHEMA myschema RESTRICT;
Do I have a corrupted installation or maybe I added some feature that I shouldn't?
UPDATE: If I use pgAdmin from Mac OS X it works. I don't receive any error or alert of any kind. Basically I just log into pgsql account like this:
su pgsql
then
psql mydatabase
myuserand what rights did you grant it? Is this really PostgreSQL, or is it some PostgreSQL variant like Redshift/Greenplum/etc? I think you might just be running into issues with ownership, but since you've not shown the real commands you ran (given the typos), the exact error messages, or any info about the user and its rights it's hard to say.log_statement = 'all'and see what PgAdmin3 is doing. Still very, very weird. By "the pgsql user" do you mean the userpostgres? There isn't usually apgsqluser, unless the FreeBSD port is particularly different to the usual installs.