Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0V3iml47386 for ; Wed, 30 Jan 2002 22:44:48 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g0V3hff29736; Wed, 30 Jan 2002 22:43:42 -0500 (EST) To: Hiroshi Inoue cc: Bill Studenmund , Peter Eisentraut , PostgreSQL Development Subject: Re: RFD: schemas and different kinds of Postgres objects In-reply-to: <3C58BBB3.58D5F964@tpf.co.jp> References: <3C573C5E.F01B48C2@tpf.co.jp> <27527.1012432386@sss.pgh.pa.us> <3C58A472.2E90C21C@tpf.co.jp> <29268.1012444330@sss.pgh.pa.us> <3C58BBB3.58D5F964@tpf.co.jp> Comments: In-reply-to Hiroshi Inoue message dated "Thu, 31 Jan 2002 12:36:19 +0900" Date: Wed, 30 Jan 2002 22:43:41 -0500 Message-ID: <29733.1012448621@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200201/1369 X-Sequence-Number: 18325 Hiroshi Inoue writes: > For example, doesn't 'DROP table a_table' drop the > a_table table in a schema in the *path* if there's > no a_table table in the current schema ? Sure. And that's exactly what it should do, IMHO. Otherwise the notion that you can ignore your private schema (at the front of the path) if you're not using it falls down. Also, we wouldn't be able to implement temp tables via a backend-local schema at the front of the path. Any security concerns here should be addressed by putting ACLs on the schemas you don't want altered; not by contorting the notion of a search path to work for some operations and not others. regards, tom lane