Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8CEE69FA0B7 for ; Wed, 20 Dec 2006 18:42:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 98765-04 for ; Wed, 20 Dec 2006 18:42:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from wolff.to (wolff.to [66.93.197.194]) by postgresql.org (Postfix) with SMTP id 13F9A9F9DAD for ; Wed, 20 Dec 2006 18:42:06 -0400 (AST) Received: (qmail 13222 invoked by uid 500); 20 Dec 2006 22:43:10 -0000 Date: Wed, 20 Dec 2006 16:43:10 -0600 From: Bruno Wolff III To: Murray Cumming Cc: "Jeroen T. Vermeulen" , pgsql-interfaces Subject: Re: Embedding postgresql in my application Message-ID: <20061220224310.GA10755@wolff.to> Mail-Followup-To: Bruno Wolff III , Murray Cumming , "Jeroen T. Vermeulen" , pgsql-interfaces References: <1166225144.12609.2.camel@localhost.localdomain> <20058.125.24.243.222.1166249768.squirrel@webmail.xs4all.nl> <1166542613.20613.19.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1166542613.20613.19.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/23 X-Sequence-Number: 6357 On Tue, Dec 19, 2006 at 16:36:53 +0100, Murray Cumming wrote: > On Sat, 2006-12-16 at 13:16 +0700, Jeroen T. Vermeulen wrote: > > f your application > > can run under many different user identities and each should have its > > own > > database user, use "ident sameuser" > > I believe that ident authentication requires an additional service such > as gidentd. Well, I think that's been my experience in the past. If your running on a unix like machine that supports something like getpeername and using domain sockets then you wouldn't need to set up a separate process to do this. In the Windows world I think you are stuck.