OSDN Git Service
Bruce Momjian [Mon, 7 May 2001 17:20:19 +0000 (17:20 +0000)]
> Occasionally and without warning I get this from my daily vacuum
> cronjob:
> NOTICE: RegisterSharedInvalid: SI buffer overflow
> NOTICE: InvalidateSharedInvalid: cache state reset
> I don't understand what these mean. Should I be concerned about them
> and what do they signify?
No real need to worry. Those should've been downgraded to DEBUG-level
messages a release or two back, but nobody bothered...
Tom Lane
Bruce Momjian [Mon, 7 May 2001 17:05:17 +0000 (17:05 +0000)]
Update TODO list.
Bruce Momjian [Mon, 7 May 2001 16:02:38 +0000 (16:02 +0000)]
Update FAQ to use new pgsql-cygwin@postgresql.org list.
Bruce Momjian [Mon, 7 May 2001 15:55:27 +0000 (15:55 +0000)]
Solaris startup cleanup from Justin Clift
Tom Lane [Mon, 7 May 2001 00:43:27 +0000 (00:43 +0000)]
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.
Peter Eisentraut [Sun, 6 May 2001 21:15:51 +0000 (21:15 +0000)]
Fix collateral damage from previous (rev 1.49) patch.
Peter Eisentraut [Sun, 6 May 2001 17:38:32 +0000 (17:38 +0000)]
Allow 'psql -f -' to read from standard input.
Peter Eisentraut [Sun, 6 May 2001 17:21:11 +0000 (17:21 +0000)]
Make prompt customization work with changeable Unix socket location.
Marc G. Fournier [Sat, 5 May 2001 20:24:56 +0000 (20:24 +0000)]
not sure about this one ... but should have changelog in both versions ...
Bruce Momjian [Sat, 5 May 2001 02:57:40 +0000 (02:57 +0000)]
UPdate for release tomorrow.
Tom Lane [Fri, 4 May 2001 23:11:37 +0000 (23:11 +0000)]
COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
Bruce Momjian [Fri, 4 May 2001 22:08:53 +0000 (22:08 +0000)]
Update TODO list.
Tom Lane [Fri, 4 May 2001 22:01:03 +0000 (22:01 +0000)]
Makefile should have automatic dependency for parser.o too, if it's
going to have any at all.
Bruce Momjian [Fri, 4 May 2001 20:48:14 +0000 (20:48 +0000)]
Update TODO list.
Tom Lane [Fri, 4 May 2001 18:39:16 +0000 (18:39 +0000)]
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.
Bruce Momjian [Fri, 4 May 2001 02:54:33 +0000 (02:54 +0000)]
Add missing tag.
Tom Lane [Thu, 3 May 2001 22:53:07 +0000 (22:53 +0000)]
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.
Bruce Momjian [Thu, 3 May 2001 21:38:45 +0000 (21:38 +0000)]
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
Tom Lane [Thu, 3 May 2001 21:16:48 +0000 (21:16 +0000)]
Permission checking wasn't quite right for insert/update/delete rules,
either :-(.
Bruce Momjian [Thu, 3 May 2001 20:39:52 +0000 (20:39 +0000)]
pg_dump can dump 7.0 databases.
Bruce Momjian [Thu, 3 May 2001 19:20:24 +0000 (19:20 +0000)]
apply a little patch:
Oleg Bartunov
Tom Lane [Thu, 3 May 2001 19:00:37 +0000 (19:00 +0000)]
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.
Tom Lane [Thu, 3 May 2001 17:50:55 +0000 (17:50 +0000)]
Describe handling of multiply-inherited fields correctly.
Tom Lane [Thu, 3 May 2001 17:47:49 +0000 (17:47 +0000)]
Permissions were not checked correctly when one view invokes another.
Per bug report from Lieven Van Acker, 5/2/01.
Bruce Momjian [Thu, 3 May 2001 17:28:13 +0000 (17:28 +0000)]
Update shared memory docs.
Bruce Momjian [Thu, 3 May 2001 17:20:14 +0000 (17:20 +0000)]
Improve list.
Bruce Momjian [Thu, 3 May 2001 17:17:41 +0000 (17:17 +0000)]
Final stamp for 7.1.1. All done.
Bruce Momjian [Thu, 3 May 2001 16:47:58 +0000 (16:47 +0000)]
Updates for 7.1.1. Not done yet.
Bruce Momjian [Thu, 3 May 2001 16:43:26 +0000 (16:43 +0000)]
autoconf
Bruce Momjian [Thu, 3 May 2001 16:26:21 +0000 (16:26 +0000)]
Some updates for 7.1.1.
Tom Lane [Thu, 3 May 2001 16:18:02 +0000 (16:18 +0000)]
Correct pg_description entry for type macaddr.
Tom Lane [Thu, 3 May 2001 16:07:52 +0000 (16:07 +0000)]
Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>.
D'Arcy J.M. Cain [Thu, 3 May 2001 12:32:13 +0000 (12:32 +0000)]
Initial checkin of a contributed type that handles passwords efficiently.
Bruce Momjian [Wed, 2 May 2001 20:35:21 +0000 (20:35 +0000)]
In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.
Mismatch with synopsis, agg must be name here.
Frank Wegmann
Bruce Momjian [Wed, 2 May 2001 17:04:53 +0000 (17:04 +0000)]
Added mention of SHMALL and removed BSD/OS-specific table.
Bruce Momjian [Wed, 2 May 2001 14:46:33 +0000 (14:46 +0000)]
description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
^^^^^^^^^^
Frank Wegmann
Tom Lane [Wed, 2 May 2001 14:23:40 +0000 (14:23 +0000)]
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.
D'Arcy J.M. Cain [Wed, 2 May 2001 11:21:57 +0000 (11:21 +0000)]
Add note explaining why inserts take longer as tables grow. Also suggest
the way to handle this.
D'Arcy J.M. Cain [Wed, 2 May 2001 11:17:24 +0000 (11:17 +0000)]
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)
Peter Eisentraut [Tue, 1 May 2001 10:50:26 +0000 (10:50 +0000)]
Bump version to 7.1.1. Now run over to hub to rebuild documentation
before release...
Peter Eisentraut [Tue, 1 May 2001 10:48:57 +0000 (10:48 +0000)]
More markup fixes
Tom Lane [Tue, 1 May 2001 03:00:28 +0000 (03:00 +0000)]
Fix slightly confused description of debug options.
Tom Lane [Tue, 1 May 2001 02:33:55 +0000 (02:33 +0000)]
Synced gram.y and preproc.y.
Thomas G. Lockhart [Tue, 1 May 2001 01:36:10 +0000 (01:36 +0000)]
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.
Hiroshi Inoue [Tue, 1 May 2001 00:47:06 +0000 (00:47 +0000)]
1) fix bugs reported by Andrea Aime.
2) fix a bug reported by Jan Wieck.
psqlodbc is 7.01.0005 now.
Tom Lane [Mon, 30 Apr 2001 23:55:26 +0000 (23:55 +0000)]
Update FAQ_HPUX now that we have reports of out-of-the-box build
on HPUX 11.
Tom Lane [Mon, 30 Apr 2001 22:22:34 +0000 (22:22 +0000)]
Document pltcl's return_null command.
Tom Lane [Mon, 30 Apr 2001 22:21:22 +0000 (22:21 +0000)]
Repair freshly-broken markup.
Tom Lane [Mon, 30 Apr 2001 20:05:40 +0000 (20:05 +0000)]
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...
Tom Lane [Mon, 30 Apr 2001 19:24:47 +0000 (19:24 +0000)]
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.
Bruce Momjian [Mon, 30 Apr 2001 17:38:00 +0000 (17:38 +0000)]
Break up PQexec() result functions into subsections to be clearer. Both
libpq and libpq++ reorganized.
Bruce Momjian [Mon, 30 Apr 2001 15:57:01 +0000 (15:57 +0000)]
Update TODO list.
Bruce Momjian [Mon, 30 Apr 2001 04:26:01 +0000 (04:26 +0000)]
Add mention of libpgtcl's options to manual, libpq++ markup fixes.
Bruce Momjian [Mon, 30 Apr 2001 02:35:40 +0000 (02:35 +0000)]
Update TODO list.
Tatsuo Ishii [Sun, 29 Apr 2001 07:27:38 +0000 (07:27 +0000)]
Add missing Unicode support for Cyrillic encodings.
Patches contributed by Victor Wagner.
Bruce Momjian [Sat, 28 Apr 2001 13:59:07 +0000 (13:59 +0000)]
In create_function there is a remark concerning SQL/PSM not
being ratified as yet. This is certainly no longer true, it wasn't
even true in Q2/1998 when I did a little research for Date's book.
SQL/PSM had been published on 1996-12-15 as ISO/IEC 9075:4. So you
might want to update that section.
Frank Wegmann
Bruce Momjian [Fri, 27 Apr 2001 01:31:56 +0000 (01:31 +0000)]
A small patch for a small option (for rel. 7.1).
Jimmy Olgeni
Bruce Momjian [Fri, 27 Apr 2001 00:55:49 +0000 (00:55 +0000)]
Update FAQ.
Bruce Momjian [Fri, 27 Apr 2001 00:22:59 +0000 (00:22 +0000)]
Update FAQ.
Bruce Momjian [Fri, 27 Apr 2001 00:21:44 +0000 (00:21 +0000)]
Update FAQ.
Tom Lane [Thu, 26 Apr 2001 21:52:17 +0000 (21:52 +0000)]
Remove bogus Assert from AbsoluteTimeIsBefore(). (If you don't think
it's bogus, try building a btree index on the regress tests' abstime_tbl.)
Tom Lane [Wed, 25 Apr 2001 22:04:37 +0000 (22:04 +0000)]
Tweak nestloop costing to weight restart cost of inner path more heavily.
Without this, it was making some pretty silly decisions about whether an
expensive sub-SELECT should be the inner or outer side of a join...
Bruce Momjian [Wed, 25 Apr 2001 17:49:29 +0000 (17:49 +0000)]
Update TODO list.
Philip Warner [Wed, 25 Apr 2001 07:03:20 +0000 (07:03 +0000)]
- Fixed CONSTRAINT TRIGGER dump to record tgconstrelid properly
- pgsql v7.0 compatbility
Peter Eisentraut [Tue, 24 Apr 2001 20:05:02 +0000 (20:05 +0000)]
typological errors
Tom Lane [Tue, 24 Apr 2001 00:08:38 +0000 (00:08 +0000)]
Undo pgindent brain damage, so that node type numbers can once again be
counted off by lines ...
Tom Lane [Mon, 23 Apr 2001 23:36:33 +0000 (23:36 +0000)]
Behave sanely when database name is omitted from command line.
Peter Eisentraut [Mon, 23 Apr 2001 20:27:55 +0000 (20:27 +0000)]
Send 'cd' output to /dev/null.
Tom Lane [Mon, 23 Apr 2001 15:14:58 +0000 (15:14 +0000)]
Defend against ancient versions of zlib by checking that zlib.h
defines z_streamp.
Tom Lane [Mon, 23 Apr 2001 04:32:30 +0000 (04:32 +0000)]
compatible_oper needs to do ReleaseSysCache in one path to avoid
complaints about 'Cache reference leak'. Per report from Don Baccus.
Hiroshi Inoue [Mon, 23 Apr 2001 01:41:06 +0000 (01:41 +0000)]
1) Decrease the size of needlessly large buffers. For example, it
resolved the stack over flow errors reported by Johann Zuschlag.
2) Support {oj syntax for 71. servers.
Hiroshi Inoue [Mon, 23 Apr 2001 01:00:49 +0000 (01:00 +0000)]
A patch to fix the following bugs.
1) [ODBC] Psqlodbc and Centura: here it is a patch
posted by Matteo Cavalleli
2) [ODBC] pgsqODBC binding parameters II
posted by Ludek Finstrle
3) Invalid Page Fault in PSQLODBC.DLL
personal mail from Johann Zuschlag
Hiroki Kataoka kataoka@interwiz.koganei.tokyo.jp
Tom Lane [Sun, 22 Apr 2001 21:34:13 +0000 (21:34 +0000)]
Don't bomb out on indexes on system attributes other than 'oid'.
(Not sure such an index is actually useful, but just because it's
useless doesn't mean pg_dump should coredump.)
Tom Lane [Sat, 21 Apr 2001 18:29:29 +0000 (18:29 +0000)]
Remove useless setuid() call, instead add a check that real and effective
userids are the same. Per today's pghackers discussion.
Peter Eisentraut [Sat, 21 Apr 2001 11:23:58 +0000 (11:23 +0000)]
Make sure that the postmaster options (from postopts[.default] or
-o option) are properly dequoted. Also, always pass an explicit -D option
to postmaster, don't rely on it being set in postmaster.opts.
Thomas G. Lockhart [Fri, 20 Apr 2001 15:52:33 +0000 (15:52 +0000)]
Final markup for 7.1 hardcopy release. Mostly typo and table-fitting
adjustments. Note that many tables are being abused with *really* long
description columns. Should probably shrink those columns to be more
concise, and move some of the info to follow-on reference notes.
Thomas G. Lockhart [Fri, 20 Apr 2001 15:50:25 +0000 (15:50 +0000)]
Add option --refentry to change \keepn (keep with next paragraph) to
\keep (keep current paragraph together). This fixes most troubles with
reference pages marked up with <refentry> tags.
Use on reference.rtf, generated by "make reference.rtf".
Peter Eisentraut [Thu, 19 Apr 2001 20:27:47 +0000 (20:27 +0000)]
Remove libsfio check.
Peter Eisentraut [Thu, 19 Apr 2001 19:17:44 +0000 (19:17 +0000)]
Pass -D option to pg_ctl because export PGDATA won't be preserved across
'su -l'.
Reported by <VASQUEZ_JASON@LILLY.COM>.
Peter Eisentraut [Thu, 19 Apr 2001 19:09:23 +0000 (19:09 +0000)]
Add extern int optreset declaration, per bug report from <info@decc.nl>.
Peter Eisentraut [Thu, 19 Apr 2001 19:01:23 +0000 (19:01 +0000)]
Fix "off by VARHDRSZ" bug in (Cyrillic) recode support.
Bruce Momjian [Thu, 19 Apr 2001 15:22:29 +0000 (15:22 +0000)]
Update TODO list.
Tom Lane [Thu, 19 Apr 2001 04:29:02 +0000 (04:29 +0000)]
Kluge solution for Alex Pilosov's report of problems with whole-tuple
function arguments in join queries: copy the tuples into
TransactionCommandContext so they don't get recycled too soon. This is
horrid, but not any worse than 7.0 or before, which also leaked such
tuples until end of query. A proper fix will require allowing tuple
datums to be physically stored inside larger tuple datums, which opens
up a bunch of issues that can't realistically be solved for 7.1.1.
Tatsuo Ishii [Thu, 19 Apr 2001 02:34:35 +0000 (02:34 +0000)]
Add a crash gurard to pg_encoding_mblen in case of an invalid encoding
given.
Tom Lane [Wed, 18 Apr 2001 22:25:31 +0000 (22:25 +0000)]
Further tweaking of error messages for cases involving attributes &
functions of join or subselect aliases. It'd be awfully nice if this
code knew for sure whether it was dealing with 'x.f' or 'f(x)' syntax;
maybe we can fix that in a future cycle.
Peter Eisentraut [Wed, 18 Apr 2001 20:53:08 +0000 (20:53 +0000)]
Repair misbehavior of \! with immediately following argument that contains
spaces (e.g., '\!ls -l'). Also correct a comment.
Tom Lane [Wed, 18 Apr 2001 20:42:56 +0000 (20:42 +0000)]
Make the world safe for passing whole rows of views to functions. This
already worked fine for whole rows of tables, but not so well for views...
Bruce Momjian [Wed, 18 Apr 2001 17:52:12 +0000 (17:52 +0000)]
Update TODO list.
Tom Lane [Wed, 18 Apr 2001 17:04:24 +0000 (17:04 +0000)]
Make rule lister do the right thing with Vars representing whole tuples.
Bruce Momjian [Tue, 17 Apr 2001 14:17:47 +0000 (14:17 +0000)]
Update TODO list.
Hiroshi Inoue [Tue, 17 Apr 2001 07:30:53 +0000 (07:30 +0000)]
The renewal of README thanks to Dave Page.
Tom Lane [Tue, 17 Apr 2001 00:32:58 +0000 (00:32 +0000)]
Add some defenses to guard against case where a rule refers to a table
or view that's been dropped and then recreated with the same name (but,
perhaps, different columns). Eventually we'd like to support this but
for now all we can do is fail cleanly, rather than possibly coredumping
if we proceed using the obsolete rule.
Tom Lane [Mon, 16 Apr 2001 19:44:10 +0000 (19:44 +0000)]
Avoid reversing user-given order of WHERE clauses while attaching clauses
to specific base or join RelOptInfo nodes during planning. This preserves
the more-intuitive behavior of 7.0.* --- if you write an expensive clause
(such as a sub-select) last, it should get evaluated last. Someday we
ought to try to have some intelligence about the order of evaluation of
WHERE clauses, but for now we should not override what the user wrote.
Tatsuo Ishii [Mon, 16 Apr 2001 06:10:19 +0000 (06:10 +0000)]
Correction for mathematical properties in Unicode converison maps.
Patches contributed by Eiji Tokuya (e-tokuya@sankyo-unyu.co.jp)
Bruce Momjian [Mon, 16 Apr 2001 04:20:36 +0000 (04:20 +0000)]
Update Japanese FAQ's.
Bruce Momjian [Mon, 16 Apr 2001 04:11:54 +0000 (04:11 +0000)]
Add new item.
Tom Lane [Mon, 16 Apr 2001 02:42:01 +0000 (02:42 +0000)]
getdatabaseencoding() and PG_encoding_to_char() were being sloppy about
converting char* strings to type 'name'. Imagine my surprise when 7.1
release coredumped upon start when compiled --enable-multibyte ...
Tom Lane [Mon, 16 Apr 2001 01:46:57 +0000 (01:46 +0000)]
Remove error report from pq_endmessage when pq_putmessage fails. The
only possible failure is in pq_flush, which will log a (better!) report
anyway --- so pq_endmessage is just cluttering the log with a redundant
entry. This matters when a client crashes partway through a large query,
since we will emit many broken-pipe reports before finishing the query
and exiting.
Bruce Momjian [Mon, 16 Apr 2001 01:36:50 +0000 (01:36 +0000)]
Update TODO list.
Tom Lane [Sun, 15 Apr 2001 03:25:07 +0000 (03:25 +0000)]
Add LDFLAGS_SL to AIX shlib building command, per report from
Rocco Altier <roccoa@routescape.com>.