| От | |
|---|---|
| Тема | DBLink issue |
| Дата | |
| Msg-id | 405f01c4c31e$f4ca7280$0205030a@internal.ramnet.gr обсуждение |
| Ответы |
Re: DBLink issue
|
| Список | pgsql-novice |
I would like to use dblink (postgres 7.3.5) to synchronize the data between two databases.
I installed dblink and run the command "/usr/local/pgsql/bin/psql -U postgres template1 < dblink.sql"
and everything seemed to work fine.
When I tried to use the command "select *from dblink(hostaddr=127.0.0.1 dbname=DB1 user=postgres', select username from
users)as t1(username varchar);", I get the following message:
ERROR: Function dblink("unknown", "unknown") does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
Could anyone tell me what might be wrong?
Thanks
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера