Commit Graph

14031 Commits

Author SHA1 Message Date
Tom Lane f6dba10e62 First phase of implementing hash-based grouping/aggregation. An AGG plan
node now does its own grouping of the input rows, and has no need for a
preceding GROUP node in the plan pipeline.  This allows elimination of
the misnamed tuplePerGroup option for GROUP, and actually saves more code
in nodeGroup.c than it costs in nodeAgg.c, as well as being presumably
faster.  Restructure the API of query_planner so that we do not commit to
using a sorted or unsorted plan in query_planner; instead grouping_planner
makes the decision.  (Right now it isn't any smarter than query_planner
was, but that will change as soon as it has the option to select a hash-
based aggregation step.)  Despite all the hackery, no initdb needed since
only in-memory node types changed.
2002-11-06 00:00:45 +00:00
Bruce Momjian a8c18b980e Add OS/X kernel tuning section. 2002-11-05 23:16:56 +00:00
Bruce Momjian ab4ee6c4bd Add:
> * Move dbmirror and rserv from /contrib to gborg.postgresql.org
2002-11-05 22:16:57 +00:00
Bruce Momjian 6ac7538337 Update FAQ_DEV. 2002-11-05 21:53:24 +00:00
Bruce Momjian d3d54d4b41 Update FAQ_DEV. 2002-11-05 21:49:52 +00:00
Bruce Momjian c4ee9153c4 Update ports list. 2002-11-05 19:01:07 +00:00
Bruce Momjian 44c9a28b7c Update ports list. 2002-11-05 17:31:36 +00:00
Bruce Momjian 1f07f7d88b Update ports list. 2002-11-05 17:11:46 +00:00
Bruce Momjian 44a35e3598 Update ports list. 2002-11-05 17:09:50 +00:00
Tom Lane 5ca2fe3e96 Fix broken markup. 2002-11-05 04:34:51 +00:00
Bruce Momjian 704895a0bd Update ports list. 2002-11-05 03:18:09 +00:00
Bruce Momjian 1a9f24462c Update ports list. 2002-11-04 22:40:43 +00:00
Tom Lane b8cdc57ba7 Brand CVS tip as 7.4devel. 2002-11-04 21:36:13 +00:00
Tom Lane 3f435f9e99 Remove extraneous semicolons after routine bodies. These don't bother
gcc, but some other compilers don't like 'em.
2002-11-04 17:14:29 +00:00
Tom Lane 04eb419809 Fix inclusion order, per Andreas. 2002-11-04 14:27:21 +00:00
Tom Lane 7f660090e5 Remove unnecessary inclusion, per Andreas. 2002-11-04 14:25:42 +00:00
Tom Lane c14b72577c Remove no-longer-needed inclusion of bootstrap_tokens.h, per patch
from Andreas.
2002-11-04 14:22:32 +00:00
Barry Lind fdf6b4ff93 Applied two patches from Kris Jurka.
- First fixes a problem with a recent patch allowing setNull on updateable
    resultsets
  - Second removed toLower() calls on database object names.  Leave it to
    the caller to correctly pass lower, upper or mixed case.  The driver
    already has methods that the caller can use to determine that postgres
    stores identifiers in lowercase. (unless the identifier was quoted when
    created).

 Modified Files:
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
 	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2002-11-04 06:42:33 +00:00
Tom Lane bfccacf3f8 Fix dblink regression test so that it works when repeated: don't
create a second database, just loop back to 'regression'.  Patch
from Joe Conway 10/22/02.
2002-11-03 04:52:09 +00:00
Bruce Momjian 659df79e45 Update FAQ_DEV. 2002-11-03 04:02:32 +00:00
Bruce Momjian 24135fbf09 Stamp beta4. 2002-11-03 01:35:06 +00:00
Bruce Momjian d3f9d0ce57 This patch adds a couple of extra index entries and removes some
out-of-date text about multibyte encoding (which is now always
included).

Oliver Elphick
2002-11-03 01:31:32 +00:00
Bruce Momjian ba95f2d6aa This patch adds information to the documentation on .pgpass and creates
additional index entries for it.

Oliver Elphick
2002-11-03 01:30:46 +00:00
Bruce Momjian 08e8c8a574 Use sed rather than perl for reindexdb. 2002-11-03 01:20:06 +00:00
Tom Lane 77fcc1cbae Fix some misstatements in WAL parameter discussion. 2002-11-02 22:23:01 +00:00
Tom Lane 2a01b05936 Code review for recent patch to allow ALTER TABLE ADD COLUMN when
a child table already has a matching column.  Acquire appropriate
lock on child table; do the right thing with any CHECK constraints
attached to the new parent column.
2002-11-02 22:02:08 +00:00
Tom Lane e02d1abee6 During swap_relfilenodes, swap relation size statistic fields along with
the relfilenode and toast fields.  This ensures that the newly-computed
statistics will be available on completion of CLUSTER.
2002-11-02 21:20:40 +00:00
Tom Lane 5123139210 Remove encoding lookups from grammar stage, push them back to places
where it's safe to do database access.  Along the way, fix core dump
for 'DEFAULT' parameters to CREATE DATABASE.  initdb forced due to
change in pg_proc entry.
2002-11-02 18:41:22 +00:00
Tom Lane f6e0130b5b Clean up a few fprintf(stderr)'s that should be elog's. 2002-11-02 15:54:13 +00:00
Bruce Momjian 82ddb66464 Add:
> * Acquire lock on a relation before building a relcache entry for it
2002-11-02 05:42:01 +00:00
Bruce Momjian 91a6bb0497 Update:
> 	o MOVE 0 should not move to end of cursor (Bruce)
2002-11-02 02:44:16 +00:00
Bruce Momjian 76aada9e9d Add:
> * Support statement-level triggers and triggers on columns (Neil)
2002-11-02 02:43:03 +00:00
Tom Lane 6a7273e14c Fix permissions-checking bugs and namespace-search-path bugs in
CONVERSION code.  Still need to figure out what to do about inappropriate
coding in parsing.
2002-11-02 02:33:03 +00:00
Bruce Momjian 08dd92cdeb Add gcj discussion. 2002-11-02 02:27:49 +00:00
Bruce Momjian 62636a3d4b Re-add Win32 missing files, I think. 2002-11-02 02:00:35 +00:00
Bruce Momjian a89660a1e6 Re-add Win32 files. 2002-11-02 01:58:27 +00:00
Bruce Momjian caed998b69 Update port list. 2002-11-02 01:29:37 +00:00
Tom Lane 63a1400740 Updates from Giles Lean. 2002-11-02 00:46:23 +00:00
Tom Lane 776d9651e1 Make it possible to run 'make installcheck' in contrib when building
outside the source tree.
2002-11-02 00:16:21 +00:00
Bruce Momjian 66a03b064e Add:
> * Allow psql to do table completion for SELECT * FROM schema_part and
>   table completion for SELECT * FROM schema_name.
2002-11-02 00:15:38 +00:00
Tom Lane 6423a8eef6 Fix contrib/rserv to install successfully when built outside source tree.
(Not that it will actually work with 7.3, I fear.)
2002-11-01 23:45:37 +00:00
Tom Lane c87867f47b Ooops, forgot to fix contrib regression tests for WARNING/NOTICE change. 2002-11-01 23:44:34 +00:00
Tom Lane 97915fcd14 Need -I. to build outside source tree. 2002-11-01 23:23:29 +00:00
Tom Lane e9e919f4ee Fix incorrect subdir value. 2002-11-01 23:16:52 +00:00
Bruce Momjian fb4639f911 Add:
> * Have standalone backend read postgresql.conf
2002-11-01 22:53:05 +00:00
Tom Lane cab9437a43 Arrange to compile flex output files as inclusions into other files
(usually bison output files), not as standalone files.  This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file.  Needed for largefile
support on some platforms.
2002-11-01 22:52:34 +00:00
Tom Lane 1e970dcee8 Ooops, forgot to fix contrib regression tests for WARNING/NOTICE change. 2002-11-01 22:46:04 +00:00
Tom Lane 884cd4b6be Reduce a couple of debugging messages from LOG to DEBUG1 category. 2002-11-01 19:33:09 +00:00
Tom Lane 8d43947886 Reduce messages associated with shell-type function arguments/results
from WARNING to NOTICE, since they are expected messages in common cases.
2002-11-01 19:19:58 +00:00
Tom Lane 03a2371317 Update to match expected results on OS X 10.2. 2002-11-01 18:15:34 +00:00