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
[ADMIN] Change ownership of a database - Mailing list pgsql-admin
From
Kevin Duffy
Subject
[ADMIN] Change ownership of a database
Date
February 9, 2017
05:33:30
Msg-id
CAHCyeW052x3hZJcBVX=kyb+zAnvF78i9aQba7BByo7J3saHnrw@mail.gmail.com
Whole thread
Raw
Responses
Re: [ADMIN] Change ownership of a database
Re: [ADMIN] Change ownership of a database
List
pgsql-admin
Tree view
Hello all:
I made a mistake. Maybe I was lazy.
I created a database and did some amount of development as postgres.
Now I need to get this changed to a log-on role say xxx-db-owner.
I have a bunch of tables , functions and user defined types.
I have created the role: xxx-db-owner.
And most important I have db backups and have a copy of the db on the server under a different name.
And I have written the sql to to the changes for the tables, functions and user defined types.
Question: the database and schema ownership needs to be changed also?
Is there an order I should do the changes in?
Is there a way I can shoot myself in the foot here.
Many thanks for your attention to this matter.
KBD
pgsql-admin
by date:
Previous
From:
Ganesh Kannan
Date:
08 February 2017, 23:56:11
Subject:
Re: [ADMIN] Recovery from Transaction wraparound failure
Next
From:
Steve Crawford
Date:
09 February 2017, 07:17:38
Subject:
Re: [ADMIN] Change ownership of a database
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
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