summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2000-01-19Update vacuum comments.Bruce Momjian
2000-01-19Update pg_dumpall.Bruce Momjian
2000-01-19another round of user interface cleanupsPeter Eisentraut
removed pg_id fixed a few bugs in the scripts
2000-01-19autoconfBruce Momjian
2000-01-19Fix >& csh-ismBruce Momjian
2000-01-19The latest source does not compile on Solaris 7 due toBruce Momjian
a missing include from a modified file. Here is a patch to fix it:- Keith Parks.
2000-01-19Removed MBFLAGS from makefiles since it's now done in include/config.h.Peter Eisentraut
2000-01-19Revert back Makefile.globalTatsuo Ishii
Add check for --with-mb. It is now obsoleted.
2000-01-19Fix for multibyte support. Since some function declarationsTatsuo Ishii
moved to miscadmin.h, we have to include it now.
2000-01-18another set of cleanupsPeter Eisentraut
2000-01-18Since this patch is not big I send it here instead. I do not have theBruce Momjian
complete source checked out so I cannot commit it myself. Michael
2000-01-18Hi!Bruce Momjian
Here is a patch to bring both libpq and psql to a state where it compiles on win32 (native) again. A lot of things have changed, and I have not been able to keep up with them all, so it has been broken for quite a while. After this patch, at least it compiles. It also talks "basic talk" to the server, but I have not yet tested all things. Sending queries, and using e.g. \d or \dt works fine. The rest will have to be tested further. It also bumps the version on libpq.dll to 7.0. Everything should be enclosed in #ifdef WIN32, unless I have missed something. Except for one or maybe two places where I have moved a #include that should not be used on win32 from the "global area" into a "#ifndef WIN32 area". //Magnus
2000-01-18Bruce,Bruce Momjian
Attached is a patch which patches cleanly against the Sunday afternoon snapshot. It modifies pg_dump to dump COMMENT ON statements for user-definable descriptions. In addition, it also modifies comment.c so that the operator behavior is as Peter E. would like: a comment on an operator is applied to the underlying function. Thanks, Mike Mascari
2000-01-18Fix minor comple errorTatsuo Ishii