<?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_reload_conf &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/pg_reload_conf/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>Thu, 19 Apr 2018 13:19:49 +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: How to reload the Server Configuration Files?</title>
		<link>https://www.dbrnd.com/2018/04/postgresql-how-to-reload-the-server-configuration-files-pg_reload_conf/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 19 Apr 2018 16:16:13 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[pg_reload_conf]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Configuration]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[postgresql.conf]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=7373</guid>

					<description><![CDATA[In this post, I am sharing a PostgreSQL DBA Function for reloading the Server Configuration flies like postgresql.conf. Even for small config change, people are restarting the whole server which is not good for existing connections. And even, all parameters don&#8217;t require the restart of the server. You can find this information like which parameter [&#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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&amp;linkname=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" 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%2F2018%2F04%2Fpostgresql-how-to-reload-the-server-configuration-files-pg_reload_conf%2F&#038;title=PostgreSQL%3A%20How%20to%20reload%20the%20Server%20Configuration%20Files%3F" data-a2a-url="https://www.dbrnd.com/2018/04/postgresql-how-to-reload-the-server-configuration-files-pg_reload_conf/" data-a2a-title="PostgreSQL: How to reload the Server Configuration Files?"></a></p><p>In this post, I am sharing a PostgreSQL DBA Function for reloading the Server Configuration flies like postgresql.conf. </p>
<blockquote><p>Even for small config change, people are restarting the whole server which is not good for existing connections. </p>
<p>And even, all parameters don&#8217;t require the restart of the server. You can find this information like which parameter needs config reload in the wiki of PostgreSQL. </p></blockquote>
<p>So before taking any action, please check the official page.<br />
Now, without restarting the server, you can still reload the configuration files of the PostgreSQL Server.</p>
<p><strong>Use below DBA Function, for reloading the Server Configuration files:</strong></p>
<pre class="crayon-plain-tag">select pg_reload_conf();</pre> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL: Important Database Administrator Commands Part I</title>
		<link>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-commands-part-i/</link>
					<comments>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-commands-part-i/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sat, 26 Sep 2015 19:00:21 +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_postmaster_start_time]]></category>
		<category><![CDATA[pg_reload_conf]]></category>
		<category><![CDATA[pg_rotate_logfile]]></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>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=727</guid>

					<description><![CDATA[In this post, I am sharing few important and basic commands for Database Administrator of PostgreSQL. Check the version of PostgreSQL: [crayon-6ab55f185ae86919628403/] Create a database using the script: [crayon-6ab55f185ae88271633666/] Change the owner of the database: [crayon-6ab55f185ae89135655619/] Create a full copy of the database with structure and data: [crayon-6ab55f185ae8a815583861/] Create a database User using the script: [&#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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&amp;linkname=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" 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-commands-part-i%2F&#038;title=PostgreSQL%3A%20Important%20Database%20Administrator%20Commands%20Part%20I" data-a2a-url="https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-commands-part-i/" data-a2a-title="PostgreSQL: Important Database Administrator Commands Part I"></a></p><p>In this post, I am sharing few important and basic commands for Database Administrator of PostgreSQL.</p>
<p><strong>Check the version of PostgreSQL:</strong><br />
<pre class="crayon-plain-tag">SELECT version();</pre>
<p><strong>Create a database using the script:</strong><br />
<pre class="crayon-plain-tag">CREATE DATABASE Database_Name WITH OWNER User_Name;</pre>
<p><strong>Change the owner of the database:</strong><br />
<pre class="crayon-plain-tag">ALTER DATABASE Database_Name OWNER TO User_Name;</pre>
<p><strong>Create a full copy of the database with structure and data:</strong><br />
<pre class="crayon-plain-tag">CREATE DATABASE NewDB WITH TEMPLATE OldDB;</pre>
<p><strong>Create a database User using the script:</strong><br />
<pre class="crayon-plain-tag">CREATE USER Anvesh WITH password 'testPassword';</pre>
<p><strong>Change the password of the User:</strong><br />
<pre class="crayon-plain-tag">ALTER USER postgres WITH PASSWORD 'temproot';</pre>
<p><strong>Upgrade the existing User to Superuser:</strong><br />
<pre class="crayon-plain-tag">ALTER USER TestUser WITH SUPERUSER;</pre>
<p><strong>Reload the PostgreSQL configuration file:</strong><br />
<pre class="crayon-plain-tag">SELECT  pg_reload_conf();</pre>
<p><strong>Rotate the PostgreSQL Log file:</strong><br />
<pre class="crayon-plain-tag">SELECT pg_rotate_logfile();</pre>
<p><strong>Find the Postgres server start time:</strong><br />
<pre class="crayon-plain-tag">SELECT pg_postmaster_start_time();</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/09/postgresql-important-database-administrator-commands-part-i/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
