Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbC7a-0005e7-2E for pgsql-sql@arkaria.postgresql.org; Fri, 28 Jul 2017 20:44:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dbC7Z-0006N2-5E for pgsql-sql@arkaria.postgresql.org; Fri, 28 Jul 2017 20:44:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dbC6Z-0004bC-Nj for pgsql-sql@postgresql.org; Fri, 28 Jul 2017 20:43:27 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbC6W-0001OD-Ix for pgsql-sql@postgresql.org; Fri, 28 Jul 2017 20:43:27 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 687245703A894 for ; Fri, 28 Jul 2017 13:43:22 -0700 (MST) Date: Fri, 28 Jul 2017 13:43:22 -0700 (MST) From: srilinux To: pgsql-sql@postgresql.org Message-ID: <1501274602412-5973259.post@n3.nabble.com> Subject: created database but access is not copied ? any suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Hi All I have created the below standby database using the below command CREATE DATABASE standby OWNER admin TABLESPACE assembly; this worked but the assembly database has privileges which are not copied to standby server , is there any thing that need to be added in the create syntax or do after the standby db is created ? Below is the list , how to grant access privileges postgres=# \list List of databases Name | Owner | Encoding | Collate | Ctype | Access privileg es -----------+----------+----------+-------------+-------------+------------------ ----- postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | *standby | admin | UTF8 | en_US.UTF-8 | en_US.UTF-8 |* *assembly | admin | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =Tc/admin + | | | | | admin=CTc/adm in* template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/post gres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/post gres (5 rows) -- View this message in context: http://www.postgresql-archive.org/created-database-but-access-is-not-copied-any-suggestions-tp5973259.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql