summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-01-29A few minor psql enhancementsPeter Eisentraut
Initdb help correction Changed end/abort to commit/rollback and changed related notices Commented out way old printing functions in libpq Fixed a typo in alter table / alter column
2000-01-29Attached is a uuencoded tarball that containsBruce Momjian
3 new files and two patches for the plperl subdir. These changes add the ability for plperl functions to call 'elog'. It also sets up the frame work to allow me to add access to the SPI functions. -- Mark Hollomon
2000-01-28Patch from Hiroshi for overflow btree comparison.Bruce Momjian
2000-01-28Apply the heuristic proposed by Taral (see pgsql-general archives forTom Lane
2-Oct-98 or TODO.detail/cnfify) to decide whether we want to reduce WHERE clause to CNF form, DNF form, or neither. This is a HUGE win. The heuristic conditions could probably still use a little tweaking to make sure we don't pick CNF when DNF would be better, or vice versa, but the risk of exponential explosion in cnfify() is gone. I was able to run ten-thousand-AND-subclause queries through the planner in a reasonable amount of time.
2000-01-27*** empty log message ***Michael Meskes
2000-01-27Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is nowTom Lane
SELECT DISTINCT ON (expr [, expr ...]) targetlist ... and there is a check to make sure that the user didn't specify an ORDER BY that's incompatible with the DISTINCT operation. Reimplement nodeUnique and nodeGroup to use the proper datatype-specific equality function for each column being compared --- they used to do bitwise comparisons or convert the data to text strings and strcmp(). (To add insult to injury, they'd look up the conversion functions once for each tuple...) Parse/plan representation of DISTINCT is now a list of SortClause nodes. initdb forced by querytree change...
2000-01-27fix for compile.Bruce Momjian
2000-01-26Remove duplicate extern declaration.Tom Lane
2000-01-26Update files.Bruce Momjian
2000-01-26Add include for float.h.Bruce Momjian
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-25 as attache of this mail is patch (to the main tree) with to_char'sBruce Momjian
family functions. Contain: conversion from a datetype to formatted text: to_char( datetime, text) to_char( timestamp, text) to_char( int4, text) to_char( int8, text) to_char( float4, text) to_char( float8, text) to_char( numeric, text) vice versa: to_date ( text, text) to_datetime ( text, text) to_timestamp ( text, text) to_number ( text, text) (convert to numeric) PostgreSQL to_char is very compatible with Oracle's to_char(), but not total exactly (now). Small differentions are in number formating. It will fix in next to_char() version. ! If will this patch aplly to the main tree, must be delete the current to_char version in contrib (directory "dateformat" and note in contrib's README), this patch not erase it (sorry Bruce). The patch patching files: doc/src/sgml/func.sgml ^^^^^^^^ Hmm, I'm not sure if my English... :( Check it anyone (volunteer)? Thomas, it is right? SGML is not my primary lang and compile the current PG docs tree is very happy job (hard variables setting in docs/sgml/Makefile --> HSTYLE= /home/users/t/thomas/.... :-) What add any definition to global configure.in and set Makefiles in docs tree via ./configure? src/backend/utils/adt/Makefile src/backend/utils/adt/formatting.c src/include/catalog/pg_proc.h src/include/utils/formatting.h Karel Zak <zakkr@zf.jcu.cz> http://home.zf.jcu.cz/~zakkr/
2000-01-25Fix pg_euccn_mblen() so that it always returns 2 if data is not ascii.Tatsuo Ishii
(EUC_CN does have only code set 0 and 1)
2000-01-25Forgot that expr assumes regexp is anchored-left; therefore need .*Tom Lane
in front of any platform name pattern that's not supposed to match beginning at the start of the machine type name...
2000-01-24Removed alter table drop column.Peter Eisentraut
2000-01-24Made abstime/reltime use int4 instead of time_t (TODO item)Peter Eisentraut
Made type equivalency apply to aggregates (TODO item) Fixed parsing bug in psql Reverted some stupid options changes I made to pg_dump
2000-01-24First cut at making useful selectivity estimates for range queriesTom Lane
(ie, WHERE x > lowbound AND x < highbound). It's not very bright yet but it does something useful. Also, rename intltsel/intgtsel to scalarltsel/scalargtsel to reflect usage better. Extend convert_to_scalar to do something a little bit useful with string data types. Still need to make it do something with date/time datatypes, but I'll wait for Thomas's datetime unification dust to settle first. Eventually the routine ought not have any type-specific knowledge at all; it ought to be calling a type-dependent routine found via a pg_type column; but that's a task for another day.
2000-01-24Update for index change. Semes it didn't work the first time.Bruce Momjian
2000-01-24Remove Ops parameter from STATRELID cache lookup, for Tom Lane andBruce Momjian
optimizer.
2000-01-23Change format of postmaster.opts.default.Tatsuo Ishii
Executable file name (postmaster) no more included in the file.
2000-01-23Fix error messages for the lack of multi-byte support.Tatsuo Ishii
Since --with-mb has been removed from configure, previous messages were not appropriate.
2000-01-23char_length()/octet_length for char() type now returns length ofTatsuo Ishii
the charcter including trailing blanks.
2000-01-23Replace SearchSysCacheGetAttribute with SysCacheGetAttr, which fetchesTom Lane
an attribute of a tuple previously fetched with SearchSysCacheTuple. This avoids a lot of redundant cache lookups, particularly in selfuncs.c. Also, remove SearchSysCacheStruct, which was unused and grotty.
2000-01-23First cut at unifying regular selectivity estimation with indexscanTom Lane
selectivity estimation wasn't right. This is better...
2000-01-23updated install filePeter Eisentraut
updated date/time types doc fixed small psql bug removed libpq code that lower-cased db names make notice when long identifier is truncated
2000-01-22Update regress tests for change of pg_am/pg_amop.Tom Lane
2000-01-22Revise handling of index-type-specific indexscan cost estimation, perTom Lane
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
2000-01-22added ALTER TABLE DROP COLUMN, early versionPeter Eisentraut
2000-01-22Change a few routines into macros to improve speed of COPY IN inner loop.Tom Lane
2000-01-22Forgot to handle column length defaults in ALTER TABLE ADD COLUMN.Tom Lane
2000-01-21Fix tab-complete so it works with old versions of readline that don'tTom Lane
have the rl_completion_append_character variable. The tab completion behavior doesn't seem to be quite perfect in that situation, but it's better than failing to build at all...
2000-01-21Fix handleCopyIn's response to EOF seen mid-line, that is, input fileTom Lane
does not end with a newline. I don't think this explains the recent complaints, since this bug existed in 6.5 (and probably long before). But might as well fix it now that I see it.
2000-01-21Simplify match patterns a little.Tom Lane
2000-01-21Bruce, you forgot to rename these files...Tom Lane
2000-01-20plperl Makefile cleanup. Doesn't work on BSDI yet.Bruce Momjian
2000-01-20Update plperl makefile.Bruce Momjian
2000-01-20Added new pg_id to fix initdb problemsPeter Eisentraut
New INSTALL file Fixed a copyright notice
2000-01-20Cleanup vacuum names.Bruce Momjian
2000-01-20Fix typo in \z.Bruce Momjian
2000-01-20I have noticed that the geometry test's output for hppa1 and hppa2 are inBruce Momjian
fact the same, so I suggest they could be the same file say geometry-positive-zeros.out, as the main difference seems to be not printing eg. (0,-0). In src/test/regress/expected, I propose rm int2-i386-netbsd.out int4-i386-netbsd.out mv geometry-hppa1.1.out geometry-positive-zeros.out rm geometry-hppa2.0.out geometry-i386-netbsd.out and the following patch to resultmap. I have only tested the netbsd results on i386, but think that in all probability the differences will be the same for other ports. If it turns out not to be the case, at least we might find out. Patrick Welche
2000-01-20Bruce,Bruce Momjian
Attached is a small fix for a stupid mistake I made in comment.c - an attempt to drop a non-existent comment would dump core :-(. Sometimes, I'm as sharp as a marble. Sorry, Mike Mascari
2000-01-20Clean up longstanding warnings. I think the remainingTom Lane
'defined but not used' warnings would go away if the scanner didn't use YY_REJECT.
2000-01-20Clean up longstanding gcc warnings by adding missing externTom Lane
declarations.
2000-01-20Clean up longstanding gcc warnings by adding missing externTom Lane
declarations.
2000-01-20ecpg shouldn't depend on parser/gramparse.h. Also, eliminate someTom Lane
compiler warnings caused by lack of extern declarations in extern.h. I believe the remaining gcc warnings here would go away if the ecpg grammar could be tweaked so it doesn't use REJECT ...
2000-01-20Well, I finally solved the linking problemBruce Momjian
that kept me from making perl secure. Attached is uuencoded tarball to add PL/perl to postgresql. Things I know don't work. -- triggers -- SPI The README file has a _VERY_ short tutorial. Mark Hollomon
2000-01-20Tweak includes to avoid compiler warning on HPUX.Tom Lane
2000-01-20Assign a typmod of -1 to unadorned CHAR and NUMERIC type specs. ThisTom Lane
allows casts without specific length requirements to continue to work as they did before; that is, x::char will not truncate the value of x, whereas x::char(1) will. Likewise for NUMERIC precision/scale. The column length defaults of char(1) and numeric(30,6) are now inserted in analyze.c's processing of CREATE TABLE.
2000-01-20Fix bugs in NUMERIC ceil() and floor() functions. ceil(0) returned 1,Tom Lane
and both would insert random junk digits if given an input that was an exact multiple of 10.
2000-01-19Fix handling of NULL constraint conditions: per SQL92 spec, a NULL resultTom Lane
from a constraint condition does not violate the constraint (cf. discussion on pghackers 12/9/99). Implemented by adding a parameter to ExecQual, specifying whether to return TRUE or FALSE when the qual result is really NULL in three-valued boolean logic. Currently, ExecRelCheck is the only caller that asks for TRUE, but if we find any other places that have the wrong response to NULL, it'll be easy to fix them.