From f24e240e65eedc5c6c51bbe4f995c1e8db5e208b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Mar 2024 21:43:01 +0000 Subject: [PATCH] adding postgres --- 2023/04/28/gpt4all | 2 +- 2023/04/29/gpt4all-ui | 2 +- 2023/07/17/experiments/transformers | 2 +- 2024/03/12/gnutls | 2 +- 2024/03/12/guile | 2 +- 2024/03/12/guix | 2 +- 2024/03/12/guix-artwork | 2 +- 2024/03/12/nickel | 2 +- 2024/03/12/web-llm | 2 +- 2024/03/13/guile | 2 +- 2024/03/13/guile-gcrypt | 2 +- 2024/03/13/guile-json | 2 +- 2024/03/13/guile-sqlite3 | 2 +- 2024/03/13/guile-zlib | 2 +- 2024/03/13/libgit2 | 2 +- 2024/03/13/scheme-bytestructures | 2 +- 2024/03/18/guix-cuirass | 2 +- 2024/03/19/notes.org | 18 +++++++++++++++++- 18 files changed, 34 insertions(+), 18 deletions(-) diff --git a/2023/04/28/gpt4all b/2023/04/28/gpt4all index 90aa2c1e..3eb6bbac 160000 --- a/2023/04/28/gpt4all +++ b/2023/04/28/gpt4all @@ -1 +1 @@ -Subproject commit 90aa2c1e05ba331aa34e317526048dc61366e874 +Subproject commit 3eb6bbacee04ac0c222d32a4fbb9d9e438f92188 diff --git a/2023/04/29/gpt4all-ui b/2023/04/29/gpt4all-ui index 8f26f069..1bfd281b 160000 --- a/2023/04/29/gpt4all-ui +++ b/2023/04/29/gpt4all-ui @@ -1 +1 @@ -Subproject commit 8f26f069ac2e0dc72f4d0cf155484e2adae8b097 +Subproject commit 1bfd281b86fac7be0014ffc539a413622908eec6 diff --git a/2023/07/17/experiments/transformers b/2023/07/17/experiments/transformers index 40d5e056..81ec8028 160000 --- a/2023/07/17/experiments/transformers +++ b/2023/07/17/experiments/transformers @@ -1 +1 @@ -Subproject commit 40d5e056712f175ee72ecc57d1c96d6b87d0b9fc +Subproject commit 81ec8028f97e7c3cc3fb03536f408c88db14c6f7 diff --git a/2024/03/12/gnutls b/2024/03/12/gnutls index 7b6856e7..a974860f 160000 --- a/2024/03/12/gnutls +++ b/2024/03/12/gnutls @@ -1 +1 @@ -Subproject commit 7b6856e74240d005dd0eec2edd2edd754aa18e93 +Subproject commit a974860fcb1b18817a85833ed5403c9432f73bc8 diff --git a/2024/03/12/guile b/2024/03/12/guile index e1690f3f..4ec15589 160000 --- a/2024/03/12/guile +++ b/2024/03/12/guile @@ -1 +1 @@ -Subproject commit e1690f3fd251d69b3687ec12c6f4b41034047f0f +Subproject commit 4ec15589562f6acf9a26856aed5b2a7ac202352a diff --git a/2024/03/12/guix b/2024/03/12/guix index bda6935f..93aefca7 160000 --- a/2024/03/12/guix +++ b/2024/03/12/guix @@ -1 +1 @@ -Subproject commit bda6935f1be7d3d42126204830d8505ea65601cc +Subproject commit 93aefca7bab5f5b40164176e3224221d26d708f1 diff --git a/2024/03/12/guix-artwork b/2024/03/12/guix-artwork index 3101f165..d9ea60c3 160000 --- a/2024/03/12/guix-artwork +++ b/2024/03/12/guix-artwork @@ -1 +1 @@ -Subproject commit 3101f165670d0361ba85c218029c70d25b33b313 +Subproject commit d9ea60c30db36375e404b82cc6b01c992fcac3cf diff --git a/2024/03/12/nickel b/2024/03/12/nickel index 71a84b3e..2c5b8f1f 160000 --- a/2024/03/12/nickel +++ b/2024/03/12/nickel @@ -1 +1 @@ -Subproject commit 71a84b3ed9226379b24aa55cc6e1149fd8ec212d +Subproject commit 2c5b8f1f0781c1b3fde41b54a324c364445adae6 diff --git a/2024/03/12/web-llm b/2024/03/12/web-llm index 212ae18c..81e1a99a 160000 --- a/2024/03/12/web-llm +++ b/2024/03/12/web-llm @@ -1 +1 @@ -Subproject commit 212ae18c62fab487cb660d412b1435a34060176a +Subproject commit 81e1a99ac00d09400956fb7b49a660cf54db9a96 diff --git a/2024/03/13/guile b/2024/03/13/guile index 4ec15589..6da17c3f 160000 --- a/2024/03/13/guile +++ b/2024/03/13/guile @@ -1 +1 @@ -Subproject commit 4ec15589562f6acf9a26856aed5b2a7ac202352a +Subproject commit 6da17c3f88144c428349e2d3bdbbdb7596ca1f77 diff --git a/2024/03/13/guile-gcrypt b/2024/03/13/guile-gcrypt index 25f47d88..d54237c2 160000 --- a/2024/03/13/guile-gcrypt +++ b/2024/03/13/guile-gcrypt @@ -1 +1 @@ -Subproject commit 25f47d88a87878d64556ea762ac01ea1041d48fd +Subproject commit d54237c2caabd09afec71fc02203114b44d65fb1 diff --git a/2024/03/13/guile-json b/2024/03/13/guile-json index 04592b6e..05ce74cf 160000 --- a/2024/03/13/guile-json +++ b/2024/03/13/guile-json @@ -1 +1 @@ -Subproject commit 04592b6ef2333b0ea8da4c729ccfaa05d7d5b63f +Subproject commit 05ce74cf7894ff5a1899380a739892b39c3c8e76 diff --git a/2024/03/13/guile-sqlite3 b/2024/03/13/guile-sqlite3 index 48cbb2cb..5fa25ef9 160000 --- a/2024/03/13/guile-sqlite3 +++ b/2024/03/13/guile-sqlite3 @@ -1 +1 @@ -Subproject commit 48cbb2cbde34050957d98c0ce6b4268a7125d020 +Subproject commit 5fa25ef90859a9c6c3a53ccbfd2a4b62b9ac538a diff --git a/2024/03/13/guile-zlib b/2024/03/13/guile-zlib index bc0f4862..13c51267 160000 --- a/2024/03/13/guile-zlib +++ b/2024/03/13/guile-zlib @@ -1 +1 @@ -Subproject commit bc0f48620c2a49b5e344fd6484924bbae11f063e +Subproject commit 13c51267d1249d26095e2dce983eaa146f84b230 diff --git a/2024/03/13/libgit2 b/2024/03/13/libgit2 index a6ad8b11..bad5620e 160000 --- a/2024/03/13/libgit2 +++ b/2024/03/13/libgit2 @@ -1 +1 @@ -Subproject commit a6ad8b11e827d15022b80909bb1a973155f4867d +Subproject commit bad5620e04cd5bc36b7e9a20b11a1cb493b12ad7 diff --git a/2024/03/13/scheme-bytestructures b/2024/03/13/scheme-bytestructures index 06556c6d..a6d5d25b 160000 --- a/2024/03/13/scheme-bytestructures +++ b/2024/03/13/scheme-bytestructures @@ -1 +1 @@ -Subproject commit 06556c6daacea9d41ba769861cbdbc782bab1454 +Subproject commit a6d5d25b26c0c5ef1f5fa38e2472fbf6a32cdf89 diff --git a/2024/03/18/guix-cuirass b/2024/03/18/guix-cuirass index 50a8933a..7c8d642b 160000 --- a/2024/03/18/guix-cuirass +++ b/2024/03/18/guix-cuirass @@ -1 +1 @@ -Subproject commit 50a8933a4965a13af6425c09dab834412e12b347 +Subproject commit 7c8d642b085651dd3ad3189aeec498fc1ecc393a diff --git a/2024/03/19/notes.org b/2024/03/19/notes.org index 5830f609..6ec145e3 100644 --- a/2024/03/19/notes.org +++ b/2024/03/19/notes.org @@ -212,6 +212,22 @@ nix build .#psql_15/bin -o result-15 ./initdb -D data2 #./pg_ctl -D data2 -l logfile start - ./postgres -D data2 + ./postgres -D data2 & +ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/createuser + +./createuser root + +ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/createdb +./createdb cuirass + +ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/psql +#+end_src + +./psql + +#+begin_src shell +grant all PRIVILEGES on schema public to root; +grant all PRIVILEGES on database cuirass to root; +alter database cuirass owner to root; #+end_src