1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00
Commit Graph

9639 Commits

Author SHA1 Message Date
a4e29286b3 Update SysV IPC information. 2000-12-17 11:22:00 +00:00
7b9fe96812 Update type-coercion discussions to reflect current reality. 2000-12-17 05:55:26 +00:00
c501e9aabe Misc. cleanups. 2000-12-17 05:50:23 +00:00
96ff0cb0c4 Outer join updates, miscellaneous polishing. 2000-12-17 05:47:57 +00:00
cfa4d4d040 Tweak select_common_type() to deal with possibility of multiple preferred
types in a category --- it was taking the last preferred type among the
inputs, rather than the first one as intended.
2000-12-17 04:32:29 +00:00
0c2629efaa Update some obsolete info about GEQO. 2000-12-16 22:44:47 +00:00
a238cb5a8a Add 7.1 features list 2000-12-16 20:12:42 +00:00
6a0f486a25 A little wordsmithing in the pattern-matching section. 2000-12-16 19:33:23 +00:00
d316f22267 Add note that COALESCE and NULLIF are shorthand forms of CASE. 2000-12-16 18:33:13 +00:00
cf00d59335 Clean up some bogosities in description of target lists. 2000-12-16 18:22:53 +00:00
9cf0a82fc3 Fix linker options for ODBC driver. See comment in
src/interfaces/odbc/GNUmakefile.
2000-12-16 18:14:25 +00:00
2a81896a2a Fix rules to re-generate config.h. The examples in the Autoconf manual are
flawed because the timestamp file is already updated when Makefile.global
is remade, and the rule for config.h never gets run.
2000-12-16 13:03:25 +00:00
ad4fd77a5f Restructure performance tips into a single chapter ('populating a
database' was way too small to make a chapter).  Add a section about
using JOIN syntax to direct the planner.
2000-12-16 02:29:36 +00:00
85934d1bdb Remove current->old mapping. 2000-12-15 23:36:20 +00:00
4df6dc4801 Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.305
diff -r1.305 TODO
3c3
< Last updated:		Fri Dec 15 17:40:22 EST 2000
---
> Last updated:		Fri Dec 15 17:44:57 EST 2000
312a313
> 	* Mark is Mark Hollomon <mhh@mindspring.com>
326a328
> ›5~
2000-12-15 22:45:09 +00:00
12691d92dc Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.304
diff -r1.304 TODO
3c3
< Last updated:		Fri Dec 15 17:03:28 EST 2000
---
> Last updated:		Fri Dec 15 17:40:22 EST 2000
318a319
> 	* Ross is Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
2000-12-15 22:40:34 +00:00
3699791fa8 Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.303
diff -r1.303 TODO
3c3
< Last updated:		Fri Dec 15 16:46:43 EST 2000
---
> Last updated:		Fri Dec 15 17:03:28 EST 2000
319a320
>  	* Stephan is Stephan Szabo <sszabo@megazone23.bigpanda.com>
2000-12-15 22:03:40 +00:00
e2331b7ff7 Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.302
diff -r1.302 TODO
3c3
< Last updated:		Tue Dec 12 23:01:53 EST 2000
---
> Last updated:		Fri Dec 15 16:46:43 EST 2000
2000-12-15 21:46:54 +00:00
1940230392 Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.301
diff -r1.301 TODO
306d305
< 	* Bryan is Bryan Henderson<bryanh@giraffe.netgate.net>
308d306
< 	* David is David Hartwig <daveh@insightdist.com>
311c309,310
< 	* Hiroshi is Hiroshi Inoue<Inoue@tpf.co.jp>
---
> 	* Hiroshi is Hiroshi Inoue <Inoue@tpf.co.jp>
> 	* Karel is Karel Zak <zakkr@zf.jcu.cz>
314c313
< 	* Massimo Dal Zotto <dz@cs.unitn.it>
---
> 	* Massimo is Massimo Dal Zotto <dz@cs.unitn.it>
318c317
< 	* Philip Warner <pjw@rhyme.com.au>
---
> 	* Philip is Philip Warner <pjw@rhyme.com.au>
321d319
< 	* Stefan Simkovics <ssimkovi@rainbow.studorg.tuwien.ac.at>
326c324
< 	* Vadim is "Vadim B. Mikheev" <vadim4o@email.com>
---
> 	* Vadim is Vadim B. Mikheev <vadim4o@email.com>
2000-12-15 21:46:41 +00:00
23bd779176 Change ET_WARN to ET_NOTICE to match internal codes, leave message as
WARNING.  Fix German FAQ mention about warning.
2000-12-15 20:01:55 +00:00
7d6af50f43 Make algorithm for resolving UNKNOWN function/operator inputs be
insensitive to the order of arguments.  Per pghackers discussion 12/10/00.
2000-12-15 19:22:03 +00:00
ff783fbae0 here is a patch fixing today's bug report:
> Date: Thu, 14 Dec 2000 12:44:47 +0100 (CET)
> From: Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] to_char() causes backend to close connection
>
> Hi, this query gives different strange results:
>
> select to_char(now()::abstime,'YYMMDDHH24MI');
>
> I get e.g. a "backend closed the channel unexpectedly..." error with
> successful or failed resetting attempt (indeterministic)

 Again thanks Kovacs, you found really designing bug, that appear
if anyone write bad format template to "number" version of to_char()
(as you with 'DD').

                                        Karel
2000-12-15 19:15:09 +00:00
0cf37659c4 there is one problem with Zoltan patches commited into the tree:
if we set autocommit off and issued COMMIT (or ROLLBACK) on a connection
new transaction is not started

Max Khon
2000-12-15 19:11:28 +00:00
326fbd8837 List .o file explicitly as dependency, to work around a gmake bug
(intermediate .o file gets deleted and rebuild on next make invocation).
2000-12-15 18:50:35 +00:00
b260c18cbc Remove obsolete comment. 2000-12-15 18:02:47 +00:00
207f6ed3f1 Print the error message before attempting to reset the connection after a
backend crash.
2000-12-15 17:54:43 +00:00
352cd1f1c5 Remove a few remaining vestiges of elog(WARN). 2000-12-15 04:08:15 +00:00
4ea746a84f Bugfix
Trying to connect to template0 left a global referenced buffer
because the scan of pg_database wasn't ended properly before
elog(FATAL).

Jan
2000-12-14 23:51:35 +00:00
c3641483c3 Merge functions and operators chapters. Lots of updates. 2000-12-14 22:30:56 +00:00
ea166f1146 Planner speedup hacking. Avoid saving useless pathkeys, so that path
comparison does not consider paths different when they differ only in
uninteresting aspects of sort order.  (We had a special case of this
consideration for indexscans already, but generalize it to apply to
ordered join paths too.)  Be stricter about what is a canonical pathkey
to allow faster pathkey comparison.  Cache canonical pathkeys and
dispersion stats for left and right sides of a RestrictInfo's clause,
to avoid repeated computation.  Total speedup will depend on number of
tables in a query, but I see about 4x speedup of planning phase for
a sample seven-table query.
2000-12-14 22:30:45 +00:00
db11f4382a Make sure to not handle deactivated system indexes 2000-12-14 07:02:42 +00:00
468a970409 Change StoreCatalogInheritance() to work from a list of parent relation
OIDs rather than names.  Aside from being simpler and faster, this way
doesn't blow up in the face of 'create temp table foo () inherits (foo)'.
Which is a rather odd thing to do, but it seems some people want to.
2000-12-14 00:41:09 +00:00
780992316f Fix thinko for case of outer join where inner table is empty: should
output first outer tuple before advancing...
2000-12-13 23:45:46 +00:00
47e229760a Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.300
diff -r1.300 TODO
3c3
< Last updated:		Tue Dec 12 23:01:04 EST 2000
---
> Last updated:		Tue Dec 12 23:01:53 EST 2000
21d20
< * test to show diffs for TODO changes
2000-12-13 04:02:15 +00:00
8b4c54ef3e Update TODO list.
Index: TODO
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.299
diff -r1.299 TODO
3c3
< Last updated:		Tue Dec 12 15:27:50 EST 2000
---
> Last updated:		Tue Dec 12 23:01:04 EST 2000
20a21
> * test to show diffs for TODO changes
2000-12-13 04:01:27 +00:00
17b843d677 Cache eval cost of qualification expressions in RestrictInfo nodes to
avoid repeated evaluations in cost_qual_eval().  This turns out to save
a useful fraction of planning time.  No change to external representation
of RestrictInfo --- although that node type doesn't appear in stored
rules anyway.
2000-12-12 23:33:34 +00:00
77c443f8cd Update TODO list. 2000-12-12 20:28:00 +00:00
36da236eb3 In 'Joins between classes' in Section 5 of the tutorial we have, in
the first paragraph:

    As an example, say we wish to find all the records that
    are in the  temperature  range  of  other records. In
    effect, we need to compare the temp_lo and temp_hi
    attributes of each EMP instance to the temp_lo and
    temp_hi  attributes of all other EMP instances.

I believe that EMP should read WEATHER, as the example query that
follows joins WEATHER to itself.

EMP is often used in Oracle examples.

Regards,
Graham

Other RULE cleanups
2000-12-12 16:47:52 +00:00
1045304a3b Revise SELECT reference page for outer joins, subselect in FROM,
ISO-compliant UNION/INTERSECT/EXCEPT.  Revise discussion of rule
rewriter to reflect new subselect-in-FROM implementation of views.
Miscellaneous other cleanups.
2000-12-12 05:07:59 +00:00
c4e3b0c3aa Links to CUBE, SEG contrib items 2000-12-11 20:40:59 +00:00
a3694b420f Gene Selkov's SEG datatype (GiST example code) 2000-12-11 20:40:33 +00:00
9892ddf5ee Gene Selkov's CUBE datatype (GiST example code) 2000-12-11 20:39:15 +00:00
5bb4f723d2 Remove elog for online log files. 2000-12-11 19:27:42 +00:00
f01f08b8b5 Make all ODBCVER = 2.50 2000-12-11 19:06:11 +00:00
b9110b97d9 Allow resultmap file to be missing, for use in contrib self-tests. 2000-12-11 19:00:33 +00:00
01b5efa5e3 Fix ODBC compile, prevent ODBCVER warning, though the version numbers go
not match.
2000-12-11 18:51:26 +00:00
0cbfde72fe Change to Negator. 2000-12-11 18:26:37 +00:00
dae369d390 elog(LOG)-->elog(DEBUG) for skipped logs. 2000-12-11 18:02:25 +00:00
70c5fdd2f6 Add Darwin-specific geometry test file. 2000-12-11 16:45:16 +00:00
2cf8064af8 Tweak Darwin patch to get right include order. 2000-12-11 16:35:59 +00:00