X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7F414D1E12C for ; Fri, 20 Feb 2004 16:48:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41195-08 for ; Fri, 20 Feb 2004 12:48:13 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7B44DD1E0DE for ; Fri, 20 Feb 2004 12:48:13 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i1KGmC1Y080229 for ; Fri, 20 Feb 2004 16:48:12 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i1KGTaks077052 for pgsql-admin@postgresql.org; Fri, 20 Feb 2004 16:29:36 GMT From: hehe88hk@yahoo.com.hk (Eric) X-Newsgroups: comp.databases.postgresql.admin Subject: User Privileges on large object Date: 20 Feb 2004 08:29:35 -0800 Organization: http://groups.google.com Lines: 13 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/299 X-Sequence-Number: 12473 I would like to ask how to set user privileges on accessing large object? I find the documentation on the command "grant" does not mention much about this. I has been trying to use Tcl to create large object in the database. However, I can only create empty large object in the database. I fails add content to any large object created. Because I find "pg_lo_open" always fails to return a valid file descriptor every time. Therefore, I wonder if it is related to the user privileges. Thank you.