OSDN Git Service
Bruce Momjian [Wed, 9 May 2001 19:42:26 +0000 (19:42 +0000)]
autoconf
Bruce Momjian [Wed, 9 May 2001 19:41:57 +0000 (19:41 +0000)]
Change --with-pltcl-unknown to --enable-pltcl-unknown
Bruce Momjian [Wed, 9 May 2001 19:28:31 +0000 (19:28 +0000)]
Noticed a small bug in the code. Probably been there for some time. Note
that the original code would consider things like UNIX domain sockets are
regular files.
Gavin Sherry
Bruce Momjian [Wed, 9 May 2001 19:21:14 +0000 (19:21 +0000)]
autoconf
Bruce Momjian [Wed, 9 May 2001 19:19:00 +0000 (19:19 +0000)]
This patch adds a new configure option --with-pltcl-unknown which
enables pltcl unknown support.
Also it adds substituting of tclsh with tclsh that was by configure in
pltcl_*mod scripts. For example, On freebsd, tclsh can be called
tclsh8.2 or
tclsh8.3 depending on installed version of Tcl.
After patching files
src/pl/tcl/modules/pltcl_listmod
src/pl/tcl/modules/pltcl_loadmod
src/pl/tcl/modules/pltcl_delmod
must be renamed(copied,repocopied) to
src/pl/tcl/modules/pltcl_listmod.in
src/pl/tcl/modules/pltcl_loadmod.in
src/pl/tcl/modules/pltcl_delmod.in
seva@sevasoft.kiev.ua
Bruce Momjian [Wed, 9 May 2001 17:57:42 +0000 (17:57 +0000)]
Right-align \du user-id.
Bruce Momjian [Wed, 9 May 2001 17:49:42 +0000 (17:49 +0000)]
Fix memory leak in new psql \du code.
Bruce Momjian [Wed, 9 May 2001 17:46:11 +0000 (17:46 +0000)]
Fix libpq++'s FieldSize to return int, not short.
Bruce Momjian [Wed, 9 May 2001 17:37:17 +0000 (17:37 +0000)]
Add mention of getLength returning short.
Bruce Momjian [Wed, 9 May 2001 17:29:10 +0000 (17:29 +0000)]
Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm
still looking at the best way to integrate Tom Vijlbrief's fixes
(insofar as they're still needed); would 7.2 be a suitable time for
incompatible API changes?
Jeroen
Changes:
(*) Introduced bool, true, false (replacing some int, 1, 0)
(*) Made some member functions const
(*) Documented GetIsNull()
(*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
portability problem (assumed that NULL pointer equals all-zero bit pattern)
(*) PrintTuples(): renamed width parameter to fillAlign to conform with other
usage; fixed memory leak and compile issue w.r.t. field separator (should
also slightly improve performance)
(*) Fixed some minor compilation issues
(*) Moved "using namespace std;" out of headers, where they didn't belong; used
new (temporary) preprocessor macro PGSTD to do this
(*) Made ToString() static, removed unneeded memset(), made buffer size adapt
to sizeof(int)
(*) Made some constructors explicit
(*) Changed some const std::string & parameters to plain std::string
(*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
as getter--bad style)
(*) Renamed some paramaters previously named "string"
(*) Introduced size_type typedef for number of tuples in result set
(*) PgTransaction now supports re-opening after closing, and aborts if not
explicitly committed prior to destruction
J. T. Vermeulen
Peter Eisentraut [Wed, 9 May 2001 16:50:44 +0000 (16:50 +0000)]
Use ColId instead of Ident for SET SESSION AUTHORIZATION.
Bruce Momjian [Wed, 9 May 2001 15:51:37 +0000 (15:51 +0000)]
Mention new jdbc mailing list instead of interfaces list.
Bruce Momjian [Wed, 9 May 2001 13:27:15 +0000 (13:27 +0000)]
If it's true that the ALTER TABLE x ADD CONSTRAINT x CHECK (x) syntax is
supported in 7.1.1, here is a patch to that alter_table.sgml that documents
it.
Christopher Kings-Lynne
Tom Lane [Wed, 9 May 2001 00:35:09 +0000 (00:35 +0000)]
Cause planner to make use of average-column-width statistic that is now
collected by ANALYZE. Also, add some modest amount of intelligence to
guesses that are used for varlena columns in the absence of any ANALYZE
statistics. The 'width' reported by EXPLAIN is finally something less
than totally bogus for varlena columns ... and, in consequence, hashjoin
estimating should be a little better ...
Bruce Momjian [Tue, 8 May 2001 21:09:47 +0000 (21:09 +0000)]
Update runtime shared memory computations.
Peter Eisentraut [Tue, 8 May 2001 21:06:43 +0000 (21:06 +0000)]
Add SET SESSION AUTHORIZATION command.
Bruce Momjian [Tue, 8 May 2001 20:38:00 +0000 (20:38 +0000)]
Mention SHELL usage in initdb.
Tom Lane [Tue, 8 May 2001 19:47:02 +0000 (19:47 +0000)]
Append and SubqueryScan nodes were not passing changed-parameter signals down
to their children, leading to misbehavior if they had any children that paid
attention to chgParam (most plan node types don't). Append's bug has been
there a long time, but nobody had noticed because it used to be difficult
to create a query where an Append would be used below the top level of a
plan; so there were never any parameters getting passed down. SubqueryScan
is new in 7.1 ... and I'd modeled its behavior on Append :-(
Peter Eisentraut [Tue, 8 May 2001 19:38:57 +0000 (19:38 +0000)]
Need to factor out strdup.o for separate treatment since it's in a
different directory. This makes dependency tracking work and copes with
compilers that don't suport -c and -o together.
Bruce Momjian [Tue, 8 May 2001 19:28:01 +0000 (19:28 +0000)]
Remove pgadmin.sgml file.
Bruce Momjian [Tue, 8 May 2001 19:21:46 +0000 (19:21 +0000)]
Add new emails to file.
Bruce Momjian [Tue, 8 May 2001 19:14:52 +0000 (19:14 +0000)]
Remove LISP manual reference. Added to web "interfaces" page.
Bruce Momjian [Tue, 8 May 2001 19:01:55 +0000 (19:01 +0000)]
Update TODO list.
Bruce Momjian [Tue, 8 May 2001 19:00:26 +0000 (19:00 +0000)]
Small cleanup.
Bruce Momjian [Tue, 8 May 2001 17:51:30 +0000 (17:51 +0000)]
drop_function.sgml:
===================
In Notes:
Refer to CREATE FUNCTION for information on creating aggregate functions.
^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.
In Compatibility SQL/PSM:
SQL/PSM is a proposed standard.
We had that before: remove proposed.
drop_index.sgml:
================
<REFNAME>: Removes existing indexes from a database
as far as I can see index should be singular. The command description is
written as if only one index can be removed at a time. Interestingly
enough, in v7.0.2 it was in fact singular. Am I mistaken here?
drop_operator.sgml:
===================
In Outputs the arguments are referred to as type and type2, but the synopsis
and Inputs section these are left_type and right_type, respectively. Also,
oper is used in Outputs versus id in Inputs/Synopsis. In the translation I
follow the replaceables used in the Inputs/Synopsis part.
Frank Wegmann
Bruce Momjian [Tue, 8 May 2001 17:35:57 +0000 (17:35 +0000)]
drop_function.sgml:
===================
In Notes:
Refer to CREATE FUNCTION for information on creating aggregate functions.
^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.
Frank Wegmann
Bruce Momjian [Tue, 8 May 2001 17:25:28 +0000 (17:25 +0000)]
Add newlines around debug output in optimizer showing total costs.
Bruce Momjian [Tue, 8 May 2001 17:12:36 +0000 (17:12 +0000)]
Run pgindent on ODBC code only, to reformat new comments.
Bruce Momjian [Tue, 8 May 2001 17:06:18 +0000 (17:06 +0000)]
ODBC source code cleanup patch. Should match rest of PostgreSQL code better.
Bruce Momjian [Tue, 8 May 2001 16:28:46 +0000 (16:28 +0000)]
Allow SHELL in Makefile.* to control initdb.
Bruce Momjian [Tue, 8 May 2001 15:52:02 +0000 (15:52 +0000)]
Update readme about user registration.
Bruce Momjian [Tue, 8 May 2001 15:29:14 +0000 (15:29 +0000)]
Fix paren typo in java.
Tom Lane [Tue, 8 May 2001 02:53:24 +0000 (02:53 +0000)]
Further cleanup of RAISE discussion; in particular, remove example
that doesn't actually work.
Bruce Momjian [Tue, 8 May 2001 02:26:09 +0000 (02:26 +0000)]
Fix raise mention that %% output as %.
Tom Lane [Tue, 8 May 2001 01:00:53 +0000 (01:00 +0000)]
Un-break exec_move_row() for case that a NULL tuple and tupdesc are
passed, which occurs when no rows are retrieved by a SELECT.
Mea maxima culpa ... I should have caught this.
Bruce Momjian [Tue, 8 May 2001 00:30:41 +0000 (00:30 +0000)]
Update RAISE manual concerning % format symbols.
Bruce Momjian [Tue, 8 May 2001 00:19:19 +0000 (00:19 +0000)]
Update TODO list.
Bruce Momjian [Tue, 8 May 2001 00:14:15 +0000 (00:14 +0000)]
Update TODO list.
Bruce Momjian [Tue, 8 May 2001 00:09:22 +0000 (00:09 +0000)]
Update RAISE mention in manual to take string/variable not format/identifier.
Bruce Momjian [Mon, 7 May 2001 23:32:55 +0000 (23:32 +0000)]
Fix comment in file about 2*max_connections.
Peter Eisentraut [Mon, 7 May 2001 20:43:28 +0000 (20:43 +0000)]
Shared library and GCC support for SCO OpenServer.
Bruce Momjian [Mon, 7 May 2001 19:58:31 +0000 (19:58 +0000)]
Add mention of functional indexes for case-insensitive comparisons.
Peter Eisentraut [Mon, 7 May 2001 19:57:24 +0000 (19:57 +0000)]
Fix remaining RI permission problems (cascaded update/delete, restrict,
set null/default).
Peter Eisentraut [Mon, 7 May 2001 19:31:33 +0000 (19:31 +0000)]
Add \cd command to psql.
Bruce Momjian [Mon, 7 May 2001 18:40:59 +0000 (18:40 +0000)]
Update TODO list.
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.