X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=postgres%2Fpackage.yash;fp=postgres%2Fpackage.yash;h=488bd94afd19b0e7484145e178579c0c26e88931;hb=6b6a9d7a1a5824ad807d21714f1649bb9e9f2abe;hp=0000000000000000000000000000000000000000;hpb=7e267316c05b496ea409c0eedb429ffcf2317b4f;p=webi-installers%2F.git diff --git a/postgres/package.yash b/postgres/package.yash new file mode 100644 index 0000000..488bd94 --- /dev/null +++ b/postgres/package.yash @@ -0,0 +1,34 @@ +# title: Postgres +# homepage: https://www.postgresql.org/ +# tagline: PostgreSQL: The World's Most Advanced Open Source Relational Database +# description: | +# Postgres is the all-in-one database for beginners and experts alike. It handles SQL, 'NoSQL', JSON, HSTORE, Full-Text Search, Messages Queues and more. Best bang for buck. +# examples: | +# +# Initialize a database with a password +# +# ```bash +# echo "postgres" > /tmp/pwfile +# mkdir -p $HOME/.local/share/postgres/var/ +# +# initdb -D $HOME/.local/share/postgres/var/ \ +# --username postgres --pwfile "/tmp/pwfile" \ +# --auth-local=password --auth-host=password +# +# rm /tmp/pwfile +# ``` +# +# Start the postgres server +# +# ```bash +# postgres -D $HOME/.local/share/var/postgres -p 5432 +# ``` +# +# Connect with the psql client +# +# ```bash +# psql 'postgres://postgres:postgres@localhost:5432/postgres' +# ``` +# + +END