public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: H <[email protected]>
Cc: [email protected]
Subject: Re: Creating files with testdata
Date: Mon, 10 Mar 2025 12:21:57 -0700
Message-ID: <CAKFQuwbctBN=36TyZHkR5HCx=vvz2JRn54PFZy_7S_R7c3rYRQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

On Mon, Mar 10, 2025 at 12:17 PM H <[email protected]> wrote:

> There are tables referencing each other using randomly generated IDs, ie.
> those IDs are not known until after the parent table row is inserted.
>

I just reserve half of the number space of bigint, the negatives, for test
data and assign known IDs as part of the test data specification.

David J.


view thread (6+ 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: Creating files with testdata
  In-Reply-To: <CAKFQuwbctBN=36TyZHkR5HCx=vvz2JRn54PFZy_7S_R7c3rYRQ@mail.gmail.com>

* 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