public inbox for [email protected]  
help / color / mirror / Atom feed
From: Keith Fiske <[email protected]>
To: Sathish Reddy <[email protected]>
Cc: [email protected]
Subject: Re: Pg partman
Date: Mon, 26 Aug 2024 15:47:31 -0400
Message-ID: <CAODZiv45bo66N_pZ7hYgwR1LbGT__fvTsDVUhtuMzE1FncL2dA@mail.gmail.com> (raw)
In-Reply-To: <CA+M9Y+BFBjEYZ+0kU3nAf_MSW6_wFEBsf-a4B9Uwy5GMTCjKUw@mail.gmail.com>
References: <CA+M9Y+AJROg18Q2UFORCkDXxW9Hhq8X0SftaCZJHxv4BX5HswQ@mail.gmail.com>
	<CAODZiv7y3gH9UfHxALbdSwR1OFMAcUq3ABXXJ5qohEiU9GnQ6g@mail.gmail.com>
	<CA+M9Y+BFBjEYZ+0kU3nAf_MSW6_wFEBsf-a4B9Uwy5GMTCjKUw@mail.gmail.com>

On Mon, Aug 26, 2024 at 3:36 PM Sathish Reddy <
[email protected]> wrote:

> Please share the script which used..
>
> Thanks
> Sathish Reddy
>
> On Tue, Aug 27, 2024, 12:11 AM Keith Fiske <[email protected]>
> wrote:
>
>>
>>
>> On Mon, Aug 26, 2024 at 2:13 PM Sathish Reddy <
>> [email protected]> wrote:
>>
>>> Hi
>>>   We are planning to create function like run_maintance_proc which can
>>> do detach partition concurrently and create new partion s using pre-make in
>>> run maintenance..
>>>
>>>     Please share any use case on these..
>>>
>>> Thanks
>>> Sathish Reddy
>>>
>>
>> You cannot create a function or procedure within the database that can do
>> any commands with the CONCURRENT flag. PostgreSQL simply does not allow
>> that otherwise I would have done it already. As I stated elsewhere, this
>> would require an external script
>>
>> https://github.com/pgpartman/pg_partman/issues/677
>>
>> --
>> Keith Fiske
>> Senior Database Engineer
>> Crunchy Data - http://crunchydata.com
>>
>

There are no scripts written for this yet.

-- 
Keith Fiske
Senior Database Engineer
Crunchy Data - http://crunchydata.com


view thread (4+ 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]
  Subject: Re: Pg partman
  In-Reply-To: <CAODZiv45bo66N_pZ7hYgwR1LbGT__fvTsDVUhtuMzE1FncL2dA@mail.gmail.com>

* 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