Re: dropdb --force
Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Amit Kapila <amit.kapila16@gmail.com>, vignesh C <vignesh21@gmail.com>, Pavel Stehule <pavel.stehule@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Dilip Kumar <dilipbalaut@gmail.com>, Ryan Lambert <ryan@rustprooflabs.com>, Thomas Munro <thomas.munro@gmail.com>, Anthony Nowocien <anowocien@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Filip Rembiałkowski <filip.rembialkowski@gmail.com>
Date: 2019-11-29T08:05:51Z
Lists: pgsql-hackers
On Fri, Nov 29, 2019 at 7:30 AM Michael Paquier <michael@paquier.xyz> wrote: > On Thu, Nov 28, 2019 at 08:53:56AM +0530, Amit Kapila wrote: > > I have pushed the refactoring patch. In the second patch, I have a > > few more comments. I am not completely sure if it is a good idea to > > write a new test file 060_dropdb_force.pl when we already have an > > existing file 050_dropdb.pl for dropdb tests, but I think if we want > > to do that, then lets move existing test for dropdb '-f' from > > 050_dropdb.pl to new file and it might be better to name new file as > > 051_dropdb_force.pl. I see that in some other cases like vacuumdb and > > clusterdb, we have separate test files to cover a different kinds of > > scenarios, so it should be okay to have a new file for dropdb tests. > > Amit, as most of the patch set has been committed, would it make sense > to mark this entry as committed in the CF app? > > Test 051_dropdb_force.pl is failing on Windows critters in the build farm, e.g: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=drongo&dt=2019-11-29%2003%3A54%3A06 Regards, Juan José Santamaría Flecha
Commits
-
Add tests for '-f' option in dropdb utility.
- 8a7e9e9dad56 13.0 landed
-
Move pump_until to TestLib.pm.
- 290acac92b1d 13.0 landed
-
Add the support for '-f' option in dropdb utility.
- 80e05a088e4e 13.0 landed
-
Introduce the 'force' option for the Drop Database command.
- 1379fd537f9f 13.0 landed
-
Improve CREATE/DROP/RENAME DATABASE so that when failing because the source
- 4abd7b49f1e9 8.4.0 cited