<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.louslab.be/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.louslab.be/feed.php">
        <title>Lou&#039;s lab - postgresql</title>
        <description></description>
        <link>https://www.louslab.be/</link>
        <image rdf:resource="https://www.louslab.be/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-09T18:34:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:configuratie&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:databasebeheer&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:databasetoegang&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:gebruikersbeheer&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:installatie_op_debian&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:pgadmin_installatie&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:postgresql&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:psql&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:repositories&amp;rev=1731780893&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.louslab.be/doku.php?id=postgresql:werking&amp;rev=1731780893&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.louslab.be/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Lou's lab</title>
        <link>https://www.louslab.be/</link>
        <url>https://www.louslab.be/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:configuratie&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>configuratie</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:configuratie&amp;rev=1731780893&amp;do=diff</link>
        <description>titel

postgresql

context

dit document beschrijft de configuratie van postgresql, volgende op de 

verbinding

listen port

wijzig de listen port van localhost naar &#039;alle beschikbare addressen&#039;

	*  open etc/postgresql/14/main/postgresql.conf
		*  listen_addresses = &#039;*</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:databasebeheer&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>databasebeheer</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:databasebeheer&amp;rev=1731780893&amp;do=diff</link>
        <description>databasebeheer

postgresql

context

dit document beschrijft databasebeheerop postgresql

database

overzicht

pgql
\l+

aanmaken

CREATE DATABASE &lt;dbnaam&gt;;

hernoemen

ALTER DATABASE &lt;dbname&gt; RENAME TO &lt;niewe dbname&gt;

verwijderen

DROP USER &lt;gebruiker&gt;;

meer info</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:databasetoegang&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>databasetoegang</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:databasetoegang&amp;rev=1731780893&amp;do=diff</link>
        <description>database toegang

postgresql

context

dit document beschrijft hoe je toegang op databases instelt. 

toegang instellen

	*  open /etc/postgresql/14/main/pg_hba.conf
	*  toegang kan verleend worden aan: 
		*  specifieke hosts: ip, fqdn, subnet
		*  specifieke databases</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:gebruikersbeheer&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gebruikersbeheer</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:gebruikersbeheer&amp;rev=1731780893&amp;do=diff</link>
        <description>gebruikersbeheer

postgresql

context

dit document beschrijft gebruikersbeheer op postgresql

gebruikers

overzicht

pgql
\du

aanmaken

CREATE USER &lt;gebruiker&gt; PASSWORD &#039;&lt;pwd&gt;&#039;;

aanpassen

ALTER USER &lt;gebruiker&gt;;

voorbeeld

	*  ALTER USER &lt;gebruiker&gt; SUPERUSER;</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:installatie_op_debian&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>installatie_op_debian</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:installatie_op_debian&amp;rev=1731780893&amp;do=diff</link>
        <description>postgresql installatie

postgresql

context

dit document beschrijft  de installatie van postgresql op Debian

installatie

	*  voeg de postgresql repositories toe.
	*  installeer: 
apt-get -y install postgresql

	*  controleer de status: 
systemctl status postgresql


ga nu verder naar:</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:pgadmin_installatie&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pgadmin_installatie</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:pgadmin_installatie&amp;rev=1731780893&amp;do=diff</link>
        <description>installatie pgadmin

postgresql

context

dit document beschrijft de installatie van pgadmin4 op Debian

installatie

repository toevoegen

voeg pubkey toe van de pgadmin repository: 

curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | apt-key add</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:postgresql&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postgresql</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:postgresql&amp;rev=1731780893&amp;do=diff</link>
        <description>postgresql



postgresql</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:psql&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>psql</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:psql&amp;rev=1731780893&amp;do=diff</link>
        <description>psql

postgresql

context

dit document beschrijft de werking van psql, een commandline tool om postgresql te beheren.

installatie

	*  voeg de postgresql repositories toe
	*  apt install postgresql-client

aanmelden

	*  meld aan als Linux gebruiker (of: root: su - &lt;gebruikersnaam&gt;)
	*  voer uit:</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:repositories&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>repositories</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:repositories&amp;rev=1731780893&amp;do=diff</link>
        <description>postgresql repositories

postgresql

context

dit document beschrijft  hoe je postgresql repositories toevoegt.

stappenplan

	*  ga naar de download pagina
	*  maak de repo file aan:
echo &quot;deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main&quot; &gt; /etc/apt/sources.list.d/pgdg.list</description>
    </item>
    <item rdf:about="https://www.louslab.be/doku.php?id=postgresql:werking&amp;rev=1731780893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-16T18:14:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>werking</title>
        <link>https://www.louslab.be/doku.php?id=postgresql:werking&amp;rev=1731780893&amp;do=diff</link>
        <description>werking

postgresql

context

dit document beschrijft de algemene werking van postgresql.
dit document volgt op de installatie, eigenlijk. 

aanmelden

	*  meld aan met je Linux gebruiker 
	*  voer uit: 
psql postgres


postgres user

	*  bij installatie wordt een Linux gebruiker</description>
    </item>
</rdf:RDF>
