summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-12-11Move psql \? Formatting above Large Object/Copy.Bruce Momjian
2002-12-11psql \? rearrangement, suggested by Tom.Bruce Momjian
2002-12-11Reorder psql \? help into groupings, idea from Harald Armin Massa.Bruce Momjian
2002-12-11Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user.Bruce Momjian
template/sco updated.
2002-12-11Fix line count error reporting in config files, like pg_hba.conf, perBruce Momjian
report from Oliver Elphick. Backpatch to 7.3.
2002-12-11patch for getTables to fix problems with backends before 7.3 by Kris JurkaDave Cramer
2002-12-11Mike Beachy's build patch to allow ant builds without makeDave Cramer
2002-12-11Aaron's patch for Pooled ConnectionsDave Cramer
2002-12-11Back out psql help change. Not done yet.Bruce Momjian
2002-12-11Bump version for 7.3 and 7.4.Bruce Momjian
2002-12-10Reverse out unintended resultmap change.Tom Lane
2002-12-10If typecmds is going to have its own header file, said header fileTom Lane
should include what it needs.
2002-12-10Add an unnecessary assignment to remove a bogus warning. I checked theD'Arcy J.M. Cain
logic carefully and I am sure that the test against n happens after it is assigned to.
2002-12-09Some quick fixes for ALTER DOMAIN patch. It still needs a lot of work,Tom Lane
but at least it doesn't generate gcc warnings.
2002-12-09Fix Latin9/Unicode conversion by selecting the right table.Peter Eisentraut
2002-12-09Update obsolete comment.Tom Lane
2002-12-06Explain's code for showing quals of SubqueryScan nodes has been brokenTom Lane
all along; not noticed till now. It's a scan not an upper qual ...
2002-12-06Attached are two small patches to expose md5 as a user function -- includingBruce Momjian
documentation and regression test mods. It seemed small and unobtrusive enough to not require a specific proposal on the hackers list -- but if not, let me know and I'll make a pitch. Otherwise, if there are no objections please apply. Joe Conway
2002-12-06Re-addd Rod's ALTER DOMAIN patch.Bruce Momjian
2002-12-06Back out V6 code, caused postmaster startup failure.Bruce Momjian
2002-12-06Add missing v6utils file.Bruce Momjian
2002-12-06Updated IPv6 patch to fix netmask.Bruce Momjian
2002-12-06We have just finished porting the old KAME IPv6 patch over toBruce Momjian
postgresql version 7.3, but yea... this patch adds full IPv6 support to postgres. I've tested it out on 7.2.3 and has been running perfectly stable. CREDITS: The KAME Project (Initial patch) Nigel Kukard <nkukard@lbsd.net> Johan Jordaan <johanj@lando.co.za>
2002-12-06Back out ALTER DOMAIN patch until missing file appears.Bruce Momjian
2002-12-06ALTER DOMAIN .. SET / DROP NOT NULLBruce Momjian
ALTER DOMAIN .. SET / DROP DEFAULT ALTER DOMAIN .. ADD / DROP CONSTRAINT New files: - doc/src/sgml/ref/alter_domain.sgml Rod Taylor
2002-12-06PyGreSQL inserttable patchBruce Momjian
===================== I suggested an improvement of the inserttable in the PyGreSQL interface already in January, but seemingly it was never implemented. I was told this is the right place to get patches in for PyGreSQL, so I'm reposting my patch here. I consider the inserttable methode essential in populating the database because of its benefits in performance compared to insert, so I think this patch is quite essential. The attachment is an improved version of the corresponding pg_inserttable function in pgmodule.c, which fixes the following problems: * The function raised exceptions because PyList_GetItem was used beyond the size of the list. This was checked by comparing the result with NULL, but the exception was not cleaned up, which could result in mysterious errors in the following Python code. Instead of clearing the exception using PyErr_Clear or something like that, I avoided throwing the exception at all by at first requesting the size of the list. Using this opportunity, I also checked the uniformity of the size of the rows passed in the lists/tuples. The function also accepts (and silently ignores) empty lists and sublists. * Python "None" values are now accepted and properly converted to PostgreSQL NULL values * The function now generates an error message in case of a line buffer overflow * It copes with tabulators, newlines and backslashes in strings now * Rewrote the buffer filling code which should now run faster by avoiding unnecessary string copy operations forth and back Christoph Zwerschke
2002-12-05As far as I figured from the source code this function only deals withBruce Momjian
cleaning up locale names and nothing else. Since all the locale names are in plain ASCII I think it will be safe to use ASCII-only lower-case conversion. Nicolai Tufar
2002-12-05localbuf.c must be able to do blind writes.Tom Lane
2002-12-05Avoid pulling up sublinks from a subselect's targetlist. Works aroundTom Lane
problems that occur if sublink is referenced via a join alias variable. Perhaps this can be improved later, but a simple and safe fix is needed for 7.3.1.
2002-12-05Clearify variables names so it is clear which variable is theBruce Momjian
client-supplied password and which is from pg_shadow.
2002-12-05Allow 'password' encryption even when pg_shadow has MD5 passwords, perBruce Momjian
report from Terry Yapt and Hiroshi. Backpatch to 7.3.
2002-12-05Phase 1 of read-only-plans project: cause executor state nodes to pointTom Lane
to plan nodes, not vice-versa. All executor state nodes now inherit from struct PlanState. Copying of plan trees has been simplified by not storing a list of SubPlans in Plan nodes (eliminating duplicate links). The executor still needs such a list, but it can build it during ExecutorStart since it has to scan the plan tree anyway. No initdb forced since no stored-on-disk structures changed, but you will need a full recompile because of node-numbering changes.
2002-12-05Document get/set bit/byte functions.Bruce Momjian
2002-12-05More cleanup of userid to be AclId rather than Oid.Bruce Momjian
2002-12-05changed sort of column names to sort by attnum, not attnameDave Cramer
2002-12-04Repair oversight in recent change of dependency extraction code: whenTom Lane
recursing to handle a join alias var, the context had better be set to be appropriate to the join var's query level. Per report from Hristo Neshev.
2002-12-04Stamp minor version numbers for 7.4 release.Bruce Momjian
2002-12-04Remove typprtlen from getdescr() as it is not available in 7.3. Return -1 forD'Arcy J.M. Cain
that field so that existing programs don't break.
2002-12-04Make usesysid consistently int4, not oid.Bruce Momjian
Catalog patch from Alvaro Herrera for same. catversion updated. initdb required.
2002-12-03Deal with cases where getpeereid _and_ another creditial method isBruce Momjian
supported.
2002-12-03Add OpenBSD local indent credentials, from William Ahern.Bruce Momjian
2002-12-02Repair core dump when trying to delete an entry from an already-NULLTom Lane
datconfig or useconfig field. Per report from Dustin Sallings.
2002-12-01Teach planner to expand sufficiently simple SQL-language functionsTom Lane
('SELECT expression') inline, like macros, during the constant-folding phase of planning. The actual expansion is not difficult, but checking that we're not changing the semantics of the call turns out to be more subtle than one might think; in particular must pay attention to permissions issues, strictness, and volatility.
2002-12-01Fix ExecMakeTableFunctionResult() to work with generic expressions asTom Lane
well as function calls. This is needed for cases where the planner has constant-folded or inlined the original function call. Possibly we should back-patch this change into 7.3 branch as well.
2002-12-01Fix pg_dump failure against 7.1 or older servers, perTom Lane
report from Philip Warner.
2002-12-01Run COPY OUT in a temporary memory context that's reset once per row,Tom Lane
and eliminate its manual pfree() calls. This solves the encoding-conversion bug recently reported, and should be faster and more robust than the original coding anyway. For example, we are no longer at risk if datatype output routines leak memory or choose to return a constant string.
2002-11-30Code review for IS DISTINCT FROM patch. Fix incorrect constant-foldingTom Lane
logic, dissuade planner from thinking that 'x IS DISTINCT FROM 42' may be optimized into 'x = 42' (!!), cause dependency on = operator to be recorded correctly, minor other improvements.
2002-11-30Missed one place that can be simplified after recent Param/Const cleanup.Tom Lane
2002-11-30Be more realistic about plans involving Materialize nodes: take theirTom Lane
cost into account while planning.
2002-11-30Upgrade planner and executor to allow multiple hash keys for a hash join,Tom Lane
instead of only one. This should speed up planning (only one hash path to consider for a given pair of relations) as well as allow more effective hashing, when there are multiple hashable joinclauses.