Excerpts from Tom Lane's message of mié jun 20 11:49:51 -0400 2012:
>
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I looked at the code (apps/ciphers.c) and it looks pretty easy to obtain
> > the list of ciphers starting from the stringified configuration
> > parameter and iterate on them.
>
> Do you mean that it will produce an expansion of the set of ciphers
> meeting criteria like "!aNULL"?
Attached is a simple program that does that. You pass 'ALL:!aNULL' as
its first arg and it produces such a list.
> If so, I think we are set; we can
> easily check to see if the active cipher is in that list, no?
Great.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support