<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Usuario%3ABetology%2FHowTos%2FIntroducci%C3%B3n_a_PostgreSQL</id>
	<title>Usuario:Betology/HowTos/Introducción a PostgreSQL - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Usuario%3ABetology%2FHowTos%2FIntroducci%C3%B3n_a_PostgreSQL"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Usuario:Betology/HowTos/Introducci%C3%B3n_a_PostgreSQL&amp;action=history"/>
	<updated>2026-05-05T20:11:54Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Usuario:Betology/HowTos/Introducci%C3%B3n_a_PostgreSQL&amp;diff=817&amp;oldid=prev</id>
		<title>Betology: inicio</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Usuario:Betology/HowTos/Introducci%C3%B3n_a_PostgreSQL&amp;diff=817&amp;oldid=prev"/>
		<updated>2011-04-24T19:56:11Z</updated>

		<summary type="html">&lt;p&gt;inicio&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Borrador}}&lt;br /&gt;
Éste curso es un obra en proceso, por ello estará cambiando continuamente.&lt;br /&gt;
&lt;br /&gt;
== Instalación ==&lt;br /&gt;
&lt;br /&gt;
Para instalar PostgreSQL en Debian GNU/Linux:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; &amp;gt;&lt;br /&gt;
apt-get install postgresql postgresql-client&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usuarios ==&lt;br /&gt;
&lt;br /&gt;
=== Creando usuarios ===&lt;br /&gt;
&lt;br /&gt;
Para crear un usuario en PostgreSQL, es necesario primero iniciar una sesión como &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; y despues cambiar al usuario &amp;lt;code&amp;gt;postgres&amp;lt;/code&amp;gt; como se muestra a continuación:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; &amp;gt;&lt;br /&gt;
beto@logos:~$ su -&lt;br /&gt;
Password: ********&lt;br /&gt;
root@logos:~# su - postgres&lt;br /&gt;
postgres@logos:~$&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Una vez que iniciamos una sesión en el sistema con el usuario  &amp;lt;code&amp;gt;postgres&amp;lt;/code&amp;gt;, utlizando el comando  &amp;lt;code&amp;gt;createuser&amp;lt;/code&amp;gt;, podemos crear &lt;br /&gt;
usuarios para interactuar con PostgreSQL. En este caso voy a crear el usurio  &amp;lt;code&amp;gt;beto&amp;lt;/code&amp;gt; que coincide con el usuario que uso en GNU/Linux.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; &amp;gt;&lt;br /&gt;
postgres@logos:~$ createuser -U postgres -P beto&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Listando usuarios ===&lt;/div&gt;</summary>
		<author><name>Betology</name></author>
		
	</entry>
</feed>