Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
cannot remove schema public - Mailing list pgsql-admin
From
Szymon Guz
Subject
cannot remove schema public
Date
July 7, 2014
09:57:47
Msg-id
CAFjNrYu8GqD=17DimG9QtWoV1hPviqHxaZp2umWAPkpUOFAGYg@mail.gmail.com
Whole thread
Raw
Responses
Re: cannot remove schema public
Re: cannot remove schema public
List
pgsql-admin
Tree view
Hi,
while writing some tests for an application, I want to remove all tables and all schemas before running tests.
For the schema public I want to remove it and create again. However that doesn't work, I'm wondering if that's on purpose, or it's a kind of a bug.
I'm using user 'szymon' in my console.
Then I created a user:
create user test password 'test';
and database
create database test owner test;
I logged into the database as the user:
test=# \c test test
You are now connected to database "test" as user "test".
And the owner of the public schema is not test, however it's an owner of the test database.
test=# \dn
List of schemas
Name | Owner
--------+--------
public | szymon
(1 row)
When I try to remove the public schema, then I get:
test=> drop schema public cascade;
ERROR: must be owner of schema public
regards,
Szymon
pgsql-admin
by date:
Previous
From:
Kevin Grittner
Date:
02 July 2014, 19:13:37
Subject:
Re: WAL archiving to 2 standby servers
Next
From:
Thomas Kellerer
Date:
07 July 2014, 10:20:14
Subject:
Re: cannot remove schema public
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies