Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id JAA04318 for postgres-redist; Tue, 30 Aug 1994 09:37:31 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199408301637.JAA04318@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from sunic.sunet.se (sunic.sunet.se [192.36.125.2]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id JAA04308 for ; Tue, 30 Aug 1994 09:37:22 -0700 Received: from cocos.fuw.edu.pl by sunic.sunet.se (8.6.8/2.03) id SAA28403; Tue, 30 Aug 1994 18:36:52 +0200 Received: from ccfs1.fuw.edu.pl by cocos.fuw.edu.pl (4.1/SMI-4.1) id AA12828; Tue, 30 Aug 94 18:37:02 +0200 Received: by ccfs1.fuw.edu.pl (4.1/SMI-4.1) id AA03123; Tue, 30 Aug 94 18:36:58 +0200 Date: Tue, 30 Aug 1994 18:36:57 +0200 (MET DST) From: Wojtek Bogusz X-Sender: Wojtek Bogusz Reply-To: Wojtek Bogusz Subject: Access to db/class from postmaster/packend ? To: Postgres Mailing List Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Tue, 30 Aug 94 09:37:31 -0700 Resent-XMts: smtp Hello, Two related questions: 1. How one can create a kind of system database like pg_user which is visible as a class from all of the databases ? (I just think "pg_user" works like this. May be I am wrong ? And where one can read about it ? :-) 2. Is it possible to access and query a database/class like above (like pg_user) from postmaster, while processing user authentication procedures ? I am thinking about some thing like this: user procedure which do the authentication for postgres gets user name and "password" (may be more). It should consult this data with information from some "pg_authentication_database". Does exist any standard way of querying database from postmaster and/or postgres backend ? Thank You, Wojtek ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================