Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdjR4-00073n-8q for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Apr 2015 18:01:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YdjR3-0004L0-O5 for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Apr 2015 18:01:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YdjR2-0004KK-Fj for pgsql-bugs@postgresql.org; Thu, 02 Apr 2015 18:01:44 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdjQy-0006g0-EW for pgsql-bugs@postgresql.org; Thu, 02 Apr 2015 18:01:43 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id t32I1SH21930 for ; Thu, 2 Apr 2015 11:01:29 -0700 Message-ID: <551D83F3.9060500@hogranch.com> Date: Thu, 02 Apr 2015 11:01:23 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #12939: GRANT ALL ON ALL SEQUENCES doesn't work for sequences not yet existing References: <20150401193930.2550.67536@wrigleys.postgresql.org> <20150401210755.GS3663@tamriel.snowman.net> <7123D00A1041B64F962A9AA1E8F045C503DCBB1221@KDCPEXCMB03.cof.ds.capitalone.com> <20150402175639.GY3663@tamriel.snowman.net> In-Reply-To: <20150402175639.GY3663@tamriel.snowman.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org > * Hale, Tyler (Tyler.Hale@capitalone.com) wrote: >> >Thanks for the insight Stephen. Do you know if this type of functionality is only limited to sequences or all types of database objects? I am relatively new to Postgres and am trying to come up with rules/best practices for my team to use when deploying new structures on Postgres. best practices IMHO are to include the GRANT's with the CREATE statements. grant permissions to groups rather than specific roles, and make the user roles members of those groups. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs