<div dir="ltr">Well these are two different things from the packaging side. <br>- pgpool2 package contains core pgpool application.<div>  It has service files, configurations, binaries etc.<br><div>- postgresql-XX-pgpool2 package contains extension for PG Server, XX means extension is packaged for each different supported version.<br></div></div><div>  It contain extension binaries and control file etc ( It does have to do anything with pgpool2 core, you can have extension without pgpool2 on remote machine)<br></div><div><br></div><div>So, </div><div>- installing/removing the extension package should not disturb your configuration files in /etc/pgpool2.</div><div>- Uninstalling using 'apt remove pgpool2' should not remove your configuration files ( If you use 'apt purge' it WILL remove )</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 10:30 PM Nirav Bhatt <<a href="mailto:niravbhatt.cpp@gmail.com">niravbhatt.cpp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">And doing so will also remove all the files I set up under /etc/pgpool2 also, I believe?<div>(I wish there was a way to preserve them)</div><div><br></div><div>-Nirav</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 8:28 PM Nirav Bhatt <<a href="mailto:niravbhatt.cpp@gmail.com" target="_blank">niravbhatt.cpp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ah, I didn't see this earlier. <div>Thanks that you pointed it out, Umar :-)<div><br></div><div>(I know this isn't pgpool related but linux related.)</div><div><br></div><div>As I believe if I run the following, it will be installed:</div><div><br></div><div>apt install postgresql-14-pgpool2/focal-pgdg <br></div><div><br></div><div>And I also have to remove my own package that is pgpool2/focal-pgdg.</div><div><br></div><div>This will install all the required extensions as well.</div><div><br></div><div>Am I correct?</div><div><br></div><div>Thanks for your time,</div><div>-Nirav</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 7:58 PM Umar Hayat <<a href="mailto:m.umarkiani@gmail.com" target="_blank">m.umarkiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Oops last one was Debian 9 package link, here is Ubuntu 20 link:<br><a href="https://ubuntu.pkgs.org/20.04/postgresql-amd64/postgresql-14-pgpool2_4.1.4-3.pgdg20.04+2_amd64.deb.html" target="_blank">https://ubuntu.pkgs.org/20.04/postgresql-amd64/postgresql-14-pgpool2_4.1.4-3.pgdg20.04+2_amd64.deb.html</a><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 9:46 PM Umar Hayat <<a href="mailto:m.umarkiani@gmail.com" target="_blank">m.umarkiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Nirav,<br>I can see extension package is available for Ubuntu 20.04 LTS, </div><div dir="ltr">It might not be available via pgdb but it's surely available from debian repo</div><div dir="ltr"><a href="https://debian.pkgs.org/9/postgresql-amd64/postgresql-14-pgpool2_4.1.4-3.pgdg90+2_amd64.deb.html" target="_blank">https://debian.pkgs.org/9/postgresql-amd64/postgresql-14-pgpool2_4.1.4-3.pgdg90+2_amd64.deb.html</a></div><div dir="ltr"><br>See package info bellow.<br><i>"</i><div><i>umarhayat@ubuntu:~$ apt-cache show postgresql-14-pgpool2<br>Package: postgresql-14-pgpool2<br>Source: pgpool2<br>Version: 4.1.4-3.pgdg20.04+2<br>Architecture: amd64<br>Maintainer: Debian PostgreSQL Maintainers <<a href="mailto:team%2Bpostgresql@tracker.debian.org" target="_blank">team+postgresql@tracker.debian.org</a>><br>Installed-Size: 267<br>Depends: libpgpool0 (>= 4.1.4-3.pgdg20.04+2), postgresql-14, libc6 (>= 2.4)<br>Homepage: <a href="https://www.pgpool.net/mediawiki/index.php/Main_Page" target="_blank">https://www.pgpool.net/mediawiki/index.php/Main_Page</a><br>Priority: optional<br>Section: database<br>Filename: pool/main/p/pgpool2/postgresql-14-pgpool2_4.1.4-3.pgdg20.04+2_amd64.deb<br>Size: 158860<br>SHA256: 369d7fbf744d3184fdb7e2f832be0964aada59ed3c89059c64e845c6e71c7afa<br>SHA1: f83d5052e4627b7ec853f4350e323b648c459e4e<br>MD5sum: 2aff2f4fabbfa37a357d296a6fa97aad<br>Description: connection pool server and replication proxy for PostgreSQL - modules<br> pgpool-II is a middleware that works between PostgreSQL servers and a<br> PostgreSQL database client.  This package contains support modules for<br> the PostgreSQL 14 server:<br> .<br>  * pgpool_adm<br>  * pgpool_recovery (PostgreSQL 9.1 and above)<br>  * pgpool_regclass (PostgreSQL 9.1 and above)<br>Description-md5: 8cea9bee452b67ea7fe6ecb20f6277c1<br><br>umarhayat@ubuntu:~$ <br>"</i></div><div><i><br></i></div><div>HTH</div><div>Umar Hayat</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 8:57 PM Nirav Bhatt <<a href="mailto:niravbhatt.cpp@gmail.com" target="_blank">niravbhatt.cpp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">postgresql-14-pgpool2 isn't available for Ubuntu. </div><div dir="ltr">For CentOS, I could not find an ARM package.</div><div dir="ltr"><br></div><div>My pgpool service starts and stops quite fine with the package I have installed. </div><div>I don't want to mess that up.</div><div>Isn't there a way to install just the extension as it is the only thing missing right now?<br></div><div><br></div><div><div>I can see some files under source tree under the path: </div><div>src/sql/pgpool-recovery/.</div></div><div><br></div><div>-Nirav</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 16, 2021 at 4:18 AM Tatsuo Ishii <<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Hello!<br>
> <br>
> I installed pgpool2 on Ubuntu from this repo:<br>
> <br>
> 4.1.4-3.pgdg20.04+2<br>
> <a href="http://apt.postgresql.org/pub/repos/apt" rel="noreferrer" target="_blank">http://apt.postgresql.org/pub/repos/apt</a> focal-pgdg/main<br>
> <br>
> When I run this:<br>
> psql template1 -c "CREATE EXTENSION pgpool_recovery"<br>
> <br>
> I got error:<br>
> could not open extension control file<br>
> "/usr/share/postgresql/14/extension/pgpool_recovery.control": No such file<br>
> or directory<br>
> <br>
> I checked the directory and obviously it does not have the required sql and<br>
> control files.<br>
> <br>
> I see that it could be installed using make install, but I am afraid that<br>
> it will spoil my existing set up by overwriting other things carefully set<br>
> up (e.g. conf files, sh files, postgresql)<br>
> <br>
> Without disturbing what is already set up for pgpool2, what is the way to<br>
> install this extension (i.e. running a few sql commands or moving some<br>
> files manually to directory /usr/share/postgresql/14/extension/?)<br>
<br>
I am not familiar with pgpool2 Ubuntu packages but I guess you need<br>
postgresql-14-pgpool2 package.<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div></div>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net" target="_blank">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>