Re: [PATCH] Support % wildcard in extension upgrade filenames

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Sandro Santilli <strk(at)kbt(dot)io>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Mat Arye <mat(at)timescaledb(dot)com>, Regina Obe <lr(at)pcorp(dot)us>, Yurii Rashkovskii <yrashk(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Regina Obe <r(at)pcorp(dot)us>
Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames
Date: 2024-02-01 11:01:26
Message-ID: CALDaNm0Fnb+rRvycmRQ_PRiNQJJnUFcMH0Aad7zmBXwwvWLkLQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 7 Jan 2024 at 12:36, vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Mon, 7 Aug 2023 at 19:25, Sandro Santilli <strk(at)kbt(dot)io> wrote:
> >
> > On Tue, Aug 01, 2023 at 08:24:15PM +0200, Daniel Gustafsson wrote:
> > > > On 28 Jun 2023, at 10:29, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
> > > >
> > > >> On 31 May 2023, at 21:07, Sandro Santilli <strk(at)kbt(dot)io> wrote:
> > > >> On Thu, Apr 27, 2023 at 12:49:57PM +0200, Sandro Santilli wrote:
> > > >
> > > >>> I'm happy to bring back the control-file switch if there's an
> > > >>> agreement about that.
> > > >>
> > > >> I'm attaching an up-to-date version of the patch with the control-file
> > > >> switch back in, so there's an explicit choice by extension developers.
> > > >
> > > > This version fails the extension test since the comment from the .sql file is
> > > > missing from test_extensions.out. Can you fix that in a rebase such that the
> > > > CFBot can have a green build of this patch?
> > >
> > > With no update to the thread and the patch still not applying I'm marking this
> > > returned with feedback. Please feel free to resubmit to a future CF when there
> > > is a new version of the patch.
> >
> > Updated version of the patch is attached, regresses cleanly.
> > Will try to submit this to future CF from the website, let me know
> > if I'm doing it wrong.
>
> One of tests has failed in CFBot at [1] with:
>
> +++ /tmp/cirrus-ci-build/build/testrun/test_extensions/regress/results/test_extensions.out
> 2023-12-21 02:24:07.738726000 +0000
> @@ -449,17 +449,20 @@
> -- Test wildcard based upgrade paths
> --
> CREATE EXTENSION test_ext_wildcard1;
> +ERROR: extension "test_ext_wildcard1" is not available
> +DETAIL: Could not open extension control file
> "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/share/extension/test_ext_wildcard1.control":
> No such file or directory.
> +HINT: The extension must first be installed on the system where
> PostgreSQL is running.
> SELECT ext_wildcard1_version();
> - ext_wildcard1_version
> ------------------------
> - 1.0
> -(1 row)
> -
> +ERROR: function ext_wildcard1_version() does not exist
> +LINE 1: SELECT ext_wildcard1_version();

With no update to the thread and the tests still failing I'm marking
this as returned with feedback. Please feel free to resubmit to the
next CF when there is a new version of the patch.

Regards,
Vignesh

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2024-02-01 11:04:06 Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
Previous Message vignesh C 2024-02-01 10:49:50 Re: [PoC] Implementation of distinct in Window Aggregates: take two