Re: BUG #11829: pgcrypto doc bug - Mailing list pgsql-bugs

From Marko Kreen
Subject Re: BUG #11829: pgcrypto doc bug
Date
Msg-id 20141103153615.GA23006@gmail.com
Whole thread Raw
In response to Re: BUG #11829: pgcrypto doc bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #11829: pgcrypto doc bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, Oct 30, 2014 at 04:50:44PM -0400, Tom Lane wrote:
> jeff.janes@gmail.com writes:
> > pgp_sym_encrypt is documented to have an enable-session-key option.
>
> > But that option does not seem to exist, and as far as I can tell it never
> > has existed.
>
> > jjanes=# select pgp_sym_encrypt('foo','bar','enable-session-key=1');
> > ERROR:  Illegal argument to function
>
> A look at set_arg() suggests that the spelling of that option is really
> "sess-key" ... Marko, is that correct?

Yes.

> I also notice that there are a bunch of undocumented options with
> names beginning "expect-".  Should those be documented, and if so
> could we get some text for that?

They are mainly meant for regtests, to see if final message structure
is what is expected.  I don't see much value for users.

--
marko

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: ltree::text not immutable?
Next
From: Tom Lane
Date:
Subject: Re: BUG #11829: pgcrypto doc bug