Re: pgagent errors on application_name

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgadmin-support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgagent errors on application_name
Date: 2015-07-07 03:52:33
Message-ID: CAG7mmox3v+Ztqv4=K-ZRi-3b5O88s3L0hnCxnK6cRx2t7yHjpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Josh,

On Mon, Jul 6, 2015 at 11:55 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:

> To wit:
>
> postgres(at)9c7b33848038:~$ pgagent -l pgagent.log -f dbname=postgres
> user=postgres application_name=pgagent
> ERROR: Primary connection string is not valid!
> 18:15:15: Debug: In file ../src/unix/threadpsx.cpp at line 261:
> 'pthread_mutex_destroy()' failed with error 0x00000010 (Device or
> resource busy).
>
Can you please check, which libpq it is using? (You may use *ldd* for
checking that.)
The error suggests that It might be using very old version of libpq.

You may want to use PGAPPNAME in that case.

--
Thanks & Regards,

Ashesh Vashi

>
> I'm unclear on why this would be failing, though; AFAICT, connection.h
> doesn't do anything but wrap the basic libpq connection class. Ideas?
>
> BTW, when we fix this, I'd like to set a default application_name of
> "pgagent" if the user does not supply one.
>
> --
> Josh Berkus
> PostgreSQL Experts Inc.
> http://pgexperts.com
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message neelam 2015-07-07 03:59:17 Re: Vacuum full hanging
Previous Message Josh Berkus 2015-07-06 23:56:25 Re: Vacuum full hanging