Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpWFB-0072ee-HF for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2025 17:39:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tpWF9-003bQ6-Q7 for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2025 17:39:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpWF9-003bMx-Ee for pgsql-general@lists.postgresql.org; Tue, 04 Mar 2025 17:39:47 +0000 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tpWF6-000wIy-0e for pgsql-general@lists.postgresql.org; Tue, 04 Mar 2025 17:39:47 +0000 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-6ef9b8b4f13so50258297b3.2 for ; Tue, 04 Mar 2025 09:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741109984; x=1741714784; darn=lists.postgresql.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=quWH0oQQ3/SEjczoBCFphtT135G29bVLNd/Uzt/FfMs=; b=MY5G6O40a4XVsowKV0W4i8LM3p8C2rtToplG8wcZSdir/7prkWPbRSIIlNZ4JGnPOc IJ2y1Vv0XcUDD1VzToVpaN0zoLsIqpkAqBAAkwA/oYe26QBjY8iAscSWAygn68SaYsAU fcvbsv1S/NiNGm7XWpEzk530PzZJEOfYYr/z1Jt9FXCL6fHn8fy+kCtD9MIMeE0KM+RF e/UbvyZtReX0APflunIOWVZQ+K2Cyfjpn8/4Cc57NlZTwos6JvOL0VGMpmqhW3VT5oSg HUT1j1o7970zubqTDobtmOpjtXl54D1KUxf0Nwg/1P33mUged/XETv05cfbqyj2v3aO9 Cm1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741109984; x=1741714784; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=quWH0oQQ3/SEjczoBCFphtT135G29bVLNd/Uzt/FfMs=; b=rG1ZsiWjaoeZq7aGAwoFIo877BXAdrBU3CYNz+wBIuCkpxAH8ht1LPovQHF2Hjxuvn MWSGYXPKelHYtVUyt9izGqPcsiRYemFmM/VhV5ALljqIrkU4EkAfSCY24HuCtSx1fQ6h Bzti01iIlDBaL1hNhf/SAq9dFEC90+TdXoZJfM/OA1A32zCapdWeFCxZH3ivwX/cf9XA u1Dw6yJgHW+CPn7Io1J1ie2OA3JNbt5ZALUIQErg810ZqMlX+cV0juIaUnSCg7oEWPNM EpnjOCiQl+PIZw+J70HHj2nxMpiGBzqra/HLo5MZ9HcjRXGUE6ZOZmdsSapkQEahZtRR C4wA== X-Forwarded-Encrypted: i=1; AJvYcCVcBly3GNv53RxfCa1mxRkPRV+bHb/lZbNIM+1XvsT34XJe0VkPN5YYaZdIkDhrZROtKeJdl/jcJ8lxkXoK@lists.postgresql.org X-Gm-Message-State: AOJu0YwcgooD7r3YPu8fJ/Ed2s/tM7EVL1ECkwqIErxbAYXeO0N4kNKu pToNzgpaYocUptLi2hm9CPtGGTGGMeG0hhATYz7bCC9hpqSisKQyokdsjodesRBbJXEpsDFegRD 8KJfhRCyBSflyGTJehQ1CzTAoQ7P54Q== X-Gm-Gg: ASbGncugE4HMpzHvbqJMGCJGFpMn6VFnPe+tWRZRG1JmQMDTioBf9dXE014GYRDF1YA Y7RnrKgG0TbtVnR3fmDLnh094EZ1840H0RcI2dVY7QZCUXPMG/XoWKXbxWX2Ht0wvF7syStf5l2 lOJWaAiA3PghyRf/iC3J6a8+lVy2g/jEILWeEQgQ== X-Google-Smtp-Source: AGHT+IFFTmg9x6rBA8qbUEwC3GkRhjPXlexHmY7r7j3wvK9mvA7hUCGz8MO7LNdl3KPPiuQ9VsEXm5UFiAYGWdlnwLc= X-Received: by 2002:a05:690c:4c09:b0:6f9:8b50:bac7 with SMTP id 00721157ae682-6fda30308efmr2249697b3.29.1741109983940; Tue, 04 Mar 2025 09:39:43 -0800 (PST) MIME-Version: 1.0 References: <4cf9c771-218c-495f-96af-98d162cc2ccc@aklaver.com> In-Reply-To: From: Igor Korot Date: Tue, 4 Mar 2025 17:00:23 -0600 X-Gm-Features: AQ5f1JqGQ_PaLz8H4MB_DTWYzOHHSChXugcO_GcyMnDqDgsPnE2c6pxqOJ8HFZk Message-ID: Subject: Re: Version compatibility To: Adrian Klaver , "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, Adrian, On Sat, Mar 1, 2025 at 7:06=E2=80=AFPM Adrian Klaver wrote: > > On 3/1/25 21:17, Igor Korot wrote: > > >> > >> Do you have a $HOME/.odbc.ini? > >> > >> Also in odbc.ini, per man odbc.ini, I believe you have to have somethi= ng > >> like: > >> > >> [ODBC Data Sources] > >> Postgresql =3D This is my Postgres DSN. > > > > I added it and now my odbc.n look like this: > > > > [code] > > igor@IgorsGentoo ~/dbhandler/Debug $ cat /etc/unixODBC/odbc.ini > > [ODBC Data Sources] > > PostgreSQL =3D This is my Postgres DSN. > > > > [PostgreSQL] > > Driver=3DPostgreSQL > > Server=3Dlocalhost > > PORT=3D5432 > > DATABASE=3Ddraft > > OOPTION=3D3 > > USER=3Dpostgres > > PASSWORD=3Dwasqra > > igor@IgorsGentoo ~/dbhandler/Debug $ > > Did the connection work after making the change? Sorry somehow missed that reply, No still getting the same error... Thank you. > > > > > [/code] > > > > And there is no .odbc.nii n the ~: > > > > [code] > > igor@IgorsGentoo ~/dbhandler/Debug $ ls -la ~/.o* > > -rw-r--r-- 1 igor igor 0 Mar 1 23:10 /home/igor/.odbc.ini > > igor@IgorsGentoo ~/dbhandler/Debug $ cat /home/igor/.odbc.ini > > igor@IgorsGentoo ~/dbhandler/Debug $ > > [/code] > > > > Apparently the file is created when run "isql -v PostgreSQL". > > I will look into that. > > > > Thx. > > > > > > > >> > >> From man odbc.ini: > >> > >> "[ODBC Data Sources] section > >> > >> The required section [ODBC Data Sources] lists each data sour= ce name > >> (DSN) as a key. The associated values serve as comments. Each entry > >> must be matched by an ini file [section] describing the data source. > >> " > >> > >>> I'd like to develop backward compatible software which is compatible > >>> with the oldest possible combination.. > >> > >> Not following. > >> From my experiences with the ODBC driver it is backwards compatible,= so > >> I would think using a more recent version would be the preferred solut= ion. > >> > >> > >> > >> -- > >> Adrian Klaver > >> adrian.klaver@aklaver.com > >> > > -- > Adrian Klaver > adrian.klaver@aklaver.com >