From jaydip_rathod@yahoo.com Fri Dec 27 05:21:56 2002 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4362F4759AF for ; Fri, 27 Dec 2002 00:21:56 -0500 (EST) Received: from web40506.mail.yahoo.com (web40506.mail.yahoo.com [66.218.78.123]) by postgresql.org (Postfix) with SMTP id 44DE747616E for ; Fri, 27 Dec 2002 00:21:42 -0500 (EST) Message-ID: <20021227052147.4290.qmail@web40506.mail.yahoo.com> Received: from [202.63.172.2] by web40506.mail.yahoo.com via HTTP; Thu, 26 Dec 2002 21:21:47 PST Date: Thu, 26 Dec 2002 21:21:47 -0800 (PST) From: jaydip rathod Subject: help To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/7 X-Sequence-Number: 2506 Dear Sir, I am trying to access the PostgreSQL files from my Microsoft Visual Foxpro 6.0 application running on Windows 98. I specified ODBC PostgreSQL driver on the visual Foxpro for windows. and what port should i specify while connecting the server. bye jaydeep __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From smangubat@msc.edu.ph Fri Mar 28 03:35:08 2003 X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CCBDB47580B for ; Thu, 27 Mar 2003 22:35:08 -0500 (EST) Received: from hs.msc.edu.ph (unknown [210.23.230.199]) by postgresql.org (Postfix) with SMTP id CBA6F474E44 for ; Thu, 27 Mar 2003 22:34:48 -0500 (EST) Received: (qmail 29794 invoked from network); 28 Mar 2003 03:35:20 -0000 Received: from unknown (HELO Sol) (210.23.230.244) by 210.23.230.199 with SMTP; 28 Mar 2003 03:35:20 -0000 Message-ID: <001b01c2f4dc$c50644a0$f4e617d2@msc.net.ph> Reply-To: "Sol M. Ferrer" From: "Sol M. Ferrer" To: Subject: HELP Date: Fri, 28 Mar 2003 11:47:34 +0800 Organization: MSC Software Division MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C2F51F.D2D59840" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Status: No, hits=0.4 required=5.0 tests=HTML_40_50 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/82 X-Sequence-Number: 2801 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C2F51F.D2D59840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm using VB 6 with the database postgreSQL, my problem is when i used move= last or moveprevious .. error popup and say's "The row set does not support= fetching backwards". I attach my sample code. Option Explicit Dim WithEvents dbInvAct As ADODB.Connection Dim rsChart As ADODB.Recordset Private Sub Form_Load() Set dbInvAct =3D New ADODB.Connection dbInvAct.ConnectionString =3D "provider=3Dmsdasql.1; " & "data source= =3DPostgreSQL; initial catalog=3Daccounting;" dbInvAct.Properties("User Id").Value =3D "user" dbInvAct.Properties("Password").Value =3D "password" dbInvAct.Open =20=20=20=20 Set rsChart =3D dbInvAct.Execute("Select * from Chart") End Sub Function Next() If rschart.EOF Or rschart.BOF Then MsgBox "Database Empty!", vbCritical Else rschart.MoveNext If rschart.EOF Then MsgBox "End of File Encountered!", vbExclamation rschart.MoveLast=20 End If End If End Sub ------=_NextPart_000_0018_01C2F51F.D2D59840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
I'm using VB 6 with the database= =20 postgreSQL, my problem is when i used movelast or moveprevious .. error pop= up=20 and say's "The row set does not support fetching backwards". I attach my sa= mple=20 code.
 
Option Explicit
Dim WithEvents = dbInvAct=20 As ADODB.Connection
Dim rsChart As ADODB.Recordset
 
Private Sub Form_Load()
    Set dbInvAct = =3D New=20 ADODB.Connection
    dbInvAct.ConnectionString =3D=20 "provider=3Dmsdasql.1; " & "data source=3DPostgreSQL; initial=20 catalog=3Daccounting;"
    dbInvAct.Properties("User Id")= .Value=20 =3D "user"
    dbInvAct.Properties("Password").Value =3D= =20 "password"
    dbInvAct.Open
   =20
    Set rsChart =3D dbInvAct.Execute("Select * from=20 Chart")
End Sub
 
Function Next()
    If rschar= t.EOF Or=20 rschart.BOF=20 Then
           = =20 MsgBox "Database Empty!",=20 vbCritical
       =20 Else
           = =20 rschart.MoveNext
         &= nbsp; =20 If rschart.EOF=20 Then
           &= nbsp;   =20 MsgBox "End of File Encountered!",=20 vbExclamation
         &nbs= p;     =20 rschart.MoveLast 
           End= =20 If
    End If
End Sub
------=_NextPart_000_0018_01C2F51F.D2D59840-- From akkan@euclid.ii.metu.edu.tr Thu Aug 28 07:47:47 2003 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 52FDED1B8A3 for ; Thu, 28 Aug 2003 07:47:47 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 75369-09 for ; Thu, 28 Aug 2003 04:47:17 -0300 (ADT) Received: from euclid.ii.metu.edu.tr (euclid.ii.metu.edu.tr [144.122.98.130]) by svr1.postgresql.org (Postfix) with ESMTP id 54490D1B8BD for ; Thu, 28 Aug 2003 04:47:13 -0300 (ADT) Received: from euclid.ii.metu.edu.tr (localhost [127.0.0.1]) by euclid.ii.metu.edu.tr (8.12.8/8.12.8) with ESMTP id h7S7lD6R024157 for ; Thu, 28 Aug 2003 10:47:13 +0300 (EET DST) Received: from localhost (akkan@localhost) by euclid.ii.metu.edu.tr (8.12.8/8.12.8/Submit) with ESMTP id h7S7lCeK019158 for ; Thu, 28 Aug 2003 10:47:12 +0300 (EET DST) Date: Thu, 28 Aug 2003 10:47:12 +0300 (EET DST) From: Burcu Akkan To: pgsql-odbc@postgresql.org Subject: help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/69 X-Sequence-Number: 3189 Hello; I couln't provide the connection using ODBC driver. I enabled the tcpip_socket. What can I do more? Please help me.. From dev@archonet.com Fri Aug 29 10:01:02 2003 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C4090D1B8CC for ; Fri, 29 Aug 2003 10:01:02 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 06539-10 for ; Fri, 29 Aug 2003 07:00:54 -0300 (ADT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id 0ED57D1B8BD for ; Fri, 29 Aug 2003 07:00:52 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 19sg3p-0004We-0Z; Fri, 29 Aug 2003 11:00:53 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id C7BD716AA2; Fri, 29 Aug 2003 11:00:51 +0100 (BST) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 2EA5316A85; Fri, 29 Aug 2003 11:00:51 +0100 (BST) From: Richard Huxton To: Burcu Akkan , pgsql-odbc@postgresql.org Subject: Re: help Date: Fri, 29 Aug 2003 11:00:50 +0100 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308291100.50154.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/71 X-Sequence-Number: 3191 On Thursday 28 August 2003 08:47, Burcu Akkan wrote: > Hello; > I couln't provide the connection using ODBC driver. I enabled the > tcpip_socket. What can I do more? Please help me.. 1. Make sure you can access PG from the client machine using psql 2. Turn on logging for the ODBC driver, then check the logs 3. Come back to the list with the precise error message -- Richard Huxton Archonet Ltd From eugen_ste@hotmail.com Tue Nov 9 17:19:12 2004 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 079723A3D4B for ; Tue, 9 Nov 2004 17:19:12 +0000 (GMT) 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 98212-05 for ; Tue, 9 Nov 2004 17:19:05 +0000 (GMT) Received: from hotmail.com (bay24-f29.bay24.hotmail.com [64.4.18.79]) by svr1.postgresql.org (Postfix) with ESMTP id 9A6E63A3D30 for ; Tue, 9 Nov 2004 17:19:04 +0000 (GMT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 9 Nov 2004 09:19:03 -0800 Received: from 80.97.82.57 by by24fd.bay24.hotmail.msn.com with HTTP; Tue, 09 Nov 2004 17:18:41 GMT X-Originating-IP: [80.97.82.57] X-Originating-Email: [eugen_ste@hotmail.com] X-Sender: eugen_ste@hotmail.com From: "eugen stefanescu" To: pgsql-odbc@postgresql.org Subject: HELP! Date: Tue, 09 Nov 2004 19:18:41 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Nov 2004 17:19:03.0619 (UTC) FILETIME=[35EF1130:01C4C680] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/21 X-Sequence-Number: 4635 I want browse the project in VC++6. When I try to build the project I receive this: Compiling... bind.c columninfo.c connection.c convert.c dlg_specific.c dlg_wingui.c drvconn.c environ.c execute.c gpps.c info.c info30.c lobj.c misc.c multibyte.c odbcapi.c odbcapi30.c options.c parse.c pgapi30.c pgtypes.c psqlodbc.c qresult.c results.c setup.c socket.c statement.c tuple.c tuplelist.c win_md5.c win_unicode.c Linking... Creating library Debug/psqlodbc.lib and object Debug/psqlodbc.exp connection.obj : error LNK2001: unresolved external symbol _EncryptMD5 Debug/psqlodbc.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe. psqlodbc.dll - 2 error(s), 0 warning(s) Thanks for your help! Regards, Eugen _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ From fermario@yahoo.com Mon May 16 22:49:13 2005 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 81BCF52825 for ; Mon, 16 May 2005 19:49:13 -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 54490-10 for ; Mon, 16 May 2005 22:49:12 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id D658252815 for ; Mon, 16 May 2005 19:49:11 -0300 (ADT) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id A6B9864B962 for ; Mon, 16 May 2005 19:49:15 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57594-08 for ; Mon, 16 May 2005 22:49:02 +0000 (GMT) Received: from ganymede.hub.org (blk-222-81-172.eastlink.ca [24.222.81.172]) by hub.org (Postfix) with ESMTP id 496A564B953 for ; Mon, 16 May 2005 19:49:06 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 014173CA69; Mon, 16 May 2005 19:49:05 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id F23393CA19 for ; Mon, 16 May 2005 19:49:05 -0300 (ADT) X-Return-Path: X-Received: from ganymede.hub.org ([unix socket]) by ganymede.hub.org (Cyrus v2.2.12) with LMTPA; Mon, 16 May 2005 18:45:21 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 8B21E3CF62 for ; Mon, 16 May 2005 18:45:21 -0300 (ADT) X-Received: from mail.postgresql.org [200.46.204.71] by localhost with IMAP (fetchmail-6.2.5) for scrappy@localhost (single-drop); Mon, 16 May 2005 18:45:21 -0300 (ADT) X-Received: from svr1.postgresql.org ([unix socket]) by svr1.postgresql.org (Cyrus v2.2.12) with LMTPA; Mon, 16 May 2005 18:40:28 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7725D52815 for ; Mon, 16 May 2005 18:40:28 -0300 (ADT) X-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 06868-05 for ; Mon, 16 May 2005 21:40:27 +0000 (GMT) X-Received: from postgresql.org (svr1.postgresql.org [200.46.204.71]) by svr1.postgresql.org (Postfix) with ESMTP id CCB4952801 for ; Mon, 16 May 2005 18:40:26 -0300 (ADT) X-Original-To: pgsql-odbc-postgresql.org-owner@localhost.postgresql.org X-Delivered-To: pgsql-odbc-postgresql.org-owner@localhost.postgresql.org X-Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3310152800 for ; Mon, 16 May 2005 18:40:26 -0300 (ADT) X-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 07544-06 for ; Mon, 16 May 2005 21:40:17 +0000 (GMT) X-Received: from web51704.mail.yahoo.com (web51704.mail.yahoo.com [206.190.38.222]) by svr1.postgresql.org (Postfix) with SMTP id AEE9C52803 for ; Mon, 16 May 2005 18:40:15 -0300 (ADT) X-Received: (qmail 3394 invoked by uid 60001); 16 May 2005 21:40:17 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=wXTTOYQ7q/GouQo3JNRPhO8RDLQTAl99v0Xmk9KOsgtFL7V6WdfNas3W4j6PMAaZLuAYeaxkT6b05bufBS/NRy1/BnU1uaSTMiQhD6/Abxr3x/JBKW1V6fx9BXcUqa/VZgbWU3j+x84gx3n3Lmvjh+1ejRM3jwi94QXmoTnPVvI= ; Message-ID: <20050516214017.3392.qmail@web51704.mail.yahoo.com> X-Received: from [200.36.248.4] by web51704.mail.yahoo.com via HTTP; Mon, 16 May 2005 14:40:17 PDT Date: Mon, 16 May 2005 14:40:17 -0700 (PDT) From: "Fernando GonzXlez V." Subject: help To: pgsql-odbc-owner@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org ReSent-Date: Mon, 16 May 2005 19:49:01 -0300 (ADT) Resent-From: "Marc G. Fournier" Resent-To: pgsql-odbc@postgresql.org ReSent-Subject: help ReSent-Message-ID: <20050516194901.T14147@ganymede.hub.org> X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.946 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/33 X-Sequence-Number: 5336 I'm tried to build psqlodbc with postgresql 8.0.3 but make command show me the next message: gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c bind.c -MT bind.lo -MD -MP -MF .deps/bind.TPlo -fPIC -DPIC -o bind.lo bind.c:42: error: conflicting types for `PGAPI_BindParameter' pgapifunc.h:257: error: previous declaration of `PGAPI_BindParameter' bind.c:135: error: conflicting types for `PGAPI_BindCol' pgapifunc.h:25: error: previous declaration of `PGAPI_BindCol' bind.c:268: error: conflicting types for `PGAPI_DescribeParam' pgapifunc.h:169: error: previous declaration of `PGAPI_DescribeParam' bind.c:319: error: conflicting types for `PGAPI_ParamOptions' pgapifunc.h:206: error: previous declaration of `PGAPI_ParamOptions' make[1]: *** [bind.lo] Error 1 make[1]: Leaving directory `/home/thumbas/src/psqlodbc-7.2.5' make: *** [all] Error 2 psqlodbc versions 8.00.0100, 8.00.0101, 7.2.5, but all fail in same mode somebody has suggestions? thanks. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/