public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: Peter Geoghegan <[email protected]>
Cc: Nathan Bossart <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Is pg_regress --use-existing used by anyone or is it broken?
Date: Wed, 30 Aug 2023 11:03:58 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAH2-WznkTFtppbY9g4cgWPr0zrBoi6=jOu5AH+nbdf3GOYjbMQ@mail.gmail.com>
References: <[email protected]>
	<20230829213827.GB2266537@nathanxps13>
	<[email protected]>
	<CAH2-Wz=hwTEtA1K=+8XmY-OqLQ6y9F43S=SgsRTd2PDFTq=Rmg@mail.gmail.com>
	<[email protected]>
	<CAH2-WznkTFtppbY9g4cgWPr0zrBoi6=jOu5AH+nbdf3GOYjbMQ@mail.gmail.com>

> On 30 Aug 2023, at 00:55, Peter Geoghegan <[email protected]> wrote:
> 
> On Tue, Aug 29, 2023 at 3:37 PM Daniel Gustafsson <[email protected]> wrote:
>>> It's handy when using pg_regress with a custom test suite, where I
>>> don't want to be nagged about disconnecting from the database every
>>> time.
>> 
>> I'm curious about your workflow around it, it seems to me that it's kind of
>> broken so I wonder if we instead then should make it an equal citizen with temp
>> instance?
> 
> I'm confused. You seem to think that it's a problem that
> --use-existing doesn't create databases and roles. But that's the
> whole point, at least for me.

Well, I think it's problematic that it doesn't handle database and role
creation due to it being buggy.  I'll have another look at fixing the issues to
see if there is more than what I posted upthread, while at the same time making
sure it will still support your use-case.

--
Daniel Gustafsson







view thread (3+ messages)

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], [email protected]
  Subject: Re: Is pg_regress --use-existing used by anyone or is it broken?
  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