aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Modify getdatabaseencoding(), pg_encoding_to_char()Tatsuo Ishii2000-05-02
| | | | | | pg_char_to_encoding() in multibyte disbaled case so that it does not throw an error, rather return HARD CODED default value (currently SQL_ASCII). This would solve the "non-mb backend vs. mb-enabled frontend" problem.
* Reset CurrentMemoryContext to TopMemoryContext at the beginning of errorTom Lane2000-04-30
| | | | | | | | | | | | cleanup, ie, as soon as we have caught the longjmp. This ensures that current context will be a valid context throughout error cleanup. Before it was possible that current context was pointing at a context that would get deleted during cleanup, leaving any subsequent pallocs in deep trouble. I was able to provoke an Assert failure when compiled with asserts + -DCLOBBER_FREED_MEMORY, if I did something that would cause an error to be reported by the backend large-object code, because indeed that code operates in a context that gets deleted partway through xact abort --- and CurrentMemoryContext was still pointing at it! Boo hiss.
* Remove bogus 'xid loop detected' check, which actually wasn't detectingTom Lane2000-04-30
| | | | loops, but just arbitrarily failing at 1000 locks.
* Clean up ecpg test files.Bruce Momjian2000-04-29
|
* Update pgeasy examplesBruce Momjian2000-04-28
|
* Update libpgeasy define.Bruce Momjian2000-04-28
|
* Change libpgeasy to take dbname at end like all other interfaces.Bruce Momjian2000-04-28
|
* Setting statistic options from SET PG_OPTIONS caused a backend crashTom Lane2000-04-28
| | | | | because StatFp never got set in that case. Set it immediately before use to eliminate such problems.
* plpgsql RAISE statement was careless about the possibility of a NULLTom Lane2000-04-28
| | | | | field value being displayed; produced coredump instead of the expected <NULL> display.
* Except_Intersect_Rewrite() failed to ignore resjunk targetlist entries,Tom Lane2000-04-27
| | | | | thus causing failure if one sub-select had resjunk entries that the other did not (cf. bug report from Espinosa 4/27/00).
* Update libpgeasy e-mail addressBruce Momjian2000-04-27
|
* Repair problem noted by Elphick: make_rels_by_joins failed to handleTom Lane2000-04-27
| | | | | | | | cases where joinclauses were present but some joins have to be made by cartesian-product join anyway. An example is SELECT * FROM a,b,c WHERE (a.f1 + b.f2 + c.f3) = 0; Even though all the rels have joinclauses, we must join two of them in cartesian style before we can use the join clause...
* -D switch to postmaster should override any PGDATA environment variableTom Lane2000-04-27
| | | | | that might be hanging about. Now it does ... amazing nobody noticed this before ...
* Tweak outUnique to include uniqColIdx[] field in the printout. This doesTom Lane2000-04-26
| | | | | not cause any compatibility problems because stored rules don't contain plan nodes --- in fact, we don't even have a readfunc for Unique nodes.
* On HPUX, shl_load should be called with options BIND_IMMEDIATE ratherTom Lane2000-04-26
| | | | | | | than BIND_DEFERRED. That way, if the loaded library has unresolved references, shl_load fails cleanly. As we had it, shl_load would succeed and then the dynlinker would call abort() when we try to call into the loaded library. abort()ing a backend is uncool.
* Fix include "" to <>Bruce Momjian2000-04-26
|
* Remove DriverClass.java. It is generated by the compile.Bruce Momjian2000-04-26
|
* Add res clear to exampleBruce Momjian2000-04-26
|
* Install Peter's Makefile.Bruce Momjian2000-04-26
|
* Reinstalled revision 1.36 (looks Peter Mount installedJan Wieck2000-04-26
| | | | | | a new JDBC Makefile here by accident) Jan
* third attemptPeter Mount2000-04-26
|
* Attempt IIIPeter Mount2000-04-26
|
* Another attemptPeter Mount2000-04-26
|
* Update libpgeasy readme.Bruce Momjian2000-04-26
|
* Make c++ examples return 0 from main().Bruce Momjian2000-04-25
|
* Fix libpq example return valuesBruce Momjian2000-04-25
|
* change reindex ERROR/NOTICE messageHiroshi Inoue2000-04-25
|
* initdb didn't always remove temp filePeter Eisentraut2000-04-25
|
* Check that user-specified opclass in CREATE INDEX corresponds to operatorsTom Lane2000-04-25
| | | | that will actually work on the column datatype.
* Update pg_ctl so that it does not redirect outputs from postmasterTatsuo Ishii2000-04-25
| | | | to a temp file.
* Fix \h to not go past array boundsBruce Momjian2000-04-24
|
* Add mention of int in variable.Bruce Momjian2000-04-23
|
* Add mention of int for variable in examplesBruce Momjian2000-04-23
|
* Our test to see if we had permission to install into Perl5 install areaTom Lane2000-04-23
| | | | | | always failed if Perl makefile's INSTALLSITELIB variable was specified in terms of another variable. Fix by adding an echo-installdir target to the Perl makefile, which the upper-level Makefile can invoke.
* Produce an appropriate error message when opclass is not supported byTom Lane2000-04-23
| | | | | specified index access method. Clean up wording of some existing error messages, too.
* 7.0 buffer manager can support different backends running with differentTom Lane2000-04-23
| | | | fsync settings, so the -F option no longer needs to be treated as secure.
* Remove broken tracing code (which would be dangerous if it did work...)Tom Lane2000-04-22
| | | | | | | | | | | libpq++.h contained copies of the class declarations in the other libpq++ include files, which was bogus enough, but the declarations were not completely in step with the real declarations. Remove these in favor of including the headers with #include. Make PgConnection destructor virtual (not absolutely necessary, but seems like a real good idea considering the number of subclasses derived from it). Give all classes declared private copy constructors and assignment operators, to prevent compiler from thinking it can copy these objects safely.
* Update example: PgLargeObject constructor now takes a conninfo string,Tom Lane2000-04-22
| | | | not a bare database name.
* pltcl didn't work well at all when Tcl had been built with a differentTom Lane2000-04-21
| | | | | | | compiler than the one selected to build Postgres with. It was trying to feed Postgres-compiler switches to Tcl's compiler. (Seen this before with the perl5 interface...) Fix to use only CFLAGS taken from Tcl's configure information, plus -I which is pretty universal.
* Finally figured out that HP's cpp won't do ANSI preprocessing constructsTom Lane2000-04-21
| | | | | | unless you feed it -Aa or -Ae switch. Autoconf does not know about this, but we can fix it in the hpux_cc template file. I knew templates were good for something ;-)
* Fix still more static-declaration-vs-nonstatic-definition glitches.Tom Lane2000-04-21
| | | | | gcc doesn't think these are a problem, but somewhere out there is a compiler that will spit up.
* Clean up const-vs-not-const compiler warning in MULTIBYTE code.Tom Lane2000-04-20
| | | | 'Twas my fault, I think.
* Allow libpq++ compile failure to stop entire compile.Bruce Momjian2000-04-20
|
* Add a regress test case for SELECT count(*) FROM view, so that we'llTom Lane2000-04-20
| | | | know if that case ever breaks again...
* Correct error in rewriter that caused SELECT count(*) FROM viewTom Lane2000-04-20
| | | | | | | to give wrong results: it should be looking at inJoinSet not inFromCl. Also, make 'modified' flag be local to ApplyRetrieveRule: we should append a rule's quals to the query iff that particular rule applies, not if we have fired any previously-considered rule for the query!
* Security fix for plperl.Bruce Momjian2000-04-18
|
* linux_alpha pattern should allow for more-detailed machine type suchTom Lane2000-04-18
| | | | as 'alphaev5', cf report from Stepanov 13-Apr-00.
* Repair coredump seen when a view refers to an inheritance groupTom Lane2000-04-18
| | | | | | (SELECT FROM table*). Cause was reference to 'eref' field of an RTE, which is null in an RTE loaded from a stored rule parsetree. There wasn't any good reason to be touching the refname anyway...
* Correct oversight in hashjoin cost estimation: nodeHash sizes its hashTom Lane2000-04-18
| | | | | | table for an average of NTUP_PER_BUCKET tuples/bucket, but cost_hashjoin was assuming a target load of one tuple/bucket. This was causing a noticeable underestimate of hashjoin costs.
* Include information for armv4l from Mark Knox <segfault@hardline.org>.Thomas G. Lockhart2000-04-18
|