Re: VALID UNTIL

From: David Fetter <david(at)fetter(dot)org>
To: Euler Taveira <euler(at)timbira(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VALID UNTIL
Date: 2012-03-14 14:59:34
Message-ID: 20120314145934.GA13063@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 14, 2012 at 11:20:05AM -0300, Euler Taveira de Oliveira wrote:
> Hi,
>
> I have a hard time figuring out why my replication stopped with a message like
>
> FATAL: password authentication failed for user "foo"
>
> in the logs. I thought it was some pg_hba.conf change, a pgpass modification,
> or NOLOGIN option, it wasn't. I was out of options when I remembered to check
> if there is a VALID OPTION option set. For my surprise, it wasn't exposed by
> \du or even \du+.
>
> Is there any reason why it is not exposed?

Oversight.

> What about exposing that information in attributes or even in a
> separate column? It could help troubleshooting quickly on this case.

I don't know how frequently people use VALID UNTIL, but I'm guessing
it's not terribly often because yours is the first comment about how
it's not exposed, so I'd tend toward putting it in attributes rather
than a separate column.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

  • VALID UNTIL at 2012-03-14 14:20:05 from Euler Taveira

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-03-14 15:02:24 Re: Weird behaviour
Previous Message Pavel Stehule 2012-03-14 14:51:00 Re: Syntax error and reserved keywords