public inbox for [email protected]
help / color / mirror / Atom feedPg partman
4+ messages / 2 participants
[nested] [flat]
* Pg partman
@ 2024-08-26 18:13 Sathish Reddy <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Sathish Reddy @ 2024-08-26 18:13 UTC (permalink / raw)
To: [email protected]; [email protected]
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pg partman
@ 2024-08-26 18:41 Keith Fiske <[email protected]>
parent: Sathish Reddy <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Keith Fiske @ 2024-08-26 18:41 UTC (permalink / raw)
To: Sathish Reddy <[email protected]>; +Cc: [email protected]
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pg partman
@ 2024-08-26 19:36 Sathish Reddy <[email protected]>
parent: Keith Fiske <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Sathish Reddy @ 2024-08-26 19:36 UTC (permalink / raw)
To: Keith Fiske <[email protected]>; +Cc: [email protected]
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
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pg partman
@ 2024-08-26 19:47 Keith Fiske <[email protected]>
parent: Sathish Reddy <[email protected]>
0 siblings, 0 replies; 4+ messages in thread
From: Keith Fiske @ 2024-08-26 19:47 UTC (permalink / raw)
To: Sathish Reddy <[email protected]>; +Cc: [email protected]
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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-08-26 19:47 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-26 18:13 Pg partman Sathish Reddy <[email protected]>
2024-08-26 18:41 ` Keith Fiske <[email protected]>
2024-08-26 19:36 ` Sathish Reddy <[email protected]>
2024-08-26 19:47 ` Keith Fiske <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox