From: | Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Facing authentication error on postgres 9.2 -> dblink functions |
Date: | 2013-02-06 17:55:00 |
Message-ID: | CALSLE1O+hLbKsUP_94xxiBed2GETZwuYoNkKdjXMsnAuEd+cMg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers pgsql-sql |
Great.. thanks a lot Laurenz Albe!
Works perfect !!
Regards - Dev
On Wed, Feb 6, 2013 at 7:00 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>wrote:
> Dev Kumkar wrote:
> > I am using postgres 9.2 and when executing function dblink facing a
> fatal error while trying to
> > execute dblink_connect as follows:
> >
> > SELECT * FROM dblink_connect('host=127.0.0.1 port=5432
> dbname=postgres password=test')
> >
> > ERROR: could not establish connection DETAIL: FATAL: password
> authentication failed for user
> > "NETWORK SERVICE"
> >
> > What this error is related to? Do I need to modify pg_hba.conf file by
> any chance?
>
> You should specify a user=username option in the connection string,
> otherwise that defaults to your operating system user name.
>
> Yours,
> Laurenz Albe
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dev Kumkar | 2013-02-06 17:59:08 | Re: Facing authentication error on postgres 9.2 -> dblink functions |
Previous Message | Andrew Dunstan | 2013-02-06 13:42:50 | Re: [HACKERS] Facing authentication error on postgres 9.2 -> dblink functions |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2013-02-06 17:56:11 | Re: [COMMITTERS] pgsql: Fast promote mode skips checkpoint at end of recovery. |
Previous Message | Seamus Abshere | 2013-02-06 17:46:43 | Re: Alias hstore's ? to ~ so that it works with JDBC |
From | Date | Subject | |
---|---|---|---|
Next Message | Dev Kumkar | 2013-02-06 17:59:08 | Re: Facing authentication error on postgres 9.2 -> dblink functions |
Previous Message | Andrew Dunstan | 2013-02-06 13:42:50 | Re: [HACKERS] Facing authentication error on postgres 9.2 -> dblink functions |