Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFmfg-0000sx-Go for pgsql-general@arkaria.postgresql.org; Mon, 25 Jul 2022 01:14:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oFmff-0002Im-B7 for pgsql-general@arkaria.postgresql.org; Mon, 25 Jul 2022 01:14:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFmfe-0002Id-Qh for pgsql-general@lists.postgresql.org; Mon, 25 Jul 2022 01:14:07 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oFmfc-000623-7V for pgsql-general@lists.postgresql.org; Mon, 25 Jul 2022 01:14:05 +0000 Received: by mail-qk1-x72a.google.com with SMTP id o21so7602936qkm.10 for ; Sun, 24 Jul 2022 18:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=L2SwqyMOupM2fbV2zvWSh3u23gpe3TaKzGOzmWhmHJ4=; b=jYDAGPBBJM15kEwd/k97MVMUSErAYPWRwkPoz9uz5yfGjB1YwD26oyZhTBx32S5Dvi FY0racY/Wgtr/wJ85afMI626oVA+U8IxkzNMJCrXJjdNpRm45YxaMMxU501ECimI0Tfd WBx0Yd7YWnSAhavpeb/5HB5BDarwuxeek8AevG//2qHzrMvK7RA3+fzPuXhOQ/cPBYSN Y0O3L9kLesAan429ehJdPYmirq+cJoT1tVE8wYCos4rTRm5CMjUAIY9uB/jsaja/KLsX iSI5TnWJPtfRI1R/4wduer1Hn5b8hOMn8b13Vu+aCmJiQqhdUhdFQtkbiFsVXP3IcHie O7XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=L2SwqyMOupM2fbV2zvWSh3u23gpe3TaKzGOzmWhmHJ4=; b=IfCqFAsHFSe6JvgXozglAWfJQ4zB0vcw2zNgo62c1FropYtFIip4d1YJ1DpKJTeeY2 3i2eHnJY3nOb6WXXI0Pan/+SllkoWmsZM4Rfep78oJWL0eTbxQom6AE80Pt3KnrpY2jG GXwFuwzXKMBMDY/TsUPKWPoCY/er9elLQOrIDBXh34+fkoCXbkbDXRB0lzTOZpZx4L4P GOUzSzOZVb0gbFuMTFpFFk8p+JEIDbRVrbr8musBeUmVGyHZsfkGJOoCWYSKqVCI42TZ ZW9t4cB7muMtXYLDyfhHLg27j9x0tME4O/5Sp/1D1TkAueIDtZID6eWJotd3u9xVQJQY shwQ== X-Gm-Message-State: AJIora+9+EUjOr8VLM04wZzNZ1kLBq3IIHzoeTvZh1XX/CMcSI03yO9K JSRpymOcOdsingEGpEX1/DE= X-Google-Smtp-Source: AGRyM1sP9plKMdNzTff/FKS++MLQ12ALWHJNCdUBhzpmJDKFg3v4x4XS7QjSBN3Lj/KVqLTecMIeVw== X-Received: by 2002:a05:620a:2402:b0:6b6:1706:3bcf with SMTP id d2-20020a05620a240200b006b617063bcfmr7564967qkn.569.1658711643066; Sun, 24 Jul 2022 18:14:03 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id h4-20020a05620a284400b006af3f3b385csm8398591qkp.98.2022.07.24.18.14.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jul 2022 18:14:02 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------hbfKEm50oUpI8z22QCNJfVNo" Message-ID: <4316e1bc-eed5-89ca-1724-aada1f43c02a@gmail.com> Date: Sun, 24 Jul 2022 21:14:01 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Was my question inappropriate for postgres? Content-Language: en-US To: Adrian Klaver , pgsql-general@lists.postgresql.org References: <0ad74362-482d-bcb5-f22b-0423291a1b83@gmail.com> <6d6112a2-cc48-93ca-2ddf-f3065d01bed2@aklaver.com> From: Mladen Gogala In-Reply-To: <6d6112a2-cc48-93ca-2ddf-f3065d01bed2@aklaver.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------hbfKEm50oUpI8z22QCNJfVNo Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Answers in-line: On 7/24/22 20:43, Adrian Klaver wrote: > Other parts of Office also use database connectivity such   as Access > or Word. > >>> Also, I find variety in the odbc driver. >> >> I don't. ODBC drivers implement the same protocol when communicating >> with the database and they all work the same. Here is what I have: > > Hmm, I wonder why they have versions then? Good question. One part of the story are package versions, bug fixes and such. However, I think that your question was about the versions of the ODBC protocol. This may answer it: https://en.wikipedia.org/wiki/Open_Database_Connectivity Version history Version history:^[22] * 1.0: released in September 1992^[23] * 2.0: c. 1994 * 2.5 * 3.0: c. 1995, John Goodson of Intersolv and Frank Pellow and Paul Cotton of IBM provided significant input to ODBC 3.0^[24] * 3.5: c. 1997 * 3.8: c. 2009, with Windows 7^[25] * 4.0: Development announced June 2016^[26] with first implementation with SQL Server 2017 released Sep 2017 and additional desktop drivers late 2018 ^[27] final spec on Github By the way, version 4 of the protocol supports "fast_executemany": https://dbwhisperer.wordpress.com/2020/11/21/pyodbc-fast_executemany-and-oracle-rdbms/ MS SQL ODBC 1.7 and Oracle Instant Client 19.9 ODBC drivers and newer do support "fast_executemany". PostgreSQL ODBC 13 does not. Here is the table: https://github.com/mkleehammer/pyodbc/wiki/fast_executemany-support-for-various-ODBC-drivers > > As to below, really?  If you don't want to answer the question then > don't. Boys just wanna have fun. This is a shameless plug of the famous Cindy Lauper's song, but you get the picture, don't you? To my credit, I didn't answer the 1st one. Tonight, I've been socializing with Sam Adams, so I replied. When someone who doesn't know how to properly write "O365" asks about "how suitable ODBC driver is", then I feel entitled to little fun. Now, since you don't appear to be a fan of my particular variety of humor, can you possibly translate the question and explain to me what a "suitable driver" is and what is M365? If you manage to prove to me that the question makes sense, I will apologize to the OP and offer you a pint of Sam Adams as an apology for my bad behavior. On the other hand, if the question doesn't make sense, I will gladly accept the same from you. -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------hbfKEm50oUpI8z22QCNJfVNo Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Answers in-line:

On 7/24/22 20:43, Adrian Klaver wrote:
Other parts of Office also use database connectivity such   as Access or Word.

Also, I find variety in the odbc driver.

I don't. ODBC drivers implement the same protocol when communicating with the database and they all work the same. Here is what I have:

Hmm, I wonder why they have versions then?

Good question. One part of the story are package versions, bug fixes and such. However, I think that your question was about the versions of the ODBC protocol. This may answer it:

https://en.wikipedia.org/wiki/Open_Database_Connectivity

Version history

Version history:[22]

  • 1.0: released in September 1992[23]
  • 2.0: c. 1994
  • 2.5
  • 3.0: c. 1995, John Goodson of Intersolv and Frank Pellow and Paul Cotton of IBM provided significant input to ODBC 3.0[24]
  • 3.5: c. 1997
  • 3.8: c. 2009, with Windows 7[25]
  • 4.0: Development announced June 2016[26] with first implementation with SQL Server 2017 released Sep 2017 and additional desktop drivers late 2018 [27] final spec on Github

By the way, version 4 of the protocol supports "fast_executemany":

https://dbwhisperer.wordpress.com/2020/11/21/pyodbc-fast_executemany-and-oracle-rdbms/

MS SQL ODBC 1.7 and Oracle Instant Client 19.9 ODBC drivers and newer do support "fast_executemany". PostgreSQL ODBC 13 does not. Here is the table:

https://github.com/mkleehammer/pyodbc/wiki/fast_executemany-support-for-various-ODBC-drivers



As to below, really?  If you don't want to answer the question then don't.

Boys just wanna have fun. This is a shameless plug of the famous Cindy Lauper's song, but you get the picture, don't you? To my credit, I didn't answer the 1st one. Tonight, I've been socializing with Sam Adams, so I replied. When someone who doesn't know how to properly write "O365" asks about "how suitable ODBC driver is", then I feel entitled to little fun.

Now, since you don't appear to be a fan of my particular variety of humor, can you possibly translate the question and explain to me what a "suitable driver" is and what is M365? If you manage to prove to me that the question makes sense, I will apologize to the OP and offer you a pint of Sam Adams as an apology for my bad behavior. On the other hand, if the question doesn't make sense, I will gladly accept the same from you.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------hbfKEm50oUpI8z22QCNJfVNo--