Re: VALID UNTIL

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: VALID UNTIL
Дата
Msg-id 20120314145934.GA13063@fetter.org
обсуждение исходный текст
Ответ на VALID UNTIL  (Euler Taveira <euler@timbira.com>)
Ответы Re: VALID UNTIL
Re: VALID UNTIL
Список 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@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Syntax error and reserved keywords
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Weird behaviour