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 1t96j3-007ntb-7p for pgsql-general@arkaria.postgresql.org; Thu, 07 Nov 2024 17:55:20 +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 1t96j0-000Wjl-Na for pgsql-general@arkaria.postgresql.org; Thu, 07 Nov 2024 17:55:19 +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 1t96j0-000Wja-Cz for pgsql-general@lists.postgresql.org; Thu, 07 Nov 2024 17:55:18 +0000 Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t96ix-000iI0-2d for pgsql-general@postgresql.org; Thu, 07 Nov 2024 17:55:18 +0000 Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5edf76cd843so608024eaf.1 for ; Thu, 07 Nov 2024 09:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731002114; x=1731606914; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xrNIBGxrMqe29mwP4BJCMID2gu6n71j76mwvvs5YKTQ=; b=gjgOGDeir5tLKaDz+kKVhzL4jbBjFdRn7G3E0VGXNRrur4DRdl1Y6Hf+19fC1IL/qM yQUMwkX1rAs2jfrS9q/P8Xn3yUbKKsvJ/8oU7MwtvIqrB4xP/G1BYqg2i8FGAqcASJ02 U4srZyaOD+ssDvefciajCh00ZyFN+ngXA5zkn0J3Wt3RQXgdovpS6lfAhGL3UV3d3wB3 mEYb6wz3F/Q/1dcKql7JyMsGLqmb8929kJ5ZNGkruMi2Bas7YRG2gkiAD+tvkozsKUHZ Ih53mV3KZbXp6mDe3NhEYpbHLIuSES/Jg0EZJ0zsguHJV9E6J7RwyblWX/SRJrc9Zl6l rMmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731002114; x=1731606914; h=content-transfer-encoding:cc: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=xrNIBGxrMqe29mwP4BJCMID2gu6n71j76mwvvs5YKTQ=; b=DWcFortjECJQwIiNEV5Ai5TZookBH2u+4+JuNm/Tpf6KPfHBJsgnUe2HR62VF06eag IDyBFUgjEVL1x3hJzeG0lkqyADWmu/phWlms/4vTcZ2YFGkBpgxjKV0eOzTOmynBJrTZ YZbAZTbeKTyZpXkI2RG0UW2skEtpNmukBTicRi9jk/96z64HEcmsgptxkjBR4/vjktHu Z4ssFDG9HV/i8AFAUCZecryjJMhJzv6Q/1Qs/rxt1HoFbPLFsetdjhxOYUfmAUZPT0bU AOJ255o7ynUtNjs1ibsgdtFCi0OjcuyB0u63r1uVoaZm6rzRATeSqoPqzudLTd5fchDA Nnrg== X-Gm-Message-State: AOJu0YzAEjQuHD4vGVOGYoJ40NH36+RbosJQqlcGlGHBFJEPktpqaAmJ /rJVDxNdtkqY/ZxQ2+jz23GQ1MyyiGI404NxjcDRm+fa6AT41WI44UWOyIUPc4kTyPQUIhMgqiW ReuCLLDaulchDgbmPkl1PU7SVrWpWRg== X-Google-Smtp-Source: AGHT+IG70qNaNntsjtuz14skJM6COTuvKQm3Y7DDIQjUyaOONmFV/FImiSksb38/NI+OkAaDzS4rR6c4WGyjyI3Aqlk= X-Received: by 2002:a05:6820:2018:b0:5ee:17:6a40 with SMTP id 006d021491bc7-5ee568d4eb8mr431891eaf.2.1731002114198; Thu, 07 Nov 2024 09:55:14 -0800 (PST) MIME-Version: 1.0 References: <1214b740-22de-4151-a3c8-e93e3385c0da@manitou-mail.org> In-Reply-To: <1214b740-22de-4151-a3c8-e93e3385c0da@manitou-mail.org> From: Dominique Devienne Date: Thu, 7 Nov 2024 18:55:03 +0100 Message-ID: Subject: Re: About the stability of COPY BINARY data To: Daniel Verite Cc: pgsql-general@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 On Thu, Nov 7, 2024 at 6:39=E2=80=AFPM Daniel Verite wrote: > Dominique Devienne wrote: > > Also, does the code for per-type _send() and _recv() functions > > really change across versions of PostgreSQL? How common are > > instances of such changes across versions? Any examples of such > > backward-incompatible changes, in the past? > > For the timestamp types, I think these functions were > sending/expecting float8 (before version 7.3), and then float8 or > int64 depending on the server configuration up until 9.6, and since > then int64 only. > The same for the "time" field of the interval type. > There is still an "integer_datetimes" GUC reflecting this. Thanks. So it did happen in a distant past. Anything below 14 is of no concern to me though. So again, it does sound like changes are unlikely. And I haven't seen anything not network-byte-order, as far architecture is concerned.