X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0BB2052D16 for ; Fri, 15 Jul 2005 03:21:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54236-01 for ; Fri, 15 Jul 2005 06:21:17 +0000 (GMT) Received: from gatekeeper.yes2etl.com (unknown [202.88.179.103]) by svr1.postgresql.org (Postfix) with ESMTP id B355C52CE7 for ; Fri, 15 Jul 2005 03:21:15 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6HEmOTN009688 for ; Sun, 17 Jul 2005 20:18:24 +0530 Received: from gatekeeper.yes2etl.com ([127.0.0.1]) by localhost (gatekeeper [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09337-07 for ; Sun, 17 Jul 2005 20:18:24 +0530 (IST) Received: from mtracks.yes2etl.com (mtracks.yes2etl.com [10.1.2.53]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6HEmLO2009684 for ; Sun, 17 Jul 2005 20:18:21 +0530 Received: from localhost (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6F6JnQH017805 for ; Fri, 15 Jul 2005 11:49:49 +0530 Received: from mtracks.yes2etl.com ([127.0.0.1]) by localhost (mtracks [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16088-02 for ; Fri, 15 Jul 2005 11:49:49 +0530 (IST) Received: from [10.1.2.15] (pc-15.yes2etl.com [10.1.2.15]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6F6JkHv017797 for ; Fri, 15 Jul 2005 11:49:46 +0530 Message-ID: <42D75535.6010403@yes2etl.com> Date: Fri, 15 Jul 2005 11:48:29 +0530 From: Minal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Has anyone accessed postgresql in linux from VB code Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.yes2etl.com X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.@@NET_DOMAIN@@ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/67 X-Sequence-Number: 5533 Has anyone accessed postgresql in linux from VB code??? I have added the following code.. Dim MyDB As New ADODB.Connection Dim Rc As New ADODB.Recordset Private Sub Command1_Click() MyDB.Provider = "PostgreSQL" MyDB.CursorLocation = adUseClient 'MyDB.Open "Data Source=10.1.2.86;Location=trainneedcorp;'db_admin','admin'" MyDB.Open "DRIVER={postgresql};DATABASE=trainneedcorp;Data Source=10.1.2.86;PORT=5432;UID=db_admin;PWD=admin;" End Sub I am getting the error "No postgresql username specified in startup package" Minal