Re: [ pg_ctl ] Review Request for Adding Pre-check User Script Feature

2024-07-18 Thread 김명준
Hello, Thank you for your response. 0. Here is an example of what I intended. What I intended is to add pre-check tasks before executing pg_ctl start, stop, and restart using the -A and -Z options. = [test@test]$ cat true.sh #!/bin/bash echo 'true' exit

Re: [ pg_ctl ] Review Request for Adding Pre-check User Script Feature

2024-07-16 Thread Kisoon Kwon
Hi, 0. For more understanding, can you give me an example about your patch? 1. Instead of using chmod itself, it would be better to use chmod_recursive(). 2. It needs to follow the invent convention - it includes 4 spaces now. Thank you, Kisoon Kwon 2024년 7월 16일 (화) 오후 3:40, 김명준 님이 작성: > Hello

Re: [ pg_ctl ] Review Request for Adding Pre-check User Script Feature

2024-07-15 Thread Zaid Shabbir
Hello, Can you briefly explain what’s the issues you are going through the patch? On Tue, 16 Jul 2024 at 11:40 AM, 김명준 wrote: > Hello, > > I have been considering adding a user script that performs pre-checks > before executing the start, stop, and restart operations in pg_ctl. I > believe it

[ pg_ctl ] Review Request for Adding Pre-check User Script Feature

2024-07-15 Thread 김명준
Hello, I have been considering adding a user script that performs pre-checks before executing the start, stop, and restart operations in pg_ctl. I believe it is necessary for pg_ctl to support an extension that can prevent various issues that might occur when using start and stop. To this end, I h