pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Kreen <markokr@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: jeff.janes@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11829: pgcrypto doc bug
Date: Mon, 3 Nov 2014 17:36:15 +0200
Message-ID: <20141103153615.GA23006@gmail.com> (raw)
In-Reply-To: <9714.1414702244@sss.pgh.pa.us>
References: <20141030193930.6149.49695@wrigleys.postgresql.org>
	<9714.1414702244@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <20141103153615.GA23006@gmail.com>
Permalink:  ../20141103153615.GA23006@gmail.com/
Also on:    postgresql.org/message-id/20141103153615.GA23006@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: markokr@gmail.com, tgl@sss.pgh.pa.us, jeff.janes@gmail.com
  Subject: Re: BUG #11829: pgcrypto doc bug
  In-Reply-To: <20141103153615.GA23006@gmail.com>
  References: <20141030193930.6149.49695@wrigleys.postgresql.org> <9714.1414702244@sss.pgh.pa.us> <20141103153615.GA23006@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox