{"id":4272,"date":"2021-01-14T11:33:24","date_gmt":"2021-01-14T17:33:24","guid":{"rendered":"https:\/\/www.logikalsolutions.com\/wordpress\/?p=4272"},"modified":"2023-11-27T18:17:26","modified_gmt":"2023-11-28T00:17:26","slug":"install-postgresql-on-manjaro","status":"publish","type":"post","link":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/","title":{"rendered":"How to Install PostgreSQL on Manjaro"},"content":{"rendered":"\n<p>How to install PostgreSQL on Manjaro (really any Arch distro) is not straight forward. Worse yet, most of the information you find online about how to do it is outdated fifteen minutes after it is published. You have to be sure the versions match before following the instructions.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"618\" height=\"494\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/boinc-sys-info.png\" alt=\"\" class=\"wp-image-4216\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/boinc-sys-info.png 618w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/boinc-sys-info-300x240.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><figcaption class=\"wp-element-caption\">My version<\/figcaption><\/figure>\n<\/div>\n\n\n<p>You really need to do this one from the terminal.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo pacman -Ss postgres\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">pacman<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-Ss<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgres<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>That will show you lots of stuff. If you just want to jump, run these two commands.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo pacman -Sy postgresql\nsudo pacman -Sy libpqxx\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">pacman<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-Sy<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">pacman<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-Sy<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">libpqxx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>The second one many will argue is not needed. Just install it. Technically it is for C\/C++ users doing server development, but quite a few programs using PostgreSQL as their back end need it. Don&#8217;t rely on packagers being smart enough to include it as a dependency. <\/p>\n\n\n\n<p>Oh, don&#8217;t get all happy and giddy. This is an Arch based distro, nothing is easy despite the &#8220;simplicity&#8221; motto.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"615\" height=\"107\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/psql-manjaro-1.png\" alt=\"\" class=\"wp-image-4273\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/psql-manjaro-1.png 615w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/psql-manjaro-1-300x52.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><figcaption class=\"wp-element-caption\">It&#8217;s still not going to work<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Most other distros would be really nice and simple. After you installed the server, they would enable and start it for you. Not Arch based distros. Being kind to the user isn&#8217;t in the development mantra. <\/p>\n\n\n\n<p>Part of the reason is you cannot have &#8220;One package to rule them all!&#8221; This desktop thing is kind of an afterthought in the Arch world. A cute little thing to be passed along as a promotional item like a pen with a company name on it. The bulk of Arch based packaging and development appears to be focused on server markets. Here&#8217;s a good example.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo -u postgres -i\ninitdb --locale $LANG -E UTF8 -D '\/var\/lib\/postgres\/data\/'\nexit\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-u<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgres<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-i<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">initdb<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">--locale<\/span><span style=\"color: #BABED8\"> $LANG <\/span><span style=\"color: #C3E88D\">-E<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">UTF8<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-D<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">\/var\/lib\/postgres\/data\/<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #82AAFF\">exit<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You should see something like this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"616\" height=\"559\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajor-postres-init.png\" alt=\"\" class=\"wp-image-4277\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajor-postres-init.png 616w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajor-postres-init-300x272.png 300w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><figcaption class=\"wp-element-caption\">Initializing PostgreSQL<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Most desktop distros just do that (or something like it) for you as part of the POSTINST step. While some super desktop users will have multiple disk drives in their system and now how to automount NAS at boot, John and Jane Q. Public don&#8217;t.<\/p>\n\n\n\n<p>Those of you who happen to have a spare 6TB Western Digital Black internal disk drive in your machine will want to change the directory path because you probably installed that drive just for database use . . . unless you <em>really<\/em> like funny cat videos.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Debian Detour<\/h2>\n\n\n\n<p>On Debian and most other desktop friendly distros, they choose to make the expert users suffer.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo mkdir \/media\/db_data\/postgres_data\nsudo chown postgres:postgres \/media\/db_data\/postgres_data\npsql -d postgres -c &quot; create tablespace bigspace location '\/media\/db_data\/postgres_data' &quot;\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">mkdir<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">\/media\/db_data\/postgres_data<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">chown<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgres:postgres<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">\/media\/db_data\/postgres_data<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">psql<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-d<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgres<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">-c<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\"> create tablespace bigspace location &#39;\/media\/db_data\/postgres_data&#39; <\/span><span style=\"color: #89DDFF\">&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Then you have to explicitly create your tables in that tablespace.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"createdb --tablespace bigspace tax_$tax_year 'Tax information for $tax_year'\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">createdb<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">--tablespace<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">bigspace<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">tax_<\/span><span style=\"color: #BABED8\">$tax_year <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">Tax information for $tax_year<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Yes, parking my PostgreSQL data out on a second disk was painful. Most <em>ordinary<\/em> users only have one disk. Adding insult to injury, if I had to re-install my OS due to drive failure and no current backup, there was actually no way to recover the data in the tablespace. At least there wasn&#8217;t back then. I&#8217;m very religious about backing up, but that failure caught me at the right time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">OS\/2 Still Lives<\/h2>\n\n\n\n<p>There is a method to the madness with the way Manjaro\/Arch distros choose to do this. It just doesn&#8217;t work well for the average user. Server focused distros are pushing <a href=\"https:\/\/wiki.archlinux.org\/index.php\/LVM\" target=\"_blank\" rel=\"noreferrer noopener\">LVM<\/a>. <\/p>\n\n\n\n<p>I&#8217;m not really trusting <a href=\"http:\/\/www.linux-databook.info\/?page_id=223\" target=\"_blank\" rel=\"noreferrer noopener\">this particular history of OS\/2<\/a> and its statements about <a href=\"http:\/\/www.edm2.com\/index.php\/Logical_Volume_Manager\" target=\"_blank\" rel=\"noreferrer noopener\">LVM<\/a>. The reason for my distrust is I ran OS\/2 as my primary desktop for years. The reason is that I never ran a server edition of OS\/2, but I ran LVM for years.<\/p>\n\n\n\n<p>Logical Volume management was way more important in the OS\/2 days. You have to remember that an 80MEG hard drive was <em>huge<\/em> then. Depending on what flavor of DOS you were running, you couldn&#8217;t even partition that entire drive as a single partition. According to <a href=\"https:\/\/www.pctechguide.com\/hard-disks\/file-systems-fat-fat8-fat16-fat32-and-ntfs-explained\" target=\"_blank\" rel=\"noreferrer noopener\">this post<\/a> my memory is wrong, but I physically remember running into the partition size limit issue more than once. First time was with my first 40MEG drive and he second time was with my first 80MEG drive.<\/p>\n\n\n\n<p>With LVM and a SCSI controller allowing for up to six drives you didn&#8217;t have these issues. OS\/2 had a drive preparation that would let you dynamically add another drive to the LVM. Is that 80MEG drive getting full? Just add another. Once IBM ripped out most of the really bad Microsoft code, OS\/2Warp 4.5 was a really stable and capable OS. So naturally they abandoned it.<\/p>\n\n\n\n<p>Pieces of OS\/2 keep showing up because it was ahead of its time. It had better memory management and networking than any Microsoft product of the day or many years to follow. In particular, LVM was something of a crown jewel. As a parting thumb in the eye of Microsoft, IBM OpenSourced LVM and it found its way into Linux.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Method to the Madness<\/h2>\n\n\n\n<p>Some Linux distros are defaulting to LVM for the primary installation target, others are not. I will leave it up to the reader to click the links and do the research.<\/p>\n\n\n\n<p>This long winded tale is explaining why opted to not be nice to the user. A sysadmin is going to want to point PostgreSQL to an LVM or network storage appliance providing hundreds, perhaps thousands of Terabytes of storage. An ordinary desktop user has one disks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your Final Step<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl enable --now postgresql.service\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">enable<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">--now<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You should be good to go!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"616\" height=\"116\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajro-postgres-add-user.png\" alt=\"\" class=\"wp-image-4278\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajro-postgres-add-user.png 616w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manajro-postgres-add-user-300x56.png 300w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><figcaption class=\"wp-element-caption\">Add yourself as a super user<\/figcaption><\/figure>\n<\/div>\n\n\n<p>There are those who offer up the argument for adding yourself to the postgres group. I&#8217;ve never done it. If you are really bothered by the createuser command not being able to change directory to your home then I guess you can. Just don&#8217;t forget to also change the group on your directory.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"457\" height=\"177\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manjaro-postgres-group.png\" alt=\"\" class=\"wp-image-4279\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manjaro-postgres-group.png 457w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/manjaro-postgres-group-300x116.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><figcaption class=\"wp-element-caption\">groups and permissions<\/figcaption><\/figure>\n<\/div>\n\n\n<p>If you want to understand more about Linux groups and file permissions, <a href=\"https:\/\/www.linux.com\/training-tutorials\/understanding-linux-file-permissions\/\" target=\"_blank\" rel=\"noreferrer noopener\">start here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Arch Bug<\/h2>\n\n\n\n<p>When you install PostgreSQL on Manjaro you run into the Arch bug. Manjaro is Arch Linux based. When you hear about Linux being an &#8220;expert friendly&#8221; operating system with an uninviting community, you are most likely hearing a story about someone&#8217;s adventure into Arch. Just signing up for the user forum should tell you what you are in for.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"339\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1-1024x339.png\" alt=\"\" class=\"wp-image-4379\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1-1024x339.png 1024w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1-300x99.png 300w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1-768x254.png 768w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1-760x251.png 760w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/arch-forum-friendly-greeting-1.png 1094w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Arch forum registration greeting<\/figcaption><\/figure>\n\n\n\n<p>Basically, the bug is Arch deciding to change a default from false to true. So, if you&#8217;ve been using my xpnsqt application to keep track of your expenses for filing taxes; (Tax season is just around the corner people!) you will see something like this when you try to load your CSV backup files.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"'\/home\/roland\/postgres_tax_backups\/tax_2019_payees.csv' -&gt; '\/tmp\/tax_2019_payees.csv'\n '\/home\/roland\/postgres_tax_backups\/tax_2020_categories.csv' -&gt; '\/tmp\/tax_2020_categories.csv'\n '\/home\/roland\/postgres_tax_backups\/tax_2020_expenses.csv' -&gt; '\/tmp\/tax_2020_expenses.csv'\n '\/home\/roland\/postgres_tax_backups\/tax_2020_payees.csv' -&gt; '\/tmp\/tax_2020_payees.csv'\n ;;;;;\n ;;;;;\n ;;;;;   Loading 1992\n ;;;;;\n ;;;;;\n creating tax tables\n    Importing \u2026  1992\n psql:import_it.sql:1: ERROR:  could not open file &quot;\/tmp\/tax_1992_payees.csv&quot; for reading: No such file or directory\n HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \\copy.\n psql:import_it.sql:2: ERROR:  could not open file &quot;\/tmp\/tax_1992_categories.csv&quot; for reading: No such file or directory\n HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \\copy.\n psql:import_it.sql:3: ERROR:  could not open file &quot;\/tmp\/tax_1992_expenses.csv&quot; for reading: No such file or directory\n HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \\copy.\n  setval \" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">&#39;\/home\/roland\/postgres_tax_backups\/tax_2019_payees.csv&#39;<\/span><span style=\"color: #BABED8\"> -<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_2019_payees.csv<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">&#39;\/home\/roland\/postgres_tax_backups\/tax_2020_categories.csv&#39;<\/span><span style=\"color: #BABED8\"> -<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_2020_categories.csv<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">&#39;\/home\/roland\/postgres_tax_backups\/tax_2020_expenses.csv&#39;<\/span><span style=\"color: #BABED8\"> -<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_2020_expenses.csv<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">&#39;\/home\/roland\/postgres_tax_backups\/tax_2020_payees.csv&#39;<\/span><span style=\"color: #BABED8\"> -<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_2020_payees.csv<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">;;;;;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">;;;;;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">;;;;;<\/span><span style=\"color: #BABED8\">   <\/span><span style=\"color: #FFCB6B\">Loading<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #F78C6C\">1992<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">;;;;;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">;;;;;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">creating<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">tax<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">tables<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">    <\/span><span style=\"color: #FFCB6B\">Importing<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">\u2026<\/span><span style=\"color: #BABED8\">  <\/span><span style=\"color: #F78C6C\">1992<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">psql:import_it.sql:1:<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">ERROR:<\/span><span style=\"color: #BABED8\">  <\/span><span style=\"color: #C3E88D\">could<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">not<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">open<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_1992_payees.csv<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">for<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">reading:<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">No<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">such<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">or<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">directory<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">HINT:<\/span><span style=\"color: #BABED8\">  <\/span><span style=\"color: #C3E88D\">COPY<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">FROM<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">instructs<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">the<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">PostgreSQL<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">server<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">process<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">read<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">a<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file.<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">You<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">may<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">want<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">a<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">client-side<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">facility<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">such<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">as<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">psql<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">s \\copy.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C3E88D\"> psql:import_it.sql:2: ERROR:  could not open file &quot;\/tmp\/tax_1992_categories.csv&quot; for reading: No such file or directory<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C3E88D\"> HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">s<\/span><span style=\"color: #BABED8\"> \\c<\/span><span style=\"color: #C3E88D\">opy.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">psql:import_it.sql:3:<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">ERROR:<\/span><span style=\"color: #BABED8\">  <\/span><span style=\"color: #C3E88D\">could<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">not<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">open<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">\/tmp\/tax_1992_expenses.csv<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">for<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">reading:<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">No<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">such<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">or<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">directory<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #FFCB6B\">HINT:<\/span><span style=\"color: #BABED8\">  <\/span><span style=\"color: #C3E88D\">COPY<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">FROM<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">instructs<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">the<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">PostgreSQL<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">server<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">process<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">read<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">a<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">file.<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">You<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">may<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">want<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">a<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">client-side<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">facility<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">such<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">as<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">psql<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">s \\copy.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C3E88D\">  setval <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Since roughly the 1970s \/tmp has been that unprotected no-mans land where you didn&#8217;t leave stuff sit for long. Most distros point temp environment variables for each user to \/tmp\/user-name and make that a directory owned by the user. This gives you <em>some<\/em> protection.<\/p>\n\n\n\n<p>You know, the average schmoe using Linux at home or work doesn&#8217;t know much about Linux really. They&#8217;ve always used a desktop and only open a terminal when it is absolutely necessary.<\/p>\n\n\n\n<p>Sysadmins on the other hand, should know all about systemctl overrides. They also would have been the only one who wanted this turned on. Seriously, there is no account information with my xpnsqt thing. I suspect there is no account information in your recipe database. How about the database you created to keep track of your music collection? DVDs?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When you install PostgreSQL on Manjaro &#8211; The Schmoe Tactic<\/h2>\n\n\n\n<p>At some point everyone is a schmoe because he universe likes to laugh at people. The schmoe approach will do just enough research to find out what value they need to change.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/usr\/lib\/systemd\/system\nsudo cp postgresql.service postgresql.service_original\nsudo jed postgresql.service\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #82AAFF\">cd<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">\/usr\/lib\/systemd\/system<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">cp<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service_original<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">jed<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You may not <a href=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/how-to-install-jed-from-aur-on-manjaro\/\" target=\"_blank\" rel=\"noreferrer noopener\">have jed installed<\/a>. You should, but you probably didn&#8217;t install it. Use nano or whatever terminal emulator you have installed.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"318\" height=\"64\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/postgres-private-tmp.png\" alt=\"\" class=\"wp-image-4380\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/postgres-private-tmp.png 318w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/postgres-private-tmp-300x60.png 300w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/><figcaption class=\"wp-element-caption\">PrivateTmp needs to be false<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Save an exit. The dutiful schmoe will then do the following:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo cp postgresql.service postgresql.service_fixed\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">cp<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service_fixed<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Why? Because every update will probably walk on this file. The dutiful schmoe can use a diff utility like <a href=\"https:\/\/meldmerge.org\" target=\"_blank\" rel=\"noreferrer noopener\">Meld<\/a> to compare the before and after so they can remember what needed to be fixed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When you install PostgreSQL on Manjaro &#8211; Shoulda Done<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl edit postgresql.service\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">edit<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql.service<\/span><\/span><\/code><\/pre><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"719\" height=\"719\" src=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/manjaro-postgres-override.png\" alt=\"\" class=\"wp-image-4381\" srcset=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/manjaro-postgres-override.png 719w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/manjaro-postgres-override-300x300.png 300w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/manjaro-postgres-override-150x150.png 150w, https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/02\/manjaro-postgres-override-100x100.png 100w\" sizes=\"(max-width: 719px) 100vw, 719px\" \/><figcaption class=\"wp-element-caption\">Override file<\/figcaption><\/figure>\n<\/div>\n\n\n<p>The dark lore of the override file won&#8217;t be immediately obvious. You cannot just override the value. You have to override the value under a tag\/section whatever the name is this week.<\/p>\n\n\n\n<p>Yeah, Arch did this to you. Every other distro I&#8217;ve used realizes your typical desktop user won&#8217;t know how to fix this. Far too many will be a schmoe, constantly fixing that file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">No Matter Which Approach<\/h2>\n\n\n\n<p>No matter which approach you take, your changes will not take effect until you either reboot or restart PostgreSQL.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#0F111A\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl restart postgresql\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-ocean\" style=\"background-color: #0F111A\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">restart<\/span><span style=\"color: #BABED8\"> <\/span><span style=\"color: #C3E88D\">postgresql<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Related posts:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/how-to-install-jed-from-aur-on-manjaro\/\">How to install JED from AUR on Manjaro<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/manjaro-kde-nas\/\">How to make Manjaro KDE work with NAS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to install PostgreSQL on Manjaro (really any Arch distro) is not straight forward. Worse yet, most of the information you find online about how to do it is outdated fifteen minutes after it is published. You have to be sure the versions match before following the instructions. You really need to do this one from the terminal. That will show you lots of stuff. If you just want to jump, run these two commands. &hellip; <a title=\"How to Install PostgreSQL on Manjaro\" class=\"bnm-read-more\" href=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/\"><span class=\"screen-reader-text\">How to Install PostgreSQL on Manjaro<\/span>Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":4217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1904,1900,1381],"class_list":["post-4272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information-technology","tag-lvm","tag-manjaro","tag-postgresql","bnm-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install PostgreSQL on Manjaro &#8211; Logikal Blog<\/title>\n<meta name=\"description\" content=\"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PostgreSQL on Manjaro &#8211; Logikal Blog\" \/>\n<meta property=\"og:description\" content=\"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/\" \/>\n<meta property=\"og:site_name\" content=\"Logikal Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-14T17:33:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-28T00:17:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1920\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"seasoned_geek\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"seasoned_geek\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/\"},\"author\":{\"name\":\"seasoned_geek\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c077f770ade13de7faaf616c3eac6842\"},\"headline\":\"How to Install PostgreSQL on Manjaro\",\"datePublished\":\"2021-01-14T17:33:24+00:00\",\"dateModified\":\"2023-11-28T00:17:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/\"},\"wordCount\":1428,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c077f770ade13de7faaf616c3eac6842\"},\"image\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/i5-with-super-floppy.jpeg\",\"keywords\":[\"LVM\",\"Manjaro\",\"PostgreSQL\"],\"articleSection\":[\"Information Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/\",\"url\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/\",\"name\":\"How to Install PostgreSQL on Manjaro &#8211; Logikal Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/i5-with-super-floppy.jpeg\",\"datePublished\":\"2021-01-14T17:33:24+00:00\",\"dateModified\":\"2023-11-28T00:17:26+00:00\",\"description\":\"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/i5-with-super-floppy.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/i5-with-super-floppy.jpeg\",\"width\":1920,\"height\":1440,\"caption\":\"i5 with super floppy\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/information-technology\\\/install-postgresql-on-manjaro\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PostgreSQL on Manjaro\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/\",\"name\":\"Logikal Blog\",\"description\":\"For people with attention spans longer than a Tweet\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c077f770ade13de7faaf616c3eac6842\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c077f770ade13de7faaf616c3eac6842\",\"name\":\"seasoned_geek\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r\",\"caption\":\"seasoned_geek\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r\"},\"description\":\"Roland Hughes started his IT career in the early 1980s. He quickly became a consultant and president of Logikal Solutions, a software consulting firm specializing in OpenVMS application and C++\\\/Qt touchscreen\\\/embedded Linux development. Early in his career he became involved in what is now called cross platform development. Given the dearth of useful books on the subject he ventured into the world of professional author in 1995 writing the first of the \\\"Zinc It!\\\" book series for John Gordon Burke Publisher, Inc. A decade later he released a massive (nearly 800 pages) tome \\\"The Minimum You Need to Know to Be an OpenVMS Application Developer\\\" which tried to encapsulate the essential skills gained over what was nearly a 20 year career at that point. From there \\\"The Minimum You Need to Know\\\" book series was born. Three years later he wrote his first novel \\\"Infinite Exposure\\\" which got much notice from people involved in the banking and financial security worlds. Some of the attacks predicted in that book have since come to pass. While it was not originally intended to be a trilogy, it became the first book of \\\"The Earth That Was\\\" trilogy: Infinite Exposure Lesedi - The Greatest Lie Ever Told John Smith - Last Known Survivor of the Microsoft Wars When he is not consulting Roland Hughes posts about technology and sometimes politics on his blog. He also has regularly scheduled Sunday posts appearing on the Interesting Authors blog.\",\"sameAs\":[\"https:\\\/\\\/theminimumyouneedtoknow.com\"],\"url\":\"https:\\\/\\\/www.logikalsolutions.com\\\/wordpress\\\/author\\\/seasoned_geek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install PostgreSQL on Manjaro &#8211; Logikal Blog","description":"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/","og_locale":"en_US","og_type":"article","og_title":"How to Install PostgreSQL on Manjaro &#8211; Logikal Blog","og_description":"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.","og_url":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/","og_site_name":"Logikal Blog","article_published_time":"2021-01-14T17:33:24+00:00","article_modified_time":"2023-11-28T00:17:26+00:00","og_image":[{"width":2560,"height":1920,"url":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg","type":"image\/jpeg"}],"author":"seasoned_geek","twitter_card":"summary_large_image","twitter_misc":{"Written by":"seasoned_geek","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#article","isPartOf":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/"},"author":{"name":"seasoned_geek","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#\/schema\/person\/c077f770ade13de7faaf616c3eac6842"},"headline":"How to Install PostgreSQL on Manjaro","datePublished":"2021-01-14T17:33:24+00:00","dateModified":"2023-11-28T00:17:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/"},"wordCount":1428,"commentCount":2,"publisher":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#\/schema\/person\/c077f770ade13de7faaf616c3eac6842"},"image":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#primaryimage"},"thumbnailUrl":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg","keywords":["LVM","Manjaro","PostgreSQL"],"articleSection":["Information Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/","url":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/","name":"How to Install PostgreSQL on Manjaro &#8211; Logikal Blog","isPartOf":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#primaryimage"},"image":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#primaryimage"},"thumbnailUrl":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg","datePublished":"2021-01-14T17:33:24+00:00","dateModified":"2023-11-28T00:17:26+00:00","description":"When you need a real database on Linux you need PostgreSQL. This post will teach you how to install PostgreSQL on Manjaro.","breadcrumb":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#primaryimage","url":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg","contentUrl":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-content\/uploads\/2021\/01\/i5-with-super-floppy.jpeg","width":1920,"height":1440,"caption":"i5 with super floppy"},{"@type":"BreadcrumbList","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/information-technology\/install-postgresql-on-manjaro\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.logikalsolutions.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"How to Install PostgreSQL on Manjaro"}]},{"@type":"WebSite","@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#website","url":"https:\/\/www.logikalsolutions.com\/wordpress\/","name":"Logikal Blog","description":"For people with attention spans longer than a Tweet","publisher":{"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#\/schema\/person\/c077f770ade13de7faaf616c3eac6842"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.logikalsolutions.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.logikalsolutions.com\/wordpress\/#\/schema\/person\/c077f770ade13de7faaf616c3eac6842","name":"seasoned_geek","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r","url":"https:\/\/secure.gravatar.com\/avatar\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r","caption":"seasoned_geek"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/ae9adac14079d84b909e635d7af986fe4568053af4fd9ff8d4109298c392493e?s=96&d=mm&r=r"},"description":"Roland Hughes started his IT career in the early 1980s. He quickly became a consultant and president of Logikal Solutions, a software consulting firm specializing in OpenVMS application and C++\/Qt touchscreen\/embedded Linux development. Early in his career he became involved in what is now called cross platform development. Given the dearth of useful books on the subject he ventured into the world of professional author in 1995 writing the first of the \"Zinc It!\" book series for John Gordon Burke Publisher, Inc. A decade later he released a massive (nearly 800 pages) tome \"The Minimum You Need to Know to Be an OpenVMS Application Developer\" which tried to encapsulate the essential skills gained over what was nearly a 20 year career at that point. From there \"The Minimum You Need to Know\" book series was born. Three years later he wrote his first novel \"Infinite Exposure\" which got much notice from people involved in the banking and financial security worlds. Some of the attacks predicted in that book have since come to pass. While it was not originally intended to be a trilogy, it became the first book of \"The Earth That Was\" trilogy: Infinite Exposure Lesedi - The Greatest Lie Ever Told John Smith - Last Known Survivor of the Microsoft Wars When he is not consulting Roland Hughes posts about technology and sometimes politics on his blog. He also has regularly scheduled Sunday posts appearing on the Interesting Authors blog.","sameAs":["https:\/\/theminimumyouneedtoknow.com"],"url":"https:\/\/www.logikalsolutions.com\/wordpress\/author\/seasoned_geek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/posts\/4272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/comments?post=4272"}],"version-history":[{"count":0,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/posts\/4272\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/media\/4217"}],"wp:attachment":[{"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/categories?post=4272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.logikalsolutions.com\/wordpress\/wp-json\/wp\/v2\/tags?post=4272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}