<?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>ts_debug &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/ts_debug/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>Sat, 28 Apr 2018 06:17:11 +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 parse the hyphenated word?</title>
		<link>https://www.dbrnd.com/2018/04/postgresql-how-to-parse-the-hyphenated-word/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 30 Apr 2018 16:16:31 +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[hyphenated word]]></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 Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[string parser]]></category>
		<category><![CDATA[text parsing]]></category>
		<category><![CDATA[ts_debug]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6974</guid>

					<description><![CDATA[In this post, I am sharing a small demonstration on how to parse the hyphenated words in PostgreSQL. Recently, I got a result set and where few columns have hyphenated words. Now, we need analysis on hyphenated words. At first glance, it looks like string operation, but it is one type of string parsing which [&#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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%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-parse-the-hyphenated-word%2F&#038;title=PostgreSQL%3A%20How%20to%20parse%20the%20hyphenated%20word%3F" data-a2a-url="https://www.dbrnd.com/2018/04/postgresql-how-to-parse-the-hyphenated-word/" data-a2a-title="PostgreSQL: How to parse the hyphenated word?"></a></p><p>In this post, I am sharing a small demonstration on how to parse the hyphenated words in PostgreSQL.</p>
<p>Recently, I got a result set and where few columns have hyphenated words. Now, we need analysis on hyphenated words.</p>
<p>At first glance, it looks like string operation, but it is one type of string parsing which we can do using ts_debug.</p>
<p>We can use ts_debug for text Parsing.</p>
<p><strong>Check the below example:</strong></p><pre class="crayon-plain-tag">SELECT 
    alias
    ,description
    ,token 
FROM ts_debug('yellow-red-orange');</pre><p>
<strong>Result:</strong></p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-6976" src="https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-hyphenated-word-parsing.png" alt="PostgreSQL hyphenated word parsing" width="988" height="374" srcset="https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-hyphenated-word-parsing.png 988w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-hyphenated-word-parsing-850x322.png 850w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-hyphenated-word-parsing-679x257.png 679w" sizes="(max-width: 988px) 100vw, 988px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL: How to parse the URL?</title>
		<link>https://www.dbrnd.com/2018/03/postgresql-how-to-parse-the-url/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 29 Mar 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[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></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[ts_debug]]></category>
		<category><![CDATA[URL Parsing]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6970</guid>

					<description><![CDATA[In this post, I am sharing a small demonstration on how to parse the URL in PostgreSQL. Recently, I was working on python project where I needed URL parsing for Amazon S3 file web address. At the same time, one of the database developers also needed URL parsing in PostgreSQL. So sharing a small example [&#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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&amp;linkname=PostgreSQL%3A%20How%20to%20parse%20the%20URL%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%2F03%2Fpostgresql-how-to-parse-the-url%2F&#038;title=PostgreSQL%3A%20How%20to%20parse%20the%20URL%3F" data-a2a-url="https://www.dbrnd.com/2018/03/postgresql-how-to-parse-the-url/" data-a2a-title="PostgreSQL: How to parse the URL?"></a></p><p>In this post, I am sharing a small demonstration on how to parse the URL in PostgreSQL.</p>
<p>Recently, I was working on python project where I needed URL parsing for Amazon S3 file web address.<br />
At the same time, one of the database developers also needed URL parsing in PostgreSQL.</p>
<p>So sharing a small example on this which I studied from the official page of PostgreSQL.</p>
<p>Database Developer can use ts_debug for URL Parsing. In the result, we can get protocol, URL, host, url_path.</p>
<p><strong>Check the below example:</strong></p><pre class="crayon-plain-tag">SELECT 
    alias
    ,description
    ,token 
FROM ts_debug('https://www.dbrnd.com/2017/12/postgresql-log-the-drop-table-statement/');</pre><p>
<strong>Result:</strong></p>
<p><img decoding="async" class="alignnone size-full wp-image-6972" src="https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing.png" alt="PostgreSQL URL Parsing" width="1394" height="296" srcset="https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing.png 1394w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing-1030x219.png 1030w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing-850x180.png 850w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing-679x144.png 679w, https://www.dbrnd.com/wp-content/uploads/2018/01/PostgreSQL-URL-Parsing-1358x288.png 1358w" sizes="(max-width: 1394px) 100vw, 1394px" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
