Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9H3KMP69216 for ; Tue, 16 Oct 2001 23:20:22 -0400 (EDT) (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 f9H3H7c24966; Tue, 16 Oct 2001 23:17:08 -0400 (EDT) To: "Mihai Gheorghiu" cc: pgsql-general@postgresql.org Subject: Re: User privileges In-reply-to: <001301c15667$b12fbac0$6e646464@New6.Travel> References: <001301c15667$b12fbac0$6e646464@New6.Travel> Comments: In-reply-to "Mihai Gheorghiu" message dated "Tue, 16 Oct 2001 13:26:22 -0400" Date: Tue, 16 Oct 2001 23:17:07 -0400 Message-ID: <24963.1003288627@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200110/475 X-Sequence-Number: 16282 "Mihai Gheorghiu" writes: > It is possible that a user is a member of more than one group. > Do this user's privileges AND or OR the privileges of each of the two > groups? OR. A user's privileges are always the union of what he has personally and what he has via any group. See aclcheck() in src/backend/catalog/aclchk.c: it keeps looking for any way to grant permission. regards, tom lane