summaryrefslogtreecommitdiff
path: root/contrib/chkpass/chkpass.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).Tom Lane2007-02-271-12/+14
| | | | | | | | | | | 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
* Replace some strncpy() by strlcpy().Peter Eisentraut2007-02-071-7/+4
|
* Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane2006-07-141-3/+1
| | | | | have no other gods before c.h'. Also remove some demonstrably redundant #include lines, mostly of <errno.h> which was added to c.h years ago.
* Magic blocks don't do us any good unless we use 'em ... so install oneTom Lane2006-05-301-1/+3
| | | | in every shared library.
* Fix a few places that were checking for the return value of palloc() to beNeil Conway2006-03-191-11/+7
| | | | | non-NULL: palloc() ereports on OOM, so we can safely assume it returns a valid pointer.
* Standard pgindent run for 8.1.Bruce Momjian2005-10-151-3/+3
|
* Make sure contrib C functions are marked strict where needed.Tom Lane2005-01-291-17/+2
| | | | Kris Jurka
* make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon2003-11-291-1/+1
|
* Remove another useless, counterproductive srandom() call.Tom Lane2003-09-071-8/+1
|
* Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)Tom Lane2003-07-241-3/+5
|
* Add missing semicolons to a few PG_FUNCTION_INFO_V1 calls.Tom Lane2002-10-261-6/+6
|
* chkpass_rout returns text so change PG_RETURN_CSTRING to PG_RETURN_TEXT_P.D'Arcy J.M. Cain2002-08-291-2/+2
| | | | | This is currently a cosmetic difference but I make the change now in case the macros diverge one day.
* Fix warningPeter Eisentraut2001-12-191-3/+7
|
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-051-2/+2
| | | | initdb/regression tests pass.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-19/+21
| | | | tests pass.
* Further conversions to Version 1 API. Also, fix boolean return to useD'Arcy J.M. Cain2001-05-301-7/+7
| | | | PG_RETURN_BOOL(0) instead of return 0.
* Upgraded code to use the current version 1 calling conventions.D'Arcy J.M. Cain2001-05-281-32/+47
|
* Changed use of macros for extracting information. According to commentsD'Arcy J.M. Cain2001-05-271-3/+3
| | | | | | in c.h we should be using the visible structure. We should only see de-TOASTed values in this program. The old method refused to compile because the length macro was no longer an lvalue.
* Initial checkin of a contributed type that handles passwords efficiently.D'Arcy J.M. Cain2001-05-031-0/+175