database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 3006 게시물 읽기
No. 3006
PostgreSQL and iODBC
작성자
정재익
작성일
2001-06-22 08:53
조회수
2,644

Question:

 

Posted by Baris Gerze on August 11, 2000 at 16:05:12:

 

I have read all of the messages to get work

odbctest with postgresql driver. But It returns

SQL_NO_DATA_FOUND. I would be very appreciated

if anyone can show me a working odbc.ini for

PostgreSQL + iODBC.

I need at least one working example ( and its settings )

because I am using wxWindows which uses iodbc.

Thx a lot.

 

Baris Gerze

 

Follow-ups :

 

1.

Posted by Rui on May 31, 2001 at 05:28:07:

 

In Reply to: Re: PostgreSQL && iODBC posted by Baris Gerze on August 16, 2000 at 12:13:50:

 

I m successfully connecting to postgreSQL through

either unixODBC or postgreSQL type 4 driver(org.postgresql.Driver). Let's me

if you need help

 

Rui

 

 

: First of all thx for the help.

: If you succeed connecting PostgreSQL server and retrieve

: data from the server with iodbc using any Free ODBC Driver

: which can be both unixODBC's postgresql driver or PostgreSQL's

: own odbc driver. Please let me know.

: Sincerely yours.

 

: Baris Gerze

 

: : Hello Baris,

 

: : I see that you are not using Openlink drivers. I was hoping that the information which I posted earlier would enable you to create a trace. If this method does not work, I will try and determine a new method which will enable you to trace. Basically, it looks like the iODBC driver manager is allowing your Postgres driver to connect to Postgres. However, something appears to go wrong after the connection. A clientside odbc trace will verify this, and pinpoint the source of the problem.

 

: : Note: In principle, the driver manager should be able to call any driver manager which you would like to use.

 

: : Best regards,

: : Netrista Khatam

 

: : : Hello Again,

: : : I am using PostgreSQL's odbc driver not OpenLink's

: : : UDBC is releated with ODBC ? I mean will I succeed

: : : using PostgreSQL' s own ODBC driver with iODBC ?

: : : I succeed connecting via unixODBC. Btw can I use unixODBC's postgrSQL driver with iODBC ?

 

: : : Thanks for help.

 

: : : : Hello Baris,

 

: : : : This may or may not be a problem with your odbc.ini file. Typically, odbc.ini problems prohibit connections. However, it appears that you can connect, but you cannot retrieve data. In this instance, you may also want to post a clientside ODBC trace, just to be certain. Please try this:

 

: : : : A. Descend into your client's ~/openlink/bin directory.

: : : : B. "vi" odbc.ini.

: : : : C. Append the following entry toward the top of the file:

 

: : : : [UDBC]

: : : : DebugFile=/absolute/path/to/some/odbctrace.log

 

: : : : D. Recreate the error message.

: : : : E. Post the results.

 

: : : : Additionally,you may want to try Openlink software's Postgres drivers. If you are interested, you may download them from the following address:

 

: : : : http://www.openlinksw.com/main/softdld2.htm

 

: : : : They come with a free, 2 client connection license, and they are fairly easy to debug.

 

: : : : Best regards,

: : : : Netrista Khatam

 

: : : : : I have read all of the messages to get work

: : : : : odbctest with postgresql driver. But It returns

: : : : : SQL_NO_DATA_FOUND. I would be very appreciated

: : : : : if anyone can show me a working odbc.ini for

: : : : : PostgreSQL + iODBC.

: : : : : I need at least one working example ( and its settings )

: : : : : because I am using wxWindows which uses iodbc.

: : : : : Thx a lot.

 

: : : : : Baris Gerze

[Top]
No.
제목
작성자
작성일
조회
3013function에서 두개 이상의 Return Value 받는 법 질문
jinoking
2001-06-22
2725
3015┕>Re: function에서 두개 이상의 Return Value 받는 법 질문
김일형
2001-06-22 21:33:48
2808
3011Permission error 라는데.
김남수
2001-06-22
2545
3012┕>Permission 관련한 아래 질문 해결했습니다.
김남수
2001-06-22 20:30:44
2653
3007Tuple is too big: size 8388, max size 8140 문제
답답한넘
2001-06-22
2326
3008┕>Re: Tuple is too big: size 8388, max size 8140 문제
정재익
2001-06-22 12:18:16
2701
3009 ┕>Re: Re: Tuple is too big: size 8388, max size 8140 문제
답답한넘
2001-06-22 13:27:57
2541
3010  ┕>Re: Re: Re: Tuple is too big: size 8388, max size 8140 문제
정재익
2001-06-22 14:31:29
2647
3029   ┕>Re: Re: Re: Re: Tuple is too big: size 8388, max size 8140 문제
답답한넘
2001-06-25 20:24:28
2565
3006PostgreSQL and iODBC
정재익
2001-06-22
2644
3005pgMail -- TCL-based scripts
정재익
2001-06-22
2229
3004가장 근접한 ZIP code 찾기
정재익
2001-06-22
2545
3003Number of affected rows
정재익
2001-06-22
1931
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다