Commit Graph

11517 Commits

Author SHA1 Message Date
Tom Lane 6b516f5951 Fix performance problems in TOAST compressor. The management of
search lists was broken in such a way that only the most recent
instance of a given hash code would ever be searched, thus possibly
missing longer matches further back.  Fixing this gave 5 to 10%
compression improvement on some text test cases.  Additional small
tweaks to improve speed of inner loops a little bit.  There is no
compatibility issue created by this change, since the compressed data
format and decompression algorithm don't change.
2001-11-17 06:09:30 +00:00
Bruce Momjian dc6efa44e2 Update Japanese FAQ's. 2001-11-17 05:11:43 +00:00
Tom Lane c845b4272c IsSystemRelationName() treats TOAST relations as system relations.
This seems the right thing for most usages, but I notice two places
where it is the wrong thing.  One is that the default permissions on
TOAST rels should be no-access, not world-readable; the other is that
PrepareForTupleInvalidation doesn't really need to spend time looking
at tuples of TOAST relations.
2001-11-16 23:30:35 +00:00
Bruce Momjian aea081bb27 Add missing prototype. 2001-11-16 18:28:16 +00:00
Bruce Momjian 07de4cbbbb Add configure result checks on odbc, per Peter E. 2001-11-16 18:10:04 +00:00
Tom Lane 1ca717f377 plpython security and error handling fixes, from
Kevin Jacobs and Brad McLean.
2001-11-16 18:04:31 +00:00
Bruce Momjian b0df7a60f2 Update TODO list. 2001-11-16 17:43:25 +00:00
Tom Lane 100e7f0c9d Once again, Michael has overwritten someone else's patch ... 2001-11-16 17:01:48 +00:00
Peter Eisentraut aff53b27f0 Make the yacc rules safe for parallel make. See discussion on pgsql-patches
and comment in src/backend/parser/Makefile for the technical details.
2001-11-16 16:32:33 +00:00
Tom Lane 7c50767f08 Remove 'triggered data change violation' error check, per recent
discussions in pghackers.
2001-11-16 16:31:16 +00:00
Peter Eisentraut 306798ded5 Use -f for rm. 2001-11-16 16:29:56 +00:00
Michael Meskes 7845954e49 Committed again to add the missing files/patches. 2001-11-16 08:36:37 +00:00
Hiroshi Inoue 949af991fc Change SQLDescribeCol so that it returns alias name properly. 2001-11-16 05:55:10 +00:00
Tom Lane 2a4660f5aa Update keyword lists per suggestions by Peter. There are now four
mutually exclusive keyword lists spanning all known keywords ---
including AS.  Moved COALESCE and a few other ColLabels into the
can-be-ColId list.
2001-11-16 04:08:33 +00:00
Tom Lane 7e422ac0e7 Fix silly error in plpgsql example. 2001-11-16 00:40:11 +00:00
Tom Lane fa09b6d7b2 Add documentation for new plpgsql cursor operations. Also, another
round of editorial effort.
2001-11-15 23:32:39 +00:00
Tom Lane 4be20187ab Fix some problems in new plpgsql cursor operations, found while trying
to reverse-engineer documentation for them.
2001-11-15 23:31:09 +00:00
Bruce Momjian d4337f6a7c Read getopt() into an int, not char. 2001-11-15 18:40:52 +00:00
Tom Lane 10d4faab2b Autoconf. 2001-11-15 17:31:44 +00:00
Bruce Momjian ea436f9fcf Well the absolute correct solution would involve all of:
int8, int16, int32, int64 and separately uint8, uint16, uint32, uint64

The previous patch grouped:
int8, int16 and int32
uint8, uint16 and uint32
int64 and uint64  <-- this grouping is wrong on AIX 4.3.3 and below

If you prefer to make 4 groups out of this you could apply this patch.

Andreas
2001-11-15 16:35:19 +00:00
Bruce Momjian 2c1784a9c7 Update md5.h because it can't get the value from configure. 2001-11-15 16:16:08 +00:00
Bruce Momjian 6c9b11b35e Fix for AIX compile and unsigned/signed typedefs.
Peter E, Tatsuo, Andreas
2001-11-15 16:09:34 +00:00
Peter Eisentraut a6348ae332 Only use RTLD_GLOBAL when available, which it isn't in older releases of the OS. 2001-11-15 16:08:15 +00:00
Tom Lane 307e449e5f Significant editorial overhaul of plpgsql documentation. 2001-11-15 06:25:22 +00:00
Tatsuo Ishii 7a546eb985 Add changes for multibyte support in 7.2. 2001-11-15 06:15:34 +00:00
Bruce Momjian 1edbd62cac Fix comment at top of file to match file name. 2001-11-15 03:12:53 +00:00
Bruce Momjian 09f19de62c Update TODO list. 2001-11-15 03:11:32 +00:00
Tom Lane b3bbeed1f6 Overhaul SPI documentation: bring it into some semblance of agreement
with reality, and add doco for Jan's recent round of enhancements.
2001-11-14 22:26:02 +00:00
Tom Lane a370cad990 Try to be a little less terse about dealing with variable-length structs
in C, but recommend that newbies who don't recognize this trick should do
some studying ...
2001-11-14 22:14:22 +00:00
Bruce Momjian 74114938ad Gnu -> GNU in docs. 2001-11-14 20:40:33 +00:00
Dave Cramer 80c029190f fixes getIndex to work with forte's transparent persistence 2001-11-14 20:04:00 +00:00
Bruce Momjian 276450d7d7 Update TODO list. 2001-11-14 16:31:38 +00:00
Michael Meskes 32a4c3008f Added Christof's patches. 2001-11-14 11:11:49 +00:00
Barry Lind ebb93323bb Attached is a patch against the CVS repository that fixes the ResultSet absolute() problem.
There's also a little fix for the getRow() method. While fixing
absolute(), I noticed that getRow() wasn't quite following the spec: it
wasn't returning 0 when the ResultSet wasn't positioned on a row.  I've
started a ResultSet test case and included it as well.

Liam Stewart
2001-11-14 04:11:37 +00:00
Bruce Momjian c97a787e85 Update CVS tags. 2001-11-13 22:08:04 +00:00
Bruce Momjian e735112b51 Use better CVS tag. 2001-11-13 22:07:42 +00:00
Bruce Momjian 2ca65f716a Remove md5.c check, add CVS log stamp. Update comments. 2001-11-13 22:06:58 +00:00
Tom Lane 1c2d2dbb67 Give a more intelligible and useful error message for SELECT with no
destination in plpgsql.
2001-11-13 02:05:27 +00:00
Bruce Momjian 330b112476 Update TODO list. 2001-11-13 01:14:57 +00:00
Tom Lane a585c20d12 Tweak parser so that there is a defined representation for datatypes
bpchar, bit, numeric with typmod -1.  Alter format_type so that this
representation is printed when the typmod is -1.  This ensures that
tables having such columns can be pg_dump'd and reloaded correctly.
Also, remove the rather useless and non-SQL-compliant default
precision and scale for type NUMERIC.  A numeric column declared as
such (with no precision/scale) will now have typmod -1 which means
that numeric values of any precision/scale can be stored in it,
without conversion to a uniform scale.  This seems significantly
more useful than the former behavior.  Part of response to bug #513.
2001-11-12 21:04:46 +00:00
Bruce Momjian 9c9ea41b3c Update TODO list. 2001-11-12 20:26:39 +00:00
Tom Lane d4d23852c1 If the alternatives for a CASE construct all have the same typmod,
use that typmod not -1 as the typmod of the CASE result.
Part of response to bug#513.
2001-11-12 20:05:24 +00:00
Tom Lane e433bf5a5e If the inputs of a UNION/INTERSECT/EXCEPT construct all agree on the
typmod of a particular column, mark the output with that same typmod,
not -1 as formerly.  -1 is still used if there is any disagreement.
Part of response to bug#513.
2001-11-12 20:04:20 +00:00
Barry Lind 7a9ef7ee09 fixed bug in ResultSet. Version 1.29 backed out two previous fixes (1.26 and 1.25). This checkin add back those two previous fixes. Problem reported by Daniel Germain 2001-11-12 19:59:46 +00:00
Peter Eisentraut 3c879e3738 Add some more index entries. 2001-11-12 19:19:39 +00:00
Barry Lind 3a306eefe9 Commit to support MD5 passwords as per the backend for 7.2. This patch was submitted by Jeremy Wohl jeremyw-pgjdbc@igmus.org 2001-11-12 19:11:56 +00:00
Bruce Momjian d7a343d5ce Add port number to pg_dumplo.
andrea gelmini
2001-11-12 17:44:14 +00:00
Tom Lane 611afd9f4b Repair crash in EvalPlanQual of query involving nestloop with inner
index scan.  Problem was that link to outer tuple wasn't being stored
everyplace it needed to be.
2001-11-12 17:18:06 +00:00
Tom Lane 0f214edeb1 Remove duplicate extern declaration. 2001-11-12 16:34:58 +00:00
Tom Lane 112bd6f06b psql's \do was going out of its way to lie about the result type of
operators.  Should report the declared oprresult type, not the return type
of the underlying proc, which might be only binary-compatible (cf.
textcat entries).
2001-11-12 15:57:08 +00:00