public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Dominique Devienne <[email protected]>
To: Daniel Verite <[email protected]>
Cc: [email protected]
Subject: Re: About the stability of COPY BINARY data
Date: Thu, 7 Nov 2024 10:04:40 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAFCRh-9u3STo5Q3JbHRMj2cnfBWwwQSN5oubpnnDmQC7Ac4AmA@mail.gmail.com>
References: <CAFCRh-9W8mXh9MfRe-Z5bAcN5FVbsXuSW60-QPVMB1jHC4+bzQ@mail.gmail.com>
<[email protected]>
<CAFCRh-9u3STo5Q3JbHRMj2cnfBWwwQSN5oubpnnDmQC7Ac4AmA@mail.gmail.com>
On 11/7/24 09:55, Dominique Devienne wrote:
> On Thu, Nov 7, 2024 at 6:39 PM Daniel Verite <[email protected]> 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.
Yeah that is implied by:
https://www.postgresql.org/docs/current/pgupgrade.html
"Major PostgreSQL releases regularly add new features that often change
the layout of the system tables, but the internal data storage format
rarely changes. "
The COPY warning is there as heads up that it is a possibility.
>
> And I haven't seen anything not network-byte-order,
> as far architecture is concerned.
>
>
--
Adrian Klaver
[email protected]
view thread (7+ messages) latest in thread
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: About the stability of COPY BINARY data
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