summaryrefslogtreecommitdiff
path: root/src/backend/libpq/crypt.c
AgeCommit message (Collapse)Author
2000-08-27Clean up callers of AllocateFile and BasicOpenFile to ensure thatTom Lane
a reasonable error message (including the kernel errno message) is reported on any file open failure.
2000-07-12Remove a bunch of unused configure tests, in particular cases wherePeter Eisentraut
* the result is not recorded anywhere * the result is not used anywhere * the result is only used in some places, whereas others have been getting away with it * the result is used improperly Also make command line options handling a little better (e.g., --disable-locale, while redundant, should really still *dis*able).
2000-07-04Expand secondary password file feature, so that you can use thesePeter Eisentraut
files to restrict the set of users that can connect to a database but can still use the pg_shadow password. (You just leave off the password field in the secondary file.)
2000-07-03Move global internal files to PGDATA/global.Peter Eisentraut
2000-06-09Another round of updates for new fmgr, mostly in the datetime code.Tom Lane
2000-06-02Remove NT-specific file open defines by defining our own open macros forBruce Momjian
"rb" and "wb".
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-16Final cleanup.Bruce Momjian
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-07-14Cleanup of /include #include's, for 6.6 only.Bruce Momjian
1999-05-27Fix for crypt memory leak, from James ThompsonBruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-09Fix some miscellaneous places that were using raw open() orTom Lane
fopen(), instead of going through fd.c ... naughty naughty.
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-01-17Apply Win32 patch from Horak Daniel.Bruce Momjian
1998-12-14Many more cleanups...Marc G. Fournier
1998-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-25From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
1998-02-011. "#ifdef 0" is bad C. ifdef is for checking a macro and 0 isMarc G. Fournier
an illegal macro name. Correct syntax is "#if 0". This is in... From: Darren King <darrenk@insightdist.com>
1998-01-31From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
I haven't had final confirmation from Peter yet, but the attached patch needs to be applied for the Beta otherwise password and crypt authentication just won't work. It puts back the loop in libpq and also fixes a couple of problems with maintaining compatability with pre-6.3 drivers.
1998-01-26From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
I've completed the patch to fix the protocol and authentication issues I was discussing a couple of weeks ago. The particular changes are: - the protocol has a version number - network byte order is used throughout - the pg_hba.conf file is used to specify what method is used to authenticate a frontend (either password, ident, trust, reject, krb4 or krb5) - support for multiplexed backends is removed - appropriate changes to man pages - the -a switch to many programs to specify an authentication service no longer has any effect - the libpq.so version number has changed to 1.1 The new backend still supports the old protocol so old interfaces won't break.
1997-12-30Slightly delayed patches from Todd...damn holidays :)Marc G. Fournier
o A new patch that contains the following changes: -- The pg_pwd file is now cached in the postmaster's memory. -- pg_pwd is reloaded when the postmaster detects a flag file creat()'ed by a backend. -- qsort() is used to sort loaded password entries, and bsearch() is is used to find entries in the pg_pwd cache. -- backends now copy the pg_user relation to pg_pwd.pid, and then rename the temp file to be pg_pwd. -- The delimiter for pg_pwd has been changed to a tab character.
1997-12-12Make password null on startup.Bruce Momjian
1997-12-11Remove PGDATA setting and use DataDir.Bruce Momjian
1997-12-09Major code cleanup following the pg_password insertion...Marc G. Fournier
...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
1997-12-07Add error check on getenv("DATADIR")Marc G. Fournier
Add code to set DATADIR in postmaster.c if -D is used
1997-12-04Missed a few files from Todd's patch...oops :)Marc G. Fournier