Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Linuxmania Linuxmania is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 392
Rep Power: 14
Linuxmania mempunyai hidup yang Normal
Default ttg database postgresSQL

halo.. mw nanya donk. ane pake database postgresSQL 8.3..

nah kn ane pake laptop n pake PC.. yg sebagai server itu dilaptop, nama databasenya sagara, table pegawai dengan ip : 192.168.1.2



sedangkn di pc itu client dengan ip : 192.168.1.1

ane ud daftarkan dari server ip si client.. abis itu pake script ini


Quote:





select dblink_connect('host=192.168.1.2 user=postgres dbname=sagara')





kenapa gk mw jalan yah?? error ny si ini


Quote:





ERROR: function dblink_connect(unknown) does not exist

LINE 1: select dblink_connect('host=192.168.1.2 user=postgres dbname...

^

HINT: No function matches the given name and argument types. You might need to add explicit type casts.



********** Error **********



ERROR: function dblink_connect(unknown) does not exist

SQL state: 42883

Hint: No function matches the given name and argument types. You might need to add explicit type casts.

Character: 8





nah ane ud googling, ad yg blng cek di folder share, contrib.. ad koq file dblinknya, tp dalam bentuk notepad.. nah ane ud buka, ud pahami functionny ad function dblink_connect dll.. kenapa gk bisa connect yah?? ap musti di cast atau di reference dl ya? ad yg tau caranya?? thx..



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 10:48 PM.


no new posts