<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Blog gw &#187; postgre</title>
	<atom:link href="http://dillah2008.wordpress.com/category/postgre/feed/" rel="self" type="application/rss+xml" />
	<link>http://dillah2008.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sat, 05 Dec 2009 18:24:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dillah2008.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/1ba4cd4f83b344bf0b5a86917a711713?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Blog gw &#187; postgre</title>
		<link>http://dillah2008.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dillah2008.wordpress.com/osd.xml" title="Blog gw" />
		<item>
		<title>Menghubungkan PERL dengan Postgre di Fedora</title>
		<link>http://dillah2008.wordpress.com/2009/05/15/menghubungkan-perl-dengan-postgre-di-fedora/</link>
		<comments>http://dillah2008.wordpress.com/2009/05/15/menghubungkan-perl-dengan-postgre-di-fedora/#comments</comments>
		<pubDate>Fri, 15 May 2009 16:57:06 +0000</pubDate>
		<dc:creator>dillah2008</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[postgre]]></category>

		<guid isPermaLink="false">http://dillah2008.wordpress.com/?p=292</guid>
		<description><![CDATA[Penasaran ingin mencoba-coba bahasa PERL, langsung saja mencoba untuk mengkoneksikan PERL dengan DB Postgres&#8230;Dapat contoh program seperti ini
#!/usr/bin/perl
#load perl postgresql module
use DBI;
$postgresql_database=&#8221;xxxx&#8221;;
$postgresql_user=&#8221;xxxx&#8221;;
$postgresql_password=&#8221;xxxx&#8221;;
$postgresql_host=&#8221;xxxx&#8221;;
# connect to perl to postgresql database
my $perl_postgresql = DBI-&#62;connect(&#8220;DBI:Pg:dbname=$postgresql_database;host=$postgresql_host&#8221;,&#8221;$postgresql_user&#8221;, &#8220;$postgresql_password&#8221;);
if($perl_postgresql) {
print &#8220;Perl established connection to PostgreSQL database\n&#8221;;
}else{
print &#8220;kagak..&#8221;;
}
Ketika dijalankan selalu ada error, sepertinya sih modul DBI nya belum terinstal di fedora nya..setelah beberapa [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=292&subd=dillah2008&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Penasaran ingin mencoba-coba bahasa PERL, langsung saja mencoba untuk mengkoneksikan PERL dengan DB Postgres&#8230;Dapat contoh program seperti ini</p>
<blockquote><p>#!/usr/bin/perl</p>
<p>#load perl postgresql module<br />
use DBI;</p>
<p>$postgresql_database=&#8221;xxxx&#8221;;<br />
$postgresql_user=&#8221;xxxx&#8221;;<br />
$postgresql_password=&#8221;xxxx&#8221;;<br />
$postgresql_host=&#8221;xxxx&#8221;;</p>
<p># connect to perl to postgresql database<br />
my $perl_postgresql = DBI-&gt;connect(&#8220;DBI:Pg:dbname=$postgresql_database;host=$postgresql_host&#8221;,&#8221;$postgresql_user&#8221;, &#8220;$postgresql_password&#8221;);</p>
<p>if($perl_postgresql) {<br />
print &#8220;Perl established connection to PostgreSQL database\n&#8221;;<br />
}else{<br />
print &#8220;kagak..&#8221;;<br />
}</p></blockquote>
<p>Ketika dijalankan selalu ada error, sepertinya sih modul DBI nya belum terinstal di fedora nya..setelah beberapa hari cek sana sini, akhirnya dapat command untuk menginstall di fedora, yaitu :</p>
<blockquote><p>yum install perl-DBD-Pg</p></blockquote>
<p>Hmmm..sebenernya sih kepengen belajar compile sendiri&#8230;tapi yah ketemunya cara yang gampang jadi dipending dulu deh belajar ng-compile nya <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dillah2008.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dillah2008.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dillah2008.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dillah2008.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dillah2008.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dillah2008.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dillah2008.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dillah2008.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dillah2008.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dillah2008.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=292&subd=dillah2008&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dillah2008.wordpress.com/2009/05/15/menghubungkan-perl-dengan-postgre-di-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3befb128508b744ad73d33b777b7c904?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dillah2008</media:title>
		</media:content>
	</item>
		<item>
		<title>Menambahkan waktu di Postgre</title>
		<link>http://dillah2008.wordpress.com/2009/04/30/menambahkan-waktu-di-postgre/</link>
		<comments>http://dillah2008.wordpress.com/2009/04/30/menambahkan-waktu-di-postgre/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 04:07:38 +0000</pubDate>
		<dc:creator>dillah2008</dc:creator>
				<category><![CDATA[postgre]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[waktu]]></category>

		<guid isPermaLink="false">http://dillah2008.wordpress.com/?p=281</guid>
		<description><![CDATA[Kasus yang gw hadapi adalah, untuk mencatat komplen dan response nya gw mengambil acuan waktu yang berbeda dan berakibat datanya jadi janggal, masa respon lebih cepat dari komplen. Selain itu gw juga salah membuat format waktu, gw menggunakan format waktu AM-PM dan satunya menggunakan format waktu jam 23.
Langkah yang gw ambil untuk menyelamatkan adalah menambahkan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=281&subd=dillah2008&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Kasus yang gw hadapi adalah, untuk mencatat komplen dan response nya gw mengambil acuan waktu yang berbeda dan berakibat datanya jadi janggal, masa respon lebih cepat dari komplen. Selain itu gw juga salah membuat format waktu, gw menggunakan format waktu AM-PM dan satunya menggunakan format waktu jam 23.</p>
<p>Langkah yang gw ambil untuk menyelamatkan adalah menambahkan jam-jam yang kurang dari jam 6 dengan bilangan 12, setelah itu gw cek ternyata perbedaan dua acuan waktu itu adalah sekitar 2 menit 39 detik.</p>
<p>Selanjutnya adalah langkah penyelamatan, setelah kesana kemari mencari akhirnya gw dapat teknik di postgre untuk permasalahan ini</p>
<blockquote><p>select timestamp &#8216;2001-09-28 23:00&#8242; + interval &#8216;2 minutes 34 seconds&#8217;</p></blockquote>
<p>Maksud dari statemen tersebut adalah menambahkan timestamp &#8216;2001-09-28 23:00&#8242; dengan 2 menit 34 detik. Dan hasilnya adalah benar <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Semoga Bermanfaat&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dillah2008.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dillah2008.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dillah2008.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dillah2008.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dillah2008.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dillah2008.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dillah2008.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dillah2008.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dillah2008.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dillah2008.wordpress.com/281/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=281&subd=dillah2008&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dillah2008.wordpress.com/2009/04/30/menambahkan-waktu-di-postgre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3befb128508b744ad73d33b777b7c904?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dillah2008</media:title>
		</media:content>
	</item>
		<item>
		<title>Menonaktifkan firewall di fedora</title>
		<link>http://dillah2008.wordpress.com/2009/04/26/menonaktifkan-firewall-di-fedora/</link>
		<comments>http://dillah2008.wordpress.com/2009/04/26/menonaktifkan-firewall-di-fedora/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 03:05:43 +0000</pubDate>
		<dc:creator>dillah2008</dc:creator>
				<category><![CDATA[17499880]]></category>
		<category><![CDATA[PHP & perniknya]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[postgre]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[firewall]]></category>

		<guid isPermaLink="false">http://dillah2008.wordpress.com/?p=279</guid>
		<description><![CDATA[Masalah postgre yang ga bisa konek dari mesin yang beda selama ini kemungkinan dikarenakan firewall dari mesin fedoranya yang menolak koneksi ke port postre yang dipakan (5432), untuk menonaktifkan firewall tersebut gw mendapatkan caranya dari link ini, dan berikut caranya
# service iptables save
# service iptables stop
# chkconfig iptables off
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=279&subd=dillah2008&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Masalah postgre yang ga bisa konek dari mesin yang beda selama ini kemungkinan dikarenakan firewall dari mesin fedoranya yang menolak koneksi ke port postre yang dipakan (5432), untuk menonaktifkan firewall tersebut gw mendapatkan caranya dari link <a href="http://www.cyberciti.biz/faq/linux-howto-disable-remove-firewall/" target="_blank">ini</a>, dan berikut caranya</p>
<blockquote><p><code># service iptables save<br />
# service iptables stop<br />
# chkconfig iptables off</code></p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dillah2008.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dillah2008.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dillah2008.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dillah2008.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dillah2008.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dillah2008.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dillah2008.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dillah2008.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dillah2008.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dillah2008.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=279&subd=dillah2008&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dillah2008.wordpress.com/2009/04/26/menonaktifkan-firewall-di-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3befb128508b744ad73d33b777b7c904?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dillah2008</media:title>
		</media:content>
	</item>
		<item>
		<title>instalasi postgre di fedora</title>
		<link>http://dillah2008.wordpress.com/2009/04/06/instalasi-postgre-di-fedora/</link>
		<comments>http://dillah2008.wordpress.com/2009/04/06/instalasi-postgre-di-fedora/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 16:43:01 +0000</pubDate>
		<dc:creator>dillah2008</dc:creator>
				<category><![CDATA[postgre]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://dillah2008.wordpress.com/?p=270</guid>
		<description><![CDATA[Dapat menggunakan referensi ling ini dan ini , Kesalahan yang gw buat adalah pada konfigurasi di pg_hba.conf, jika default awalnya &#8220;ident sameuser&#8221; gw ga bisa konek dan ketika gw ganti menjadi &#8220;trust&#8221; eh jadi bisa konek. Selanjutnya gw akan coba menggunakan &#8220;md5&#8243; , katanya sih ini untuk user yang masuknya membutuhkan password.
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=270&subd=dillah2008&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Dapat menggunakan referensi ling <a href="http://www.flmnh.ufl.edu/linux/install_postgresql.htm" target="_blank">ini</a> dan <a href="http://www.cyberciti.biz/faq/psql-fatal-ident-authentication-failed-for-user/" target="_blank">ini</a> , Kesalahan yang gw buat adalah pada konfigurasi di pg_hba.conf, jika default awalnya &#8220;ident sameuser&#8221; gw ga bisa konek dan ketika gw ganti menjadi &#8220;trust&#8221; eh jadi bisa konek. Selanjutnya gw akan coba menggunakan &#8220;md5&#8243; , katanya sih ini untuk user yang masuknya membutuhkan password.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dillah2008.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dillah2008.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dillah2008.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dillah2008.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dillah2008.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dillah2008.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dillah2008.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dillah2008.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dillah2008.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dillah2008.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=270&subd=dillah2008&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dillah2008.wordpress.com/2009/04/06/instalasi-postgre-di-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3befb128508b744ad73d33b777b7c904?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dillah2008</media:title>
		</media:content>
	</item>
		<item>
		<title>install postgre di windows</title>
		<link>http://dillah2008.wordpress.com/2009/04/05/install-postgre-di-windows/</link>
		<comments>http://dillah2008.wordpress.com/2009/04/05/install-postgre-di-windows/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 07:01:32 +0000</pubDate>
		<dc:creator>dillah2008</dc:creator>
				<category><![CDATA[postgre]]></category>
		<category><![CDATA[instalasi]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dillah2008.wordpress.com/?p=268</guid>
		<description><![CDATA[Lagi iseng, coba2 install postgre versi 8.3 di windows. Sebenernya instalasinya sih standard windows yang cuma next-next doang, tapi permasalahan muncul karena sepertinya postgres ini membentuk user postgres di windows. Sebelumnya gw sudah meng-uninstall postgre jadi besar kemungkinan usernya masih ada ..dan gw lupa passwordnya  
Instalasi tidak bisa diteruskan apabila tidak dapat memasukan password [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=268&subd=dillah2008&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Lagi iseng, coba2 install postgre versi 8.3 di windows. Sebenernya instalasinya sih standard windows yang cuma next-next doang, tapi permasalahan muncul karena sepertinya postgres ini membentuk user postgres di windows. Sebelumnya gw sudah meng-uninstall postgre jadi besar kemungkinan usernya masih ada ..dan gw lupa passwordnya <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Instalasi tidak bisa diteruskan apabila tidak dapat memasukan password user postgre windows secara tepat. Maka gw kepikiran untuk menghapus dulu user tersebut, jika dilihat user di control panel itu user postgres tidak kelihatan. Hmmm akhirnya gw coba pakai command &#8220;net user&#8221;</p>
<p>Dengan pemakaian command seperti berikut :</p>
<blockquote><p><strong>net user postgres /delete</strong></p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dillah2008.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dillah2008.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dillah2008.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dillah2008.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dillah2008.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dillah2008.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dillah2008.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dillah2008.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dillah2008.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dillah2008.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dillah2008.wordpress.com&blog=2757059&post=268&subd=dillah2008&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dillah2008.wordpress.com/2009/04/05/install-postgre-di-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3befb128508b744ad73d33b777b7c904?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dillah2008</media:title>
		</media:content>
	</item>
	</channel>
</rss>