Message-ID: From: "davecramer (@davecramer)" To: "postgresql-interfaces/psqlodbc" Date: Mon, 24 Mar 2025 19:47:17 +0000 Subject: Re: [postgresql-interfaces/psqlodbc] issue #98: SELECT of a PostgreSQL CHAR/VARCHAR/TEXT Column Using multiple calls SQLGetData results in data truncation (last byte) In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2749229001 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 98 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/98#issuecomment-2749229001 Content-Type: text/plain; charset=utf-8 Are you using the latest version? I just ran your code with some slight changes to connect and the result was ``` ./pglob Connecting to database. Connected to database. Fetching results... First Call to GetData: ind : 1048002 Data: AAAAAAAAAA�� Second Call to GetData: ind : 1047992 Data: AAAAAAAAAA�� Free handles. ```