Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7E6B61337B93 for ; Thu, 9 Dec 2010 22:41:39 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 68994-05 for ; Fri, 10 Dec 2010 02:41:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id CC6AD1337B7F for ; Thu, 9 Dec 2010 22:41:38 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id oBA2fcsv090344 for ; Fri, 10 Dec 2010 02:41:38 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id oBA2fcSN090343; Fri, 10 Dec 2010 02:41:38 GMT (envelope-from www) Date: Fri, 10 Dec 2010 02:41:38 GMT Message-Id: <201012100241.oBA2fcSN090343@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5788: I can drop table , with other user's table From: "nobuyuki yoshida" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201012/71 X-Sequence-Number: 28877 The following bug has been logged online: Bug reference: 5788 Logged by: nobuyuki yoshida Email address: nob-yoshida@fissc.co.jp PostgreSQL version: 8.4.5 Operating system: centos 5.5 Description: I can drop table , with other user's table Details: Hi. I found a bug:I can drop a table with not owner user. Document says "Only its owner can drop a table.", but a fuct is not so. Here is steps to reproduce: 1. command with postgres on psql create schema scm_test; create user scm_test; alter schema scm_test owner to scm_test; create table scm_test.test (id char(10)); 2. command with scm_test on psql drop table test; Then, success drop user postgres's table with user scm_test!