Re: pg_get__*_ddl consolidation

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: pg_get__*_ddl consolidation
Дата
в 17:07:55
Msg-id
a947587c-8538-4527-9146-ab78450c49b0@dunslane.net
Ответ на
Список
Дерево обсуждения
pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation "Euler Taveira" <euler@eulerto.com>
Re: pg_get__*_ddl consolidation Zsolt Parragi <zsolt.parragi@percona.com>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Zsolt Parragi <zsolt.parragi@percona.com>
Re: pg_get__*_ddl consolidation Japin Li <japinli@hotmail.com>
Re: pg_get__*_ddl consolidation "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Jeff Davis <pgsql@j-davis.com>
Re: pg_get__*_ddl consolidation SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Jelte Fennema-Nio <postgres@jeltef.nl>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: pg_get__*_ddl consolidation "Euler Taveira" <euler@eulerto.com>
Re: pg_get__*_ddl consolidation Jelte Fennema-Nio <postgres@jeltef.nl>
Re: pg_get__*_ddl consolidation "Euler Taveira" <euler@eulerto.com>
Re: pg_get__*_ddl consolidation "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: pg_get__*_ddl consolidation Jelte Fennema-Nio <postgres@jeltef.nl>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Andres Freund <andres@anarazel.de>
Re: pg_get__*_ddl consolidation Andres Freund <andres@anarazel.de>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Mahendra Singh Thalor <mahi6run@gmail.com>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Mahendra Singh Thalor <mahi6run@gmail.com>
Re: pg_get__*_ddl consolidation Andrew Dunstan <andrew@dunslane.net>
Re: pg_get__*_ddl consolidation Zsolt Parragi <zsolt.parragi@percona.com>
Re: pg_get__*_ddl consolidation "Euler Taveira" <euler@eulerto.com>
Re: pg_get__*_ddl consolidation Zsolt Parragi <zsolt.parragi@percona.com>
Re: pg_get__*_ddl consolidation Japin Li <japinli@hotmail.com>

On 2026-04-06 Mo 7:39 AM, Andrew Dunstan wrote:
>
> On 2026-04-05 Su 4:03 PM, Andres Freund wrote:
>
>
>>> But do we really have to create a new database and a new tablespace 
>>> for these?
>>> Database and tablespace creations are quite heavyweight operations.
>>>
>>> We already have an existing tablespace and an existing database as 
>>> part of the
>>> regression tests. Couldn't you make do with those?
>> Didn't do anything about that.
>>
>
> Well, the trouble is that the database test runs a bunch of alter and 
> revoke statements on the created database, that we probably don't want 
> to persist on the existing regression database. I could see an 
> argument for converting this to a TAP test that would only be run 
> once, given our current very profligate running of the core regression 
> suite. That goes doubly for the tablespace test, which could also 
> probably use ALTER TABLESPACE instead of creating a bunch of 
> tablespaces and then dropping them.
>
>
>

Here's a patch that converts all these into a single TAP test, and 
reduces the number of tablespace creations.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Mihail Nikalayeu
Дата:
От: Andrew Dunstan
Дата:
FAQ