<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kalypso.bjoernsen.de/manual/index.php?action=history&amp;feed=atom&amp;title=Installation_PostGIS%2Fpdb%2Fde</id>
	<title>Installation PostGIS/pdb/de - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kalypso.bjoernsen.de/manual/index.php?action=history&amp;feed=atom&amp;title=Installation_PostGIS%2Fpdb%2Fde"/>
	<link rel="alternate" type="text/html" href="https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;action=history"/>
	<updated>2026-07-21T20:55:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=3658&amp;oldid=prev</id>
		<title>Belger: /* Schritt 6 */</title>
		<link rel="alternate" type="text/html" href="https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=3658&amp;oldid=prev"/>
		<updated>2023-10-21T14:15:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Schritt 6&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:15, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CREATE DATABASE meinePDB WITH ENCODING=&amp;#039;UTF8&amp;#039; OWNER=pdb TEMPLATE=template_postgis;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CREATE DATABASE meinePDB WITH ENCODING=&amp;#039;UTF8&amp;#039; OWNER=pdb TEMPLATE=template_postgis;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- für neuere PostGIS Versionen --&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CREATE DATABASE meinePDB WITH ENCODING=&#039;UTF8&#039; OWNER=pdb;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CREATE EXTENSION postgis;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GRANT ALL ON TABLE geometry_columns TO pdb;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GRANT ALL ON TABLE geometry_columns TO pdb;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Belger</name></author>
	</entry>
	<entry>
		<id>https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=2380&amp;oldid=prev</id>
		<title>Belger at 09:47, 23 February 2014</title>
		<link rel="alternate" type="text/html" href="https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=2380&amp;oldid=prev"/>
		<updated>2014-02-23T09:47:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:47, 23 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Datenbankinstallation PostGIS =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voraussetzung ist die Installation sowohl von Postgres als auch dem GIS-Aufsatz PostGIS. Es wird davon ausgegangen, dass bereits die PostGIS Vorlagendatenbank „template_postgis“ vorhanden ist.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voraussetzung ist die Installation sowohl von Postgres als auch dem GIS-Aufsatz PostGIS. Es wird davon ausgegangen, dass bereits die PostGIS Vorlagendatenbank „template_postgis“ vorhanden ist.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wurde PostGIS über den Windows-Installer installiert ist die Vorlagendatenbank bereits vorhanden. Alternativ muss diese manuell erzeugt werden. Siehe hierzu die PostGIS Benutzerdokumentation (http://postgis.refractions.net/docs/).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wurde PostGIS über den Windows-Installer installiert ist die Vorlagendatenbank bereits vorhanden. Alternativ muss diese manuell erzeugt werden. Siehe hierzu die PostGIS Benutzerdokumentation (http://postgis.refractions.net/docs/).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Belger</name></author>
	</entry>
	<entry>
		<id>https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=364&amp;oldid=prev</id>
		<title>HolgerAlbert: Created page with &quot;Voraussetzung ist die Installation sowohl von Postgres als auch dem GIS-Aufsatz PostGIS. Es wird davon ausgegangen, dass bereits die PostGIS Vorlagendatenbank „template_post...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kalypso.bjoernsen.de/manual/index.php?title=Installation_PostGIS/pdb/de&amp;diff=364&amp;oldid=prev"/>
		<updated>2012-08-16T15:40:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Voraussetzung ist die Installation sowohl von Postgres als auch dem GIS-Aufsatz PostGIS. Es wird davon ausgegangen, dass bereits die PostGIS Vorlagendatenbank „template_post...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Voraussetzung ist die Installation sowohl von Postgres als auch dem GIS-Aufsatz PostGIS. Es wird davon ausgegangen, dass bereits die PostGIS Vorlagendatenbank „template_postgis“ vorhanden ist.&lt;br /&gt;
Wurde PostGIS über den Windows-Installer installiert ist die Vorlagendatenbank bereits vorhanden. Alternativ muss diese manuell erzeugt werden. Siehe hierzu die PostGIS Benutzerdokumentation (http://postgis.refractions.net/docs/).&lt;br /&gt;
&lt;br /&gt;
Unter Verwendung einer administrativen Login-Rolle (z.B. &amp;#039;postgres&amp;#039;) sind folgende Arbeitsschritte (z. B. über den pgAdmin) auszuführen:&lt;br /&gt;
&lt;br /&gt;
==Schritt 1 (Optional)==&lt;br /&gt;
Es wird das Anlegen eines gesonderten Tablespaces (z. B. ‚pg_pdb’) empfohlen, der dann als Standard-Tablespace für die Datenbank definiert werden kann. &lt;br /&gt;
&lt;br /&gt;
==Schritt 2==&lt;br /&gt;
Anlegen des Benutzers (Login-Rolle) &amp;#039;pdb&amp;#039; (hier mit Passwort ‚pdb’, das Passwort kann selbstverständlich frei gewählt werden):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE ROLE pdb LOGIN PASSWORD &amp;#039;pdb&amp;#039; NOSUPERUSER INHERIT CREATEDB CREATEROLE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Schritt 3==&lt;br /&gt;
Anlegen der Gruppenrollen &amp;#039;pdb_user&amp;#039; und &amp;#039;pdb_admin&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE ROLE pdb_user NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;&lt;br /&gt;
CREATE ROLE pdb_admin NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;&lt;br /&gt;
GRANT pdb_user TO pdb_admin;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Schritt 4 (Optional)==&lt;br /&gt;
Anlegen eines Benutzers (Login-Rolle) mit den Berechtigungen ‚Fachadministrator’ (hier beispielhaft ‚pdb_fadmin’ mit Passwort ‚fadmin’):&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE ROLE pdb_fadmin LOGIN PASSWORD &amp;#039;fadmin&amp;#039; NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;&lt;br /&gt;
GRANT pdb_admin TO pdb_fadmin;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Schritt 5 (Optional)==&lt;br /&gt;
Anlegen eines normalen Benutzers (Login-Rolle) (hier beispielhaft ‚pdb_user’ mit Passwort ‚user’):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE ROLE pdb_anwender LOGIN PASSWORD &amp;#039;anwender&amp;#039; NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE;&lt;br /&gt;
GRANT pdb_user TO pdb_anwender;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Schritt 6==&lt;br /&gt;
Anlegen einer Datenbank als Kopie der vorinstallierten Datenbank &amp;#039;template_postgis&amp;#039; mit Eigentümer ‚pdb’, und Vergabe von Schreibrechten auf die Geometriedefinitionen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE DATABASE meinePDB WITH ENCODING=&amp;#039;UTF8&amp;#039; OWNER=pdb TEMPLATE=template_postgis;&lt;br /&gt;
&lt;br /&gt;
GRANT ALL ON TABLE geometry_columns TO pdb;&lt;br /&gt;
GRANT ALL ON TABLE spatial_ref_sys TO pdb;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:PDB/de]]&lt;br /&gt;
{{Languages|Installation_PostGIS/pdb}}&lt;/div&gt;</summary>
		<author><name>HolgerAlbert</name></author>
	</entry>
</feed>