- Feb 17, 2008
-
-
Tom Lane authored
data structures and backend internal APIs. This solves problems we've seen recently with inconsistent layout of pg_control between machines that have 32-bit time_t and those that have already migrated to 64-bit time_t. Also, we can get out from under the problem that Windows' Unix-API emulation is not consistent about the width of time_t. There are a few remaining places where local time_t variables are used to hold the current or recent result of time(NULL). I didn't bother changing these since they do not affect any cross-module APIs and surely all platforms will have 64-bit time_t before overflow becomes an actual risk. time_t should be avoided for anything visible to extension modules, however.
-
- Nov 15, 2007
-
-
Bruce Momjian authored
-
- Nov 13, 2007
-
-
Tom Lane authored
about best practice for including the module creation scripts: to wit that you should suppress NOTICE messages. This avoids creating regression failures by adding or removing comment lines in the module scripts.
-
Bruce Momjian authored
-
- Nov 11, 2007
-
-
Bruce Momjian authored
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
-
Bruce Momjian authored
-
Bruce Momjian authored
or will never be converted.
-
- Sep 29, 2007
-
-
Tom Lane authored
which is the case at least on some Solaris versions. Marko Kreen
-
- Aug 23, 2007
-
-
Tom Lane authored
padded encryption scheme. Formerly it would try to access res[(unsigned) -1], which resulted in core dumps on 64-bit machines, and was certainly trouble waiting to happen on 32-bit machines (though in at least the known case it was harmless because that byte would be overwritten after return). Per report from Ken Colson; fix by Marko Kreen.
-
- Jul 16, 2007
- Jun 27, 2007
-
-
Tom Lane authored
installations whose pg_config program does not appear first in the PATH. Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho and others.
-
- Apr 06, 2007
-
-
Tom Lane authored
right, there seems precious little reason to have a pile of hand-maintained endianness definitions in src/include/port/*.h. Get rid of those, and make the couple of places that used them depend on WORDS_BIGENDIAN instead.
-
- Mar 29, 2007
-
-
Neil Conway authored
from PuTTY with is under minimal BSD/MIT license. Marko Kreen.
-
- Feb 28, 2007
-
-
Tom Lane authored
Get rid of VARATT_SIZE and VARATT_DATA, which were simply redundant with VARSIZE and VARDATA, and as a consequence almost no code was using the longer names. Rename the length fields of struct varlena and various derived structures to catch anyplace that was accessing them directly; and clean up various places so caught. In itself this patch doesn't change any behavior at all, but it is necessary infrastructure if we hope to play any games with the representation of varlena headers. Greg Stark and Tom Lane
-
- Jan 14, 2007
-
-
Alvaro Herrera authored
Patch from Marko Kreen.
-
- Nov 10, 2006
-
-
Neil Conway authored
for NULL-ness of function arguments is wasted code.
-
- Oct 04, 2006
-
-
Bruce Momjian authored
-
- Sep 22, 2006
-
-
Tom Lane authored
return true for exactly the characters treated as whitespace by their flex scanners. Per report from Victor Snezhko and subsequent investigation. Also fix a passel of unsafe usages of <ctype.h> functions, that is, ye olde char-vs-unsigned-char issue. I won't miss <ctype.h> when we are finally able to stop using it.
-
- Sep 06, 2006
-
-
Tom Lane authored
-
- Sep 05, 2006
-
-
Tom Lane authored
Marko Kreen
-
- Aug 05, 2006
-
-
Neil Conway authored
Patch from Michael Fuhr.
-
- Jul 19, 2006
-
-
Neil Conway authored
- Few README fixes - Keep imath Id string, put $PostgreSQL$ separately. Patch from Marko Kreen.
-
- Jul 16, 2006
-
-
Tom Lane authored
source tree. They should all be $PostgreSQL$ of course.
-
- Jul 15, 2006
-
-
Tom Lane authored
-
- Jul 14, 2006
-
-
Tom Lane authored
so that the test passes with or without OpenSSL. Marko Kreen
-
- Jul 13, 2006
-
-
Neil Conway authored
-
Neil Conway authored
Few cleanups and couple of new things: - add SHA2 algorithm to older OpenSSL - add BIGNUM math to have public-key cryptography work on non-OpenSSL build. - gen_random_bytes() function The status of SHA2 algoritms and public-key encryption can now be changed to 'always available.' That makes pgcrypto functionally complete and unless there will be new editions of AES, SHA2 or OpenPGP standards, there is no major changes planned.
-
- Jul 11, 2006
-
-
Bruce Momjian authored
-
- Jun 08, 2006
-
-
Bruce Momjian authored
-
- May 31, 2006
-
-
Tom Lane authored
in every shared library.
-
- May 30, 2006
-
-
Bruce Momjian authored
versions of OpenSSL. If your OpenSSL does not contain SHA2, then there should be no conflict. But ofcourse, if someone upgrades OpenSSL, server starts crashing. Backpatched to 8.1.X. Marko Kreen
-
- May 21, 2006
-
-
Tom Lane authored
session key to be selected by pgp_sym_encrypt() in some cases. This only affects non-OpenSSL-using builds. Marko Kreen
-
- Mar 11, 2006
-
-
Bruce Momjian authored
-
- Mar 08, 2006
-
-
Bruce Momjian authored
-
- Feb 27, 2006
-
-
Peter Eisentraut authored
particular get rid of single quotes around language names and old WITH () construct.
-
- Feb 18, 2006
-
-
Neil Conway authored
pgcrypto crypt()/md5 and hmac() leak memory when compiled against OpenSSL as openssl.c digest ->reset will do two DigestInit calls against a context. This happened to work with OpenSSL 0.9.6 but not with 0.9.7+. Reason for the messy code was that I tried to avoid creating wrapper structure to transport algorithm info and tried to use OpenSSL context for it. The fix is to create wrapper structure. It also uses newer digest API to avoid memory allocations on reset with newer OpenSSLs. Thanks to Daniel Blaisdell for reporting it.
-
- Feb 10, 2006
-
-
Tom Lane authored
-
- Jan 04, 2006
-
-
Tom Lane authored
This makes the salt space for md5 and xdes algorithms a lot smaller than it should be. Marko Kreen
-
- Nov 22, 2005
-
-
Bruce Momjian authored
comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X.
-