summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/varbit.c
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that btree sort ordering functions and boolean comparison operatorsTom Lane2001-05-031-39/+37
| | | | | | | | | | give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
* pgindent run. Make it all clean.Bruce Momjian2001-03-221-53/+69
|
* Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian2001-01-241-2/+2
|
* Fix for bitsubstr when third argument is missing (i.e., -1).Peter Eisentraut2000-11-221-1/+4
| | | | From Adriaan Joubert <a.joubert@albourne.com>
* Modify input and output routines to print plain binary strings without anyPeter Eisentraut2000-11-181-17/+32
| | | | 'b' prefixes.
* Print bit values as binary strings (not hex)Peter Eisentraut2000-11-161-1/+8
|
* This somehow gets moot. Is there a way to make gcc reject those comments?Bruce Momjian2000-11-071-2/+2
| | | | Andreas
* Change the parser to convert SQL "position" and "substring" syntax toPeter Eisentraut2000-10-311-3/+99
| | | | | | | | | | position() and substring() functions, so that it works transparently for bit types as well. Alias the text functions appropriately. Add position() for bit types. Add new constant node T_BitString that represents literals of the form B'1001 and pass those to zpbit type.
* Rename BITSPERBYTE to BITS_PER_BYTE to avoid conflict with <values.h>Tom Lane2000-08-261-24/+24
| | | | on some platforms.
* First pass at integrating BIT and BIT VARYING code from Adriaan Joubert.Tom Lane2000-08-211-451/+607
| | | | | | | Update functions to new-style fmgr, make BIT and VARBIT be binary- equivalent, add entries to allow these types to be btree indexed, correct a few bugs. BIT/VARBIT are now toastable, too. NOTE: initdb forced due to catalog updates.
* TOAST mop-up work: update comments for tuple-size-related symbols suchTom Lane2000-08-071-3/+3
| | | | | | | as MaxHeapAttributeNumber. Increase MaxAttrSize to something more reasonable (given what it's used for, namely checking char(n) declarations, I didn't make it the full 1G that it could theoretically be --- 10Mb seemed a more reasonable number). Improve calculation of MaxTupleSize.
* Remove <values.h> inclusions, no-longer-needed MAXINT definitions.Tom Lane2000-07-281-5/+1
|
* Remove a bunch of unused configure tests, in particular cases wherePeter Eisentraut2000-07-121-11/+5
| | | | | | | | | | * 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).
* TOASTJan Wieck2000-07-031-12/+12
| | | | | | | | WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan
* Clean up #include's.Bruce Momjian2000-06-151-1/+2
|
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-121-659/+723
|
* Add zpbit and varbit data types from Adrian JoubertThomas G. Lockhart2000-04-081-0/+937
<a.joubert@albourne.com>.