summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.c
Commit message (Collapse)AuthorAgeFilesLines
* Ooops ... I had left some test coding in selfuncs.c thatTom Lane1999-08-211-6/+16
| | | | failed on 'field < textconstant' ...
* Store -1 in attdisbursion to signal 'no duplicates in column'.Tom Lane1999-08-091-59/+4
| | | | Centralize att_disbursion readout logic.
* Further selectivity-estimation work. Speed up eqsel()Tom Lane1999-08-021-100/+168
| | | | | | | | | (it should just call the given operator, not look up an = operator). Fix intltsel() so that all numeric data types are converted to double before trying to estimate where the given comparison value is in the known range of column values. intltsel() still needs work, or replacement, for non-numeric data types ... but for nonintegral numeric types it should now be delivering reasonable estimates.
* First step in fixing selectivity-estimation code. eqsel andTom Lane1999-08-011-158/+445
| | | | | | | | | | neqsel now behave as per my suggestions in pghackers a few days ago. selectivity for < > <= >= should work OK for integral types as well, but still need work for nonintegral types. Since these routines have never actually executed before :-(, this may result in some significant changes in the optimizer's choices of execution plans. Let me know if you see any serious misbehavior. CAUTION: THESE CHANGES REQUIRE INITDB. pg_statistic table has changed.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-4/+1
|
* Final cleanup.Bruce Momjian1999-07-161-5/+5
|
* Update #include cleanupsBruce Momjian1999-07-161-4/+3
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-2/+1
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-2/+1
|
* Temporarily disable error checks for missing selectivityTom Lane1999-06-191-19/+44
| | | | | functions, in order to work around oversight in 6.5 release: rtree index functions haven't got any. Mea culpa ...
* Generate a more specific error message when an operator usedTom Lane1999-05-311-5/+61
| | | | in an index doesn't have a restriction selectivity estimator.
* pgindent run over code.Bruce Momjian1999-05-251-1/+3
|
* Change error messages to oids come out as %u and not %d. Change has noBruce Momjian1999-05-101-6/+6
| | | | real affect now.
* cleanupsBruce Momjian1999-03-181-2/+1
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Fix for returning stack pointer from selectivity, from Bernard Frankpitt.Bruce Momjian1999-02-051-5/+3
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-3/+2
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-24/+24
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-13/+16
| | | | | | | | | | | | | no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
* Use Snapshot in heap access methods.Vadim B. Mikheev1998-07-271-2/+2
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-9/+1
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-2/+2
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-3/+3
|
* Vadim fix for vacuum analyze.Bruce Momjian1998-02-051-4/+4
|
* Inline fastgetattr and others so data access does not use functionBruce Momjian1998-01-311-3/+1
| | | | calls.
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-051-11/+11
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-11/+11
|
* Remove tqual.h includes not needed.Bruce Momjian1997-11-241-2/+1
|
* Remove all time travel stuff. Small parser cleanup.Bruce Momjian1997-11-201-2/+2
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-44/+44
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-459/+503
|
* Rename pg_attribute.attnvals to attdisbursion.Bruce Momjian1997-08-211-12/+12
|
* Change pg_attribute.attnvals to float4, change #ifdef 0 to #if 0, fix aix ↵Bruce Momjian1997-08-211-28/+19
| | | | call to strNcpy, fix pg_super_user_id in pg_dumpall, change pg_database.dtadba from oid to int4.
* getattnvals(): if attnvals in pg_attribute is 0 then useVadim B. Mikheev1997-04-091-1/+10
| | | | ATTNVALS_SCALE/reltuples (instead of reltuples).
* Add attribute optimization statistics.Bruce Momjian1997-02-071-4/+5
|
* Produce a clean compile of backend...Marc G. Fournier1996-11-031-2/+3
|
* There, now we support GiST...now what? :)Marc G. Fournier1996-08-261-1/+27
|
* This prevent gcc from complaining about casting a short to a char * andMarc G. Fournier1996-07-311-5/+5
| | | | | | fixes another complaint. More fixes from Bruce...
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+585