Re: Pasword expiration warning - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: Pasword expiration warning
Date
Msg-id CAN4CZFPyCiVjBKhTJhmY5J0hj0KBgVwFA3gBh+Bvvcra-DQyYA@mail.gmail.com
Whole thread Raw
In response to Re: Pasword expiration warning  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Pasword expiration warning
List pgsql-hackers
> Eh, there are lots of examples of setting the default value in both the GUC
> definition and the variable declaration.  TBH I've always found excessive
> macro use to hinder readability more than it helps anything.

One thing that would help is readability, as macros/constants usually
have nice explanatory names. That could be improved by adding a "/* 7
days in seconds */" comment after the number, without a macro. But if
somebody searches for the guc name, it's already defined as 7d
elsewhere, so I'm not sure if this would be really useful.

The patch looks good to me.



pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: client_connection_check_interval default value
Next
From: Ashutosh Bapat
Date:
Subject: Re: Changing shared_buffers without restart