summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-03-30Add configure checks to see if 'using namespace std' andTom Lane
'#include <string>' work in the local C++ compiler.
2000-03-30Remove extraneous semicolon.Tom Lane
2000-03-30Tweak indexscan cost estimation: round estimated # of tuples visited upTom Lane
to next integer. Previously, if selectivity was small, we could compute very tiny scan cost on the basis of estimating that only 0.001 tuple would be fetched, which is silly. This naturally led to some rather silly plans...
2000-03-29Added latest config.guess and config.subPeter Eisentraut
2000-03-29Change rules for interpreting date/time input to disallow 1 and 3 characterThomas G. Lockhart
years. Rejects dates like '0.085', which were accepted previously.
2000-03-28Fix some bogosity in the tutorial examples.Tom Lane
2000-03-27Allow compile to finish even if plperl fails, which it does now.Bruce Momjian
2000-03-27Fixed bug with repeated \e in psql (failed to clear buffers correctly)Peter Eisentraut
2000-03-27Allow full type names in CREATE FUNCTION arguments and return type.Thomas G. Lockhart
Move CREATE FUNCTION/WITH clause to end of statement to get around shift/reduce conflicts with type names containing "WITH". Add lots of tokens as allowed ColId's and/or ColLabel's, so this should be a complete set for the v7.0 release.
2000-03-27Fix up comments where had been uglified by the automated reformatter.Thomas G. Lockhart
2000-03-27Change form of query which used "DISTINCT ON" to help support primary keys.Thomas G. Lockhart
We still have an internal limit in the ODBC code of 8 columns per key, but this should lay the groundwork for resolving that. Includes reformulated query from Tom Lane.
2000-03-27Enhance pg_ctl so that it prints error messages from postmasterTatsuo Ishii
if it fails to start up it (this is only vaild if -w is given).
2000-03-26nodeAgg has always been willing to accept an aggregate with a finalFuncTom Lane
and only one transition state, but the CREATE AGGREGATE code rejected this combination.
2000-03-26Updated user's guide to match new psql's output formatPeter Eisentraut
Fixed bug in createdb/alternative location
2000-03-26Change resultmap:Tatsuo Ishii
powerpc-unknown-linux-gnu --> powerpc-unknown-linux-gnulibc1 this is because for new config.guess.
2000-03-26New platform specific geometry regression expected file forTatsuo Ishii
powerpc-linux-gnulibc1.
2000-03-26Remove some results from int4-not-representable.outTatsuo Ishii
This is due to the changes made to int4.sql. < SELECT dsqrt(float8 '64') AS eight; < eight < ------- < 8 < (1 row) < < SELECT |/float8 '64' AS eight; < eight < ------- < 8 < (1 row) < < SELECT ||/float8 '27' AS three; < three < ------- < 3 < (1 row) <
2000-03-26Make configure --help produce slightly more useful and consistently-Tom Lane
formatted descriptions of --with options.
2000-03-26Attached is the regression diff for geometry, RedHat 6.1 on a PentiumBruce Momjian
200 MMX. I was going through my e-mail, cleaning out my 1000+ message inbox, and found this one. Sorry. -- Lamar Owen
2000-03-25Remove bogus complexity from build/install of plperl. This stuff wasTom Lane
apparently copied from the makefile for the perl5 interface module, which needs it for reasons explained in src/interfaces/Makefile. But none of those reasons apply to plperl.
2000-03-25Old patch from Mark Hollomon to add plperl to createlang's repertoire.Tom Lane
Seems to have slipped through the cracks.
2000-03-25Another fix for old shells.Tom Lane
2000-03-25Fix syntax error reported by old shells ("if ! command..." is aTom Lane
neologism, apparently).
2000-03-25More >&1 cleanupsBruce Momjian
2000-03-25More changes of >& to 2>&1Bruce Momjian
2000-03-25Remove >& and make it 2>&1Bruce Momjian
2000-03-25Add POLLUTE=1 to perl Makefile.PL creations.Bruce Momjian
2000-03-24transformCreateStmt should put Ident nodes, not ColumnDef nodes, intoTom Lane
keys lists of Constraint nodes. This eliminates a type pun that would probably have caused trouble someday, and eliminates circular references in the parsetree that were causing trouble now. Also, change parser's uses of strcasecmp() to strcmp(). Since scan.l has downcased any unquoted identifier, it is never correct to check an identifier with strcasecmp() in the parser. For example, CREATE TABLE FOO (f1 int, UNIQUE("F1")); was accepted, which is wrong, and xlateSqlFunc did more than it should: select datetime(); ERROR: Function 'timestamp()' does not exist (good) select "DateTime"(); ERROR: Function 'timestamp()' does not exist (bad)
2000-03-24Improve comment.Tom Lane
2000-03-24Save a few cycles in simple cases: no need to call cost_sort() when thereTom Lane
is no presorted path to compare with.
2000-03-24Remove -O2 for aix.Bruce Momjian
2000-03-24outfuncs.c was missing a print routine for Material plan nodes, leadingTom Lane
to trouble when trying to EXPLAIN VERBOSE a plan containing one.
2000-03-24Rename bytea functions to not have upper-case letters in their names.Tom Lane
Clean up grotty coding in them, too. AFAICS from the CVS logs, these have been broken since Postgres95, so I'm not going to insist on an initdb to fix them now...
2000-03-24Fold PQsetenv working state into PGconn, rather than trying to maintainTom Lane
it in a separate object. There's no value in keeping the state separate, and it creates dangling-pointer problems. Also, remove PQsetenv routines from public API, until and unless they are redesigned to have a safer interface. Since they were never part of the documented API before 7.0, it's unlikely that anyone is calling them.
2000-03-23A little further tweaking of the range-query selectivity logic:Tom Lane
to avoid undue sensitivity to roundoff error, believe that a zero or slightly negative range estimate should represent a small positive selectivity, rather than falling back on a generic default estimate.
2000-03-23>> 5. empty define that results in an empty but terminated line ( ; )Bruce Momjian
easy (maybe dumb) fix for 5 in attachment define.patch greetings, Andreas
2000-03-23Back out // compiler flag.Bruce Momjian
2000-03-23Hmm, absolute pathnames for the copy makes sense. I'll whip up thatBruce Momjian
patch in a second. Should be sufficent to just make sure the first character is a '/', right? Ross J. Reedstrom
2000-03-23Some points for portability improvements:Bruce Momjian
1. C++ style comments in C source for ecpg ( // comment ) 2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c from include path instead of workdir (rename it ?) 3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use SOCKET_SIZE_TYPE instead) 4. char vs unsigned char in psql calls to libpq 5. empty define that results in an empty but terminated line ( ; ) Now for all but point 3 I can supply changes to the compiler flags, to make the compiler less pedantic. Or is someone interested in the complications ? in the meantime can someone apply the attached patch ? Andreas
2000-03-23Please apply the attached patch to interfaces/libpq/libpq-fe.h. This wouldBruce Momjian
allow to write applications which do not have a link to postgres_ext.h in their source directory. Andreas Kardos
2000-03-23*** empty log message ***Michael Meskes
2000-03-23subselect regress test was kind of silly; it claimed to test correlationTom Lane
cases but actually did no such thing. Make it test some more cases than before (including things that didn't work in 6.5).
2000-03-23Float-to-int conversion functions should return NULL when given NULLTom Lane
input, not throw a gratuitous elog().
2000-03-23Remove no-longer-necessary restriction against uplevel correlation varsTom Lane
outside WHERE clause. Fix a couple of places that didn't handle uplevel refs cleanly.
2000-03-23Hack parse_coerce so it won't try to constant-fold the dummy ConstTom Lane
nodes introduced by make_subplan(). It'd be better if we used a different node type for subplan result placeholders, but for now...
2000-03-23ExecSubPlan needs to be able to cope with RelabelType nodes atop theTom Lane
Const placeholder nodes for subplan result values.
2000-03-23Update HISTORY file for 7.0.Bruce Momjian
2000-03-23If we cannot get a real estimate for the selectivity of a range query,Tom Lane
use a default value that's fairly small. We were generating a result of about 0.1, but I think 0.01 is probably better --- want to encourage use of an indexscan in this situation.
2000-03-23Improve selectivity estimation involving string constants: pay attentionTom Lane
to more than one character, and try to do the right thing in non-ASCII locales.
2000-03-22Repair logic flaw in cost estimator: cost_nestloop() was estimating CPUTom Lane
costs using the inner path's parent->rows count as the number of tuples processed per inner scan iteration. This is wrong when we are using an inner indexscan with indexquals based on join clauses, because the rows count in a Relation node reflects the selectivity of the restriction clauses for that rel only. Upshot was that if join clause was very selective, we'd drastically overestimate the true cost of the join. Fix is to calculate correct output-rows estimate for an inner indexscan when the IndexPath node is created and save it in the path node. Change of path node doesn't require initdb, since path nodes don't appear in saved rules.