Commit Graph

9699 Commits

Author SHA1 Message Date
Bruce Momjian
84fd16516c Update FAQ to use new pgsql-cygwin@postgresql.org list. 2001-05-07 16:02:38 +00:00
Bruce Momjian
f83f740a13 Solaris startup cleanup from Justin Clift 2001-05-07 15:55:27 +00:00
Tom Lane
f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as
a separate statement (though it can still be invoked as part of VACUUM, too).
pg_statistic redesigned to be more flexible about what statistics are
stored.  ANALYZE now collects a list of several of the most common values,
not just one, plus a histogram (not just the min and max values).  Random
sampling is used to make the process reasonably fast even on very large
tables.  The number of values and histogram bins collected is now
user-settable via an ALTER TABLE command.

There is more still to do; the new stats are not being used everywhere
they could be in the planner.  But the remaining changes for this project
should be localized, and the behavior is already better than before.

A not-very-related change is that sorting now makes use of btree comparison
routines if it can find one, rather than invoking '<' twice.
2001-05-07 00:43:27 +00:00
Peter Eisentraut
9583aea9d0 Fix collateral damage from previous (rev 1.49) patch. 2001-05-06 21:15:51 +00:00
Peter Eisentraut
7038554c4e Allow 'psql -f -' to read from standard input. 2001-05-06 17:38:32 +00:00
Peter Eisentraut
84e8e5b427 Make prompt customization work with changeable Unix socket location. 2001-05-06 17:21:11 +00:00
Marc G. Fournier
36161b3086 not sure about this one ... but should have changelog in both versions ... 2001-05-05 20:24:56 +00:00
Bruce Momjian
1564bd11e3 UPdate for release tomorrow. 2001-05-05 02:57:40 +00:00
Tom Lane
e669b8d751 COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
2001-05-04 23:11:37 +00:00
Bruce Momjian
8d2fe903b0 Update TODO list. 2001-05-04 22:08:53 +00:00
Tom Lane
28ac24e4dd Makefile should have automatic dependency for parser.o too, if it's
going to have any at all.
2001-05-04 22:01:03 +00:00
Bruce Momjian
9278262181 Update TODO list. 2001-05-04 20:48:14 +00:00
Tom Lane
e2e19ca0cd Seems like we should not hold off cancel/die interrupts while we are
running deferred triggers.  They are really part of the regular
transaction, and they could take awhile.
2001-05-04 18:39:16 +00:00
Bruce Momjian
602b742507 Add missing tag. 2001-05-04 02:54:33 +00:00
Tom Lane
f5ba72ea04 Consolidate several near-identical uses of mktime() into a single
routine DetermineLocalTimeZone().  In that routine, be more wary of
broken mktime() implementations than the original code was: don't allow
mktime to change the already-set y/m/d/h/m/s information, and don't
use tm_gmtoff if mktime failed.  Possibly this will resolve some of
the complaints we've been hearing from users of Middle Eastern timezones
on RedHat.
2001-05-03 22:53:07 +00:00
Bruce Momjian
0cec2bb0cd BTW it does not add encodign it just patches existing one (KOI8) to
support two - KOI8-R and KOI8-U (latter is superset of the former if
not to take to the account pseudographics)

Andy Rysin
2001-05-03 21:38:45 +00:00
Tom Lane
d05b4bd7c6 Permission checking wasn't quite right for insert/update/delete rules,
either :-(.
2001-05-03 21:16:48 +00:00
Bruce Momjian
c434ae3539 pg_dump can dump 7.0 databases. 2001-05-03 20:39:52 +00:00
Bruce Momjian
3f8e21c34a apply a little patch:
Oleg Bartunov
2001-05-03 19:20:24 +00:00
Tom Lane
2792374cff Ensure that btree sort ordering functions and boolean comparison operators
give consistent results for all datatypes.  Types float4, float8, and
numeric were broken for NaN values; abstime, timestamp, and interval
were broken for INVALID values; timetz was just plain broken (some
possible pairs of values were neither < nor = nor >).  Also clean up
text, bpchar, varchar, and bit/varbit to eliminate duplicate code and
thereby reduce the probability of similar inconsistencies arising in
the future.
2001-05-03 19:00:37 +00:00
Tom Lane
77fe28f33e Describe handling of multiply-inherited fields correctly. 2001-05-03 17:50:55 +00:00
Tom Lane
f2122d092f Permissions were not checked correctly when one view invokes another.
Per bug report from Lieven Van Acker, 5/2/01.
2001-05-03 17:47:49 +00:00
Bruce Momjian
d31b9f3101 Update shared memory docs. 2001-05-03 17:28:13 +00:00
Bruce Momjian
645553eaf6 Improve list. 2001-05-03 17:20:14 +00:00
Bruce Momjian
7efc878104 Final stamp for 7.1.1. All done. 2001-05-03 17:17:41 +00:00
Bruce Momjian
3bc0ab783b Updates for 7.1.1. Not done yet. 2001-05-03 16:47:58 +00:00
Bruce Momjian
c0f5b4c82c autoconf 2001-05-03 16:43:26 +00:00
Bruce Momjian
13e9cea634 Some updates for 7.1.1. 2001-05-03 16:26:21 +00:00
Tom Lane
8571e6c6e5 Correct pg_description entry for type macaddr. 2001-05-03 16:18:02 +00:00
Tom Lane
f13cb7e524 Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>. 2001-05-03 16:07:52 +00:00
D'Arcy J.M. Cain
b95ff0c542 Initial checkin of a contributed type that handles passwords efficiently. 2001-05-03 12:32:13 +00:00
Bruce Momjian
4ad073cf4c In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.

Mismatch with synopsis, agg must be name here.

Frank Wegmann
2001-05-02 20:35:21 +00:00
Bruce Momjian
8e393fc501 Added mention of SHMALL and removed BSD/OS-specific table. 2001-05-02 17:04:53 +00:00
Bruce Momjian
4929d85e50 description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
                      ^^^^^^^^^^

Frank Wegmann
2001-05-02 14:46:33 +00:00
Tom Lane
d67a618e19 Previous commit mistakenly converted all newlines to DOS style (CR/LF).
Convert back to Unix style --- it seems some versions of nmake insist
on this.
2001-05-02 14:23:40 +00:00
D'Arcy J.M. Cain
57faa28740 Add note explaining why inserts take longer as tables grow. Also suggest
the way to handle this.
2001-05-02 11:21:57 +00:00
D'Arcy J.M. Cain
66feaa80dc Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code works
properly on 64 bit systems.

Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
2001-05-02 11:17:24 +00:00
Peter Eisentraut
adee1da002 Bump version to 7.1.1. Now run over to hub to rebuild documentation
before release...
2001-05-01 10:50:26 +00:00
Peter Eisentraut
4f268b01cd More markup fixes 2001-05-01 10:48:57 +00:00
Tom Lane
d45c0794df Fix slightly confused description of debug options. 2001-05-01 03:00:28 +00:00
Tom Lane
ac2b9aee1c Synced gram.y and preproc.y. 2001-05-01 02:33:55 +00:00
Thomas G. Lockhart
d63571a7f4 Allow a string argument to the EXTRACT() function.
This is an extension to the SQL9x standard, but is consistant with usage
 of the underlying date_part() function used to implement it.
 Example: EXTRACT('YEAR',...)
No impact on regression tests.
2001-05-01 01:36:10 +00:00
Hiroshi Inoue
892d46e7d0 1) fix bugs reported by Andrea Aime.
2) fix a bug reported by Jan Wieck.
psqlodbc is 7.01.0005 now.
2001-05-01 00:47:06 +00:00
Tom Lane
48bdf021b6 Update FAQ_HPUX now that we have reports of out-of-the-box build
on HPUX 11.
2001-04-30 23:55:26 +00:00
Tom Lane
c8b5598a11 Document pltcl's return_null command. 2001-04-30 22:22:34 +00:00
Tom Lane
955c8771f8 Repair freshly-broken markup. 2001-04-30 22:21:22 +00:00
Tom Lane
8bb3c8fe54 exec_move_row() should be more forgiving of tuples with a different
number of columns than it was expecting, for reasons that are now
documented in the code...
2001-04-30 20:05:40 +00:00
Tom Lane
e2004dfc69 Suppress pull-up of subqueries that are in the nullable side of an outer
join.  This is needed to avoid improper evaluation of expressions that
should be nulled out, as in Victor Wagner's bug report of 4/27/01.
Pretty ugly solution, but no time to do anything better for 7.1.1.
2001-04-30 19:24:47 +00:00
Bruce Momjian
60ba30d13a Break up PQexec() result functions into subsections to be clearer. Both
libpq and libpq++ reorganized.
2001-04-30 17:38:00 +00:00
Bruce Momjian
cfc4d6c510 Update TODO list. 2001-04-30 15:57:01 +00:00