Re: dropdb --force

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Ryan Lambert <ryan(at)rustprooflabs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Anthony Nowocien <anowocien(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
Subject: Re: dropdb --force
Date: 2019-09-21 16:39:12
Message-ID: CAFj8pRDCYdCpZ2Qve0Bi-r_XYkkGJqb_xgQOajVs8u5SQwR22w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pá 20. 9. 2019 v 5:10 odesílatel Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
napsal:

> On Thu, Sep 19, 2019 at 6:44 AM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> > I am sending updated version
>
> + appendPQExpBuffer(&sql, "DROP DATABASE %s%s%s;",
> + (force ? " (FORCE) " : ""),
>
> An extra space before (FORCE) caused the test to fail:
>
> # 2019-09-19 19:07:22.203 UTC [1516] 050_dropdb.pl LOG: statement:
> DROP DATABASE (FORCE) foobar2;
>
> # doesn't match '(?^:statement: DROP DATABASE (FORCE) foobar2)'
>

should be fixed now.

thank you for echo

Pavel

> --
> Thomas Munro
> https://enterprisedb.com
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-09-21 19:26:04 Re: some PostgreSQL 12 release notes comments
Previous Message Pavel Stehule 2019-09-21 16:38:23 Re: dropdb --force