<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pg_settings &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/pg_settings/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Fri, 15 Sep 2017 10:52:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>PostgreSQL: Important Database Administrator Commands Part II (PSQL)</title>
		<link>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-psql-commands-part-ii/</link>
					<comments>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-psql-commands-part-ii/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 27 Sep 2015 18:33:33 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[pg_settings]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[psql]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=732</guid>

					<description><![CDATA[In this post, I am sharing few important and basic commands for Database Administrator of PostgreSQL and PSQL Console. Below are the important PSQL command: # \l : to list all databases # \? : to list help for all commands # \h create table : show help with topics # \d : to list [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fpostgresql-important-database-administrator-psql-commands-part-ii%2F&#038;title=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20II%20%28PSQL%29" data-a2a-url="https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-psql-commands-part-ii/" data-a2a-title="PostgreSQL: Important Database Administrator Commands Part II (PSQL)"></a></p><p>In this post, I am sharing few important and basic commands for Database Administrator of PostgreSQL and PSQL Console.</p>
<p><strong>Below are the important PSQL command:</strong></p>
<p><strong># \l :</strong> to list all databases<br />
<strong># \? :</strong> to list help for all commands<br />
<strong># \h create table :</strong> show help with topics<br />
<strong># \d :</strong> to list all tables<br />
<strong># \df :</strong> to list all functions<br />
<strong># \da :</strong> to list all aggregate functions<br />
<strong># \dn :</strong> to list all schemas<br />
<strong># \du :</strong> to list all users<br />
<strong># \r :</strong> to reset the query buffer<br />
<strong># \db :</strong> to list all table space</p>
<p><strong>To show current data directory.</strong><br />
<pre class="crayon-plain-tag">SHOW data_directory;</pre>
<p><strong>To change current data directory and it requires a server restart. </strong><br />
<pre class="crayon-plain-tag">SET data_directory TO NewPath;</pre>
<p><strong>To show current server configuration setting.</strong><br />
<pre class="crayon-plain-tag">SHOW ALL;</pre>
<pre class="crayon-plain-tag">SELECT name, setting, unit, context FROM pg_settings;</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-psql-commands-part-ii/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
