Re: [GENERAL] dblink password required

2014-10-25 Thread Oliver Kohll - Mailing Lists
>> >>> select * from dblink(‘dbname=database2 username=db_link >>> password=mypassword','select username, email from appuser') as t1(username >>> text, email text);: > > I think the problem is the above- ^^^ > > username=db_link should be user=db_link > > The accepted key

Re: [GENERAL] dblink password required

2014-10-24 Thread Adrian Klaver
On 10/24/2014 09:30 AM, Oliver Kohll - Mailing Lists wrote: Hi, I’m trying to use dblink to connect from database1 to database2 on the same machine. The Postgres version is 9.3.5. Firstly, I’ve created a user to use with the connection, while logged in as the postgres superuser to database2:

[GENERAL] dblink password required

2014-10-24 Thread Oliver Kohll - Mailing Lists
Hi, I’m trying to use dblink to connect from database1 to database2 on the same machine. The Postgres version is 9.3.5. Firstly, I’ve created a user to use with the connection, while logged in as the postgres superuser to database2: > create user db_link with password ‘mypassword’; > grant sel