postgresql-interfaces/psqlodbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: df7cb (@df7cb) <[email protected]>
To: postgresql-interfaces/psqlodbc <[email protected]>
Subject: [postgresql-interfaces/psqlodbc] PR #131: Add expected output file for descrec test in C locale
Date: Mon, 16 Jun 2025 12:41:12 +0000
Message-ID: <[email protected]> (raw)

When running with LC_ALL=C, SQL_DESC_OCTET_LENGTH matches the character length. Add "10" as accepted value.

The net diff to the existing descrec.out file is this:

```
--- test/expected/descrec.out	2025-06-13 19:02:36.460302799 +0200 
+++ test/expected/descrec_2.out	2025-06-16 14:34:44.270543393 +0200 @@ -19,7 +19,7 @@
 -- Column 3 --
 SQL_DESC_NAME: col3
 SQL_DESC_TYPE: 12
-SQL_DESC_OCTET_LENGTH: 40
+SQL_DESC_OCTET_LENGTH: 10
 SQL_DESC_PRECISION: 0
 SQL_DESC_SCALE: 0
 SQL_DESC_NULLABLE: 0
```

Fixes #51.

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://postgresql-interfaces/psqlodbc
  Cc: [email protected], [email protected]
  Subject: Re: [postgresql-interfaces/psqlodbc] PR #131: Add expected output file for descrec test in C locale
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox