Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A6E59B5DEA6 for ; Tue, 23 Aug 2011 14:29:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 83082-03-2 for ; Tue, 23 Aug 2011 17:29:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id EB48FB5DD59 for ; Tue, 23 Aug 2011 14:19:54 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 800A028404; Tue, 23 Aug 2011 13:19:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=Xzt5C8HytDE1HCdsU5/FRjvhClE=; b=A827Vo MAfjSpZMDGKXYJRIWEehXAd14bNLw0fwjzApw8Z4YMwK70De/zx8osG04btf8Ud8 4QUP0Goo5J8ZPBYs9IQZVl1+RTEmBTdmGsl7SZhIGrg1rmTDNH5H4TdvSFWNyYMl leZFURzSRL6CPoMhATbAKBOaxWejw6tykSjcY= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 722912840E; Tue, 23 Aug 2011 13:19:52 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 5186FA43D; Tue, 23 Aug 2011 13:19:52 -0400 (EDT) Date: Tue, 23 Aug 2011 13:19:51 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Jonas Sundman cc: "pgsql-jdbc@postgresql.org" Subject: Re: getTablePrivileges empty if table owned by group role In-Reply-To: <4E539D4F.6090803@thl.fi> Message-ID: References: <4E4CD82E.3040102@thl.fi> <4E539D4F.6090803@thl.fi> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1603609428-1314119992=:20121" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.373 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.473 X-Spam-Level: X-Archive-Number: 201108/66 X-Sequence-Number: 22098 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1603609428-1314119992=:20121 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 23 Aug 2011, Jonas Sundman wrote: > after some digging and further reading in the todo list I learned that acl > parsing is known to be uncompatible with versions after 7.3. > > I decided to have a look into the code and turned up with a working > version of the acl parsing, which I would like to share. Great. Can you resend as a context diff (diff -c), the default format isn't really usable. Also we need to able to support the older ACL formats as well. I haven't read your patch, but my ancient notes say 7.3, 7.4, and 8.0 all have different formats. I know you aren't likely to have these old versions handy, but can you test with the attached ACL entries and ensure they get parsed correctly? Kris Jurka --0-1603609428-1314119992=:20121 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=ACLs Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=ACLs ODAgIHtqdXJrYT1hcndkUnh0L2p1cmthLHBlcm11c2VyPXJ3Ki9qdXJrYX0N Cjc0ICB7anVya2E9YSpyKncqZCpSKngqdCovanVya2EscGVybXVzZXI9cncq L2p1cmthfQ0KNzMgIHs9LGp1cmthPWFyd2RSeHQscGVybXVzZXI9cnd9DQoN CndpdGggZ3JhbnQgb3B0aW9uOg0KDQo4MCAge2p1cmthPWFyd2RSeHQvanVy a2EscGVybXVzZXI9cncqL2p1cmthLGdyYW50dXNlcj13L3Blcm11c2VyfQ0K NzQgIHtqdXJrYT1hKnIqdypkKlIqeCp0Ki9qdXJrYSxwZXJtdXNlcj1ydyov anVya2EsZ3JhbnR1c2VyPXcvcGVybXVzZXJ9DQoNCmdyb3VwczoNCg0KODAg e2p1cmthPWFyd2RSeHQvanVya2EscGVybXVzZXI9cncqL2p1cmthLGdyYW50 dXNlcj13L3Blcm11c2VyLCJncm91cCBwZXJtZ3JvdXA9YS9qdXJrYSJ9DQoN Cjc0IHtqdXJrYT1hKnIqdypkKlIqeCp0Ki9qdXJrYSxwZXJtdXNlcj1ydyov anVya2EsZ3JhbnR1c2VyPXcvcGVybXVzZXIsImdyb3VwIHBlcm1ncm91cD1h L2p1cmthIn0NCg0K --0-1603609428-1314119992=:20121--