Newer version with important fixes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-pgsql (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
... can be found at
From the changelog:
diff -ausr libnss-
--- libnss-
+++ libnss-
@@ -1,3 +1,18 @@
+2007-07-22 Russell Smith <email address hidden>
+ * Produced a new example SQL file based on testing. This new file
+ also fixes bugs in the examples of the previous file.
+
+ * Use local error pointer to avoid invalid return values
+ PQgetvalue() would overwrite the global valid incorrectly
+
+ * Add alternative getgroupfromquery option to speedup return of
+ group members and reduce the number of database queries on getgrent
+
+2007-04-26 Russell Smith <email address hidden>
+ * Merged further changes from debian bug reports
+
+ * Update documentation for SSL problems
+
2006-01-10 Russell Smith <email address hidden>
* Merged all changes with the debian project that are known. Version
number is updated to be larger than all current versions of this
I especially like "based on testing". And the fact that this NEWER version is around 15 YEARS OLD, and I found it in about 10 minutes of searching.
Another rather important comment found in the diff:
+# It is advised if you run postgresql on the same server as libnss-pgsql that you have
+# ssl connection turned off in your connection string.
+# You can hang your machine attempting to connect to the postgresql database.
+# sslmode=disable
+#
+# http://
+#
+# Without a running nscd, PQconnectdb attempts to setup the SSL
+# environment and searches for $HOME/.
+# calling getpwuid to retrieve the home-directory. This obviously causes
+# another entrance into libnss-pgsql which results in a hang while waiting
+# for the (already owned) lock.
That hang is actually why I went searching in the first place.