Received: from mail1.rdc3.on.home.com (mail1.rdc3.on.home.com [24.2.9.40]) by hub.org (8.9.3/8.9.3) with ESMTP id XAA83867 for ; Sun, 21 May 2000 23:41:45 -0400 (EDT) (envelope-from antipode@thpoon.com) Received: from tea.thpoon.com ([24.114.152.71]) by mail1.rdc3.on.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000522034140.NWUW416.mail1.rdc3.on.home.com@tea.thpoon.com> for ; Sun, 21 May 2000 20:41:40 -0700 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 12tj63-0001Eh-00 for ; Sun, 21 May 2000 23:41:39 -0400 To: pgsql-interfaces@hub.org Subject: emacs and postgres on another host From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d; }2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com Mail-Copies-To: never Date: 21 May 2000 23:41:39 -0400 Message-ID: <87zopjgsjw.fsf@tea.thpoon.com> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200005/29 How would I specify for M-x sql-postgres that I want to connect to postgres running on another host? (I use "psql -u -h host dbname" command in a terminal window...) I tried modified call to sql-get-login in sql.el, supplying symbols 'user and 'password, and now I am prompted for user and password, but still I can't connect, getting this: ,----[ *SQL* buffer ] | Connection to database 'antipode' failed. | fe_sendauth: no password supplied | | | Process SQL exited abnormally with code 1 `---- I'm using sql.el 1.4.11 with psql 6.5.3. Any ideas? -- Arcady Genkin http://www.thpoon.com Nostalgia isn't what it used to be.