|
|
Log in / Subscribe / Register

What does readline have to do with OpenSSL

What does readline have to do with OpenSSL

Posted Feb 25, 2011 17:14 UTC (Fri) by MattPerry (guest, #46341)
In reply to: What does readline have to do with OpenSSL by jake
Parent article: PostgreSQL, OpenSSL, and the GPL

No, not at all. I read the article for a fourth time and it's still confusing. This article is in desperate need of revision. Its message would be greatly improved if the parts about readline were removed and you focused solely on the OpenSSL issue.

You already established that the readline library is compatible with PostgreSQL. From the second paragraph of the article:

> But readline is licensed under the GPL (rather than the LGPL), which
> means that programs which use it must have a compatible license and
> PostgreSQL's BSD-ish permissive license certainly qualifies.

The title of the article states that it's about "PostgreSQL, OpenSSL, and the GPL" and the first paragraph only talks about OpenSSL. In fact, the first paragraph is setting up a discussion about how OpenSSL and PostgreSQL might have license compatibility issues. Bringing up readline out of the blue, and never tying it to your point, leaves me confused about what you are attempting to communicate. It's as if you started this article about readline but switched to talking about OpenSSL and never fully edited out the readline information.

Here's another example:

> Unfortunately, a bug in libedit means that Debian PostgreSQL users can't
> input multi-byte characters into the psql command-line tool when using
> Unicode locales.
> For the PostgreSQL project, it is something of a "rock and a hard place"
> problem. The OpenSSL code works well, and is fairly tightly—perhaps too
> tightly—integrated.

So again you are talking about readline (or libedit as a replacement) then you mention that this puts the PostgreSQL project into a difficult position. Reading this I expect the next sentence to be related to readline and now this readline difficulty will be resolved. Yet, you switch back to talking about OpenSSL and I'm left saying, "Huh?"

In fact, you mention that it's the Debian project, not PostgreSQL, that has a problem with readline. Debian's problems aren't PostgreSQL's problems.

If the license issues are similar with readline and PostgreSQL, then a short mention of that at the end of the article would be sufficient. As it is, the article is switching between the two without warning and without clearly establishing the relationship between all of them. The statement which I quoted at the top of this post only further confuses matters.


to post comments

What does readline have to do with OpenSSL

Posted Feb 25, 2011 17:24 UTC (Fri) by jake (editor, #205) [Link]

> This article is in desperate need of revision. Its message would be
> greatly improved if the parts about readline were removed and you focused
> solely on the OpenSSL issue.

Well, I'm sorry it's confusing, that is (obviously) not the intent. But the problem involves the combination of PostgreSQL (or really *any* program), OpenSSL *and* readline. With only one of the latter two (OpenSSL or readline) being linked into PostgreSQL, there would be no problem.

PostgreSQL was just the most recent place where the issue has come up, but linking OpenSSL and GPL code has been a recurring problem (in the eyes of some, anyway). In this case, the GPL code is readline.

jake


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds