Commit 5cf1b4b6 authored by Bruce Momjian's avatar Bruce Momjian

Remove ChangeLog. No one has defended its existence, and a few people

want it removed.
parent 1392cbd0
2001-05-04 22:57 momjian
* HISTORY, register.txt, doc/src/sgml/release.sgml: UPdate for
release tomorrow.
2001-05-04 19:11 tgl
* doc/src/sgml/runtime.sgml: COMMIT_DELAY and COMMIT_SIBLINGS were
missing from the list of WAL configuration parameters in chapter 3.
2001-05-04 18:01 tgl
* src/backend/parser/Makefile: Makefile should have automatic
dependency for parser.o too, if it's going to have any at all.
2001-05-04 14:39 tgl
* src/backend/access/transam/xact.c: 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-03 22:54 momjian
* doc/src/sgml/runtime.sgml: Add missing tag.
2001-05-03 18:53 tgl
* src/: backend/utils/adt/datetime.c,
backend/utils/adt/formatting.c, backend/utils/adt/timestamp.c,
include/utils/datetime.h: 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 17:38 momjian
* doc/src/sgml/charset.sgml,
src/backend/utils/mb/Unicode/KOI8_to_utf8.map,
src/backend/utils/mb/Unicode/utf8_to_KOI8.map,
src/include/mb/pg_wchar.h, src/interfaces/odbc/multibyte.h: 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 17:16 tgl
* src/backend/rewrite/rewriteDefine.c: Permission checking wasn't
quite right for insert/update/delete rules, either :-(.
2001-05-03 16:39 momjian
* HISTORY, doc/src/sgml/release.sgml: pg_dump can dump 7.0
databases.
2001-05-03 15:20 momjian
* src/test/locale/test-ctype.c: apply a little patch:
Oleg Bartunov
2001-05-03 15:00 tgl
* src/: backend/access/nbtree/nbtcompare.c,
backend/utils/adt/date.c, backend/utils/adt/float.c,
backend/utils/adt/nabstime.c, backend/utils/adt/numeric.c,
backend/utils/adt/timestamp.c, backend/utils/adt/varbit.c,
backend/utils/adt/varchar.c, backend/utils/adt/varlena.c,
include/utils/nabstime.h,
test/regress/expected/abstime-solaris-1947.out,
test/regress/expected/abstime.out,
test/regress/expected/timestamp.out: 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 13:50 tgl
* doc/src/sgml/ref/create_table.sgml: Describe handling of
multiply-inherited fields correctly.
2001-05-03 13:47 tgl
* src/backend/rewrite/rewriteHandler.c: Permissions were not
checked correctly when one view invokes another. Per bug report
from Lieven Van Acker, 5/2/01.
2001-05-03 13:28 momjian
* doc/src/sgml/runtime.sgml: Update shared memory docs.
2001-05-03 13:20 momjian
* src/tools/RELEASE_CHANGES: Improve list.
2001-05-03 13:17 momjian
* HISTORY, doc/src/sgml/release.sgml: Final stamp for 7.1.1. All
done.
2001-05-03 12:47 momjian
* src/: include/config.h.win32, interfaces/libpq/libpq.rc,
tools/RELEASE_CHANGES: Updates for 7.1.1. Not done yet.
2001-05-03 12:43 momjian
* configure: autoconf
2001-05-03 12:26 momjian
* HISTORY, README, configure.in, register.txt, doc/bug.template,
doc/src/sgml/release.sgml: Some updates for 7.1.1.
2001-05-03 12:18 tgl
* src/include/catalog/pg_type.h: Correct pg_description entry for
type macaddr.
2001-05-03 12:07 tgl
* src/: interfaces/ecpg/include/sqlca.h,
interfaces/ecpg/test/Makefile, makefiles/Makefile.win: Fixes to
make ecpg work on Cygwin, from Jason Tishler
<Jason.Tishler@dothill.com>.
2001-05-03 08:32 darcy
* contrib/chkpass/: Makefile, README.chkpass, chkpass.c,
chkpass.sql: Initial checkin of a contributed type that handles
passwords efficiently.
2001-05-02 16:35 momjian
* doc/src/sgml/ref/drop_aggregate.sgml: 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 13:04 momjian
* doc/src/sgml/runtime.sgml: Added mention of SHMALL and removed
BSD/OS-specific table.
2001-05-02 10:46 momjian
* doc/src/sgml/ref/createuser.sgml: 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 10:23 tgl
* src/interfaces/odbc/win32.mak: 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 07:21 darcy
* src/interfaces/python/README: Add note explaining why inserts
take longer as tables grow. Also suggest the way to handle this.
2001-05-02 07:17 darcy
* src/interfaces/python/pgmodule.c: 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-01 06:50 petere
* doc/src/sgml/version.sgml: Bump version to 7.1.1. Now run over
to hub to rebuild documentation before release...
2001-05-01 06:48 petere
* doc/src/sgml/: libpq++.sgml, libpq.sgml: More markup fixes
2001-04-30 23:00 tgl
* doc/src/sgml/runtime.sgml: Fix slightly confused description of
debug options.
2001-04-30 22:33 tgl
* src/interfaces/ecpg/preproc/preproc.y: Synced gram.y and
preproc.y.
2001-04-30 21:36 thomas
* src/backend/parser/gram.y: 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-04-30 20:47 inoue
* src/interfaces/odbc/: parse.c, psqlodbc.h, psqlodbc.rc,
qresult.c: 1) fix bugs reported by Andrea Aime. 2) fix a bug
reported by Jan Wieck. psqlodbc is 7.01.0005 now.
2001-04-30 19:55 tgl
* doc/FAQ_HPUX: Update FAQ_HPUX now that we have reports of
out-of-the-box build on HPUX 11.
2001-04-30 18:22 tgl
* doc/src/sgml/pltcl.sgml: Document pltcl's return_null command.
2001-04-30 18:21 tgl
* doc/src/sgml/: libpq++.sgml, libpq.sgml: Repair freshly-broken
markup.
2001-04-30 16:05 tgl
* src/pl/plpgsql/src/pl_exec.c: 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 15:24 tgl
* src/backend/optimizer/plan/planner.c: 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 13:38 momjian
* doc/src/sgml/: libpq++.sgml, libpq.sgml: Break up PQexec() result
functions into subsections to be clearer. Both libpq and libpq++
reorganized.
2001-04-30 00:26 momjian
* doc/src/sgml/: libpgtcl.sgml, libpq++.sgml: Add mention of
libpgtcl's options to manual, libpq++ markup fixes.
2001-04-29 03:27 ishii
* src/backend/utils/mb/: conv.c, Unicode/ALT_to_utf8.map,
Unicode/KOI8_to_utf8.map, Unicode/Makefile,
Unicode/UCS_to_cyrillic.pl, Unicode/WIN_to_utf8.map,
Unicode/utf8_to_ALT.map, Unicode/utf8_to_KOI8.map,
Unicode/utf8_to_WIN.map: Add missing Unicode support for Cyrillic
encodings. Patches contributed by Victor Wagner.
2001-04-28 09:59 momjian
* doc/src/sgml/ref/: create_function.sgml, drop_function.sgml: 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
2001-04-26 21:31 momjian
* doc/src/sgml/ref/pg_ctl-ref.sgml: A small patch for a small
option (for rel. 7.1).
Jimmy Olgeni
2001-04-26 20:55 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-04-26 20:21 momjian
* doc/: FAQ, src/FAQ/FAQ.html, FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-04-26 17:52 tgl
* src/backend/utils/adt/nabstime.c: Remove bogus Assert from
AbsoluteTimeIsBefore(). (If you don't think it's bogus, try
building a btree index on the regress tests' abstime_tbl.)
2001-04-25 18:04 tgl
* src/backend/optimizer/path/costsize.c: 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...
2001-04-25 03:03 pjw
* src/bin/pg_dump/: pg_backup.h, pg_backup_archiver.c,
pg_backup_archiver.h, pg_backup_custom.c, pg_backup_db.c,
pg_backup_tar.c, pg_dump.c, pg_dump.h: - Fixed CONSTRAINT TRIGGER
dump to record tgconstrelid properly - pgsql v7.0 compatbility
2001-04-24 16:05 petere
* doc/FAQ_MSWIN: typological errors
2001-04-23 20:08 tgl
* src/include/nodes/nodes.h: Undo pgindent brain damage, so that
node type numbers can once again be counted off by lines ...
2001-04-23 19:36 tgl
* src/bin/pg_dump/pg_dump.c: Behave sanely when database name is
omitted from command line.
2001-04-23 16:27 petere
* src/backend/Makefile: Send 'cd' output to /dev/null.
2001-04-23 11:14 tgl
* configure, configure.in: Defend against ancient versions of zlib
by checking that zlib.h defines z_streamp.
2001-04-23 00:32 tgl
* src/backend/parser/parse_oper.c: compatible_oper needs to do
ReleaseSysCache in one path to avoid complaints about 'Cache
reference leak'. Per report from Don Baccus.
2001-04-22 21:41 inoue
* src/interfaces/odbc/: columninfo.c, connection.c, convert.c,
execute.c, qresult.c: 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.
2001-04-22 21:00 inoue
* src/interfaces/odbc/: bind.c, convert.c, execute.c, pgtypes.c,
pgtypes.h, statement.c, statement.h: 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
2001-04-22 17:34 tgl
* src/bin/pg_dump/pg_dump.c: 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.)
2001-04-21 14:29 tgl
* src/backend/: main/main.c, utils/init/findbe.c,
utils/init/postinit.c: Remove useless setuid() call, instead add a
check that real and effective userids are the same. Per today's
pghackers discussion.
2001-04-21 07:23 petere
* src/bin/pg_ctl/pg_ctl.sh: Make sure that the postmaster options
(from postmaster.opts[.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.
2001-04-20 11:52 thomas
* doc/src/sgml/: Makefile, biblio.sgml, catalogs.sgml,
charset.sgml, docguide.sgml, func.sgml, geqo.sgml, libpgeasy.sgml,
mvcc.sgml, user-manag.sgml: 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.
2001-04-20 11:50 thomas
* doc/src/sgml/fixrtf: 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".
2001-04-19 16:27 petere
* configure, configure.in: Remove libsfio check.
2001-04-19 15:17 petere
* contrib/start-scripts/: freebsd, linux: Pass -D option to pg_ctl
because export PGDATA won't be preserved across 'su -l'.
Reported by <VASQUEZ_JASON@LILLY.COM>.
2001-04-19 15:09 petere
* src/backend/postmaster/postmaster.c: Add extern int optreset
declaration, per bug report from <info@decc.nl>.
2001-04-19 15:01 petere
* src/backend/utils/adt/varchar.c: Fix "off by VARHDRSZ" bug in
(Cyrillic) recode support.
2001-04-19 00:29 tgl
* src/backend/executor/execQual.c: 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.
2001-04-18 22:34 ishii
* src/backend/utils/mb/wchar.c: Add a crash gurard to
pg_encoding_mblen in case of an invalid encoding given.
2001-04-18 18:25 tgl
* src/backend/parser/parse_func.c: 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.
2001-04-18 16:53 petere
* src/bin/psql/command.c: Repair misbehavior of \! with immediately
following argument that contains spaces (e.g., '\!ls -l'). Also
correct a comment.
2001-04-18 16:42 tgl
* src/: backend/optimizer/plan/planner.c,
backend/optimizer/util/var.c, backend/rewrite/rewriteManip.c,
include/optimizer/var.h, pl/plpgsql/src/gram.y,
pl/plpgsql/src/pl_comp.c, pl/plpgsql/src/scan.l: 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...
2001-04-18 13:04 tgl
* src/backend/: parser/parse_relation.c, utils/adt/ruleutils.c:
Make rule lister do the right thing with Vars representing whole
tuples.
2001-04-17 03:30 inoue
* src/interfaces/odbc/readme.txt: The renewal of README thanks to
Dave Page.
2001-04-16 20:32 tgl
* src/backend/rewrite/rewriteHandler.c: 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.
2001-04-16 15:44 tgl
* src/backend/optimizer/plan/initsplan.c: 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.
2001-04-16 02:10 ishii
* src/backend/utils/mb/Unicode/: UCS_to_BIG5.pl, UCS_to_EUC_CN.pl,
UCS_to_EUC_JP.pl, UCS_to_EUC_KR.pl, UCS_to_EUC_TW.pl,
UCS_to_SJIS.pl, big5_to_utf8.map, euc_cn_to_utf8.map,
euc_jp_to_utf8.map, euc_kr_to_utf8.map, euc_tw_to_utf8.map,
sjis_to_utf8.map, utf8_to_big5.map, utf8_to_euc_cn.map,
utf8_to_euc_jp.map, utf8_to_euc_kr.map, utf8_to_euc_tw.map,
utf8_to_sjis.map: Correction for mathematical properties in Unicode
converison maps. Patches contributed by Eiji Tokuya
(e-tokuya@sankyo-unyu.co.jp)
2001-04-16 00:20 momjian
* doc/: FAQ_japanese, src/FAQ/FAQ_japanese.html: Update Japanese
FAQ's.
2001-04-15 22:42 tgl
* src/backend/utils/: init/miscinit.c, mb/common.c, mb/mbutils.c:
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 ...
2001-04-15 21:46 tgl
* src/backend/libpq/pqformat.c: 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.
2001-04-14 23:25 tgl
* src/Makefile.shlib: Add LDFLAGS_SL to AIX shlib building command,
per report from Rocco Altier <roccoa@routescape.com>.
2001-04-14 23:14 tgl
* src/backend/utils/adt/ruleutils.c: Constant expressions that
appear in ORDER BY, GROUP BY, DISTINCT ON lists should be
reverse-compiled into targetlist index numbers, because that's the
only interpretation the parser allows for a constant in these
clauses. (Ergo, the only way they could have gotten into the list
in the first place is to have come from the targetlist; so this
should always work.) Per problem report from Peter E.
2001-04-14 20:48 tgl
* src/backend/optimizer/path/joinpath.c: Prevent generation of
invalid plans for RIGHT or FULL joins with multiple join clauses.
The mergejoin executor wants all the join clauses to appear as
merge quals, not as extra joinquals, for these kinds of joins. But
the planner would consider plans in which partially-sorted input
paths were used, leading to only some of the join clauses becoming
merge quals. This is fine for inner/left joins, not fine for
right/full joins.
2001-04-14 20:43 petere
* src/bin/psql/common.c: If the password prompt goes to stderr,
then the trailing newline should also go there.
2001-04-14 18:55 petere
* configure, configure.in, src/bin/psql/tab-complete.c,
src/include/config.h.in: Work with Readline 4.2.
2001-04-14 15:11 momjian
* src/backend/tcop/postgres.c: Add debug_query_string global
variable for pgmonitor and debugging use.
2001-04-14 09:11 pjw
* src/bin/pg_dump/: pg_backup_archiver.c, pg_backup_archiver.h,
pg_backup_tar.c, pg_dump.c, pg_dump.h: - Get view OID based on rule
OID not base table OID - Fix crash due to null string pointer in
some tar files with some libs
2001-04-13 22:10 tgl
* src/backend/utils/adt/numeric.c: Another try at making numeric
MODULO operator produce the right answer. Although it was now
using the right equation, it was making bogus choices of the
precision to compute intermediate results to. I'm not sure this is
really right even yet, but it's better than before ...
2001-04-13 19:32 tgl
* src/include/storage/s_lock.h: Suppress compiler warnings in Vax
and NS32K assembly code: 'register foo' is not a complete
declaration.
2001-04-13 17:21 scrappy
* configure, configure.in, ChangeLogs/ChangeLog-7.1rc4-7.1:
tag the source tree as REL7_1, renaming the old tag REL7_1_BETA
like it should have been done
generate a new Changelog from rc4, which is nice and short ... one
python interface change
tag configure as 7.1, for generating the packages ...
This is it folks ... Release 7.1 is officially here ...
2001-04-13 14:38 momjian
* HISTORY: Remove as-of from HISTORY file.
2001-04-12 05:49 darcy
* src/interfaces/python/pgdb.py: I just noticed the beta comment.
That's not actually true any more so I removed it.
2001-04-01 00:42 pjw
* src/bin/pg_dump/: pg_backup.h, pg_backup_archiver.c,
pg_backup_archiver.h, pg_backup_custom.c, pg_backup_files.c,
pg_backup_tar.c, pg_dump.c: Patch to put rudimentary dependency
support into pg_dump. This addresses the UDT/function order
problem.
- Rudimentary support for dependencies in archives.
Uses dependencies to modify the OID used in sorting TOC
entries. This will NOT handle multi-level dependencies,
but will manage simple relationships like UDTs & their
functions.
- Treat OIDs with more respect (avoid using ints, use macros
for conversion & comparison).
2001-03-31 18:14 tgl
* src/interfaces/libpq/fe-connect.c: On Cygwin, do initial
connect() call in blocking mode, per report from Jason Tishler.
2001-03-31 18:13 tgl
* src/interfaces/libpq/fe-misc.c: pqWait() should check for
exception status as well as read or write ready. It appears that
most (all?) Unixen will consider a socket to be read or write ready
if it has an error condition, but of course Microsoft does things
differently.
2001-03-30 15:50 tgl
* src/: backend/commands/creatinh.c,
test/regress/expected/create_table.out,
test/regress/expected/inherit.out: Re-allow specification of a new
default value for an inherited column in CREATE TABLE, but give a
warning notice. Clean up inconsistent handling of defaults and NOT
NULL flags from multiply-inherited columns. Per pghackers
discussion 28-Mar through 30-Mar.
2001-03-30 07:08 darcy
* src/interfaces/python/pgdb.py: Marc-Andre is changing where
DateTime goes. This change allows the module to work either way.
Change submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
2001-03-30 07:04 darcy
* src/interfaces/python/pgdb.py: Correct indenting in _quote()
function. Fix submitted by Andrew Kuchling
<akuchlin@mems-exchange.org>
2001-03-30 00:25 tgl
* src/include/storage/itemptr.h: Add appropriately ifdef'd hack to
make ARM compiler allocate ItemPointerData as six bytes not eight.
This fixes a regression test failure but more importantly avoids
wasting four bytes of pad space in every tuple header. Also add
some commentary about what's going on.
2001-03-29 23:50 tgl
* src/bin/psql/tab-complete.c: random_seed => seed ...
2001-03-29 17:09 momjian
* src/bin/pgaccess/lib/languages/chinese_big5: Put proper pgaccess
Chinese big5 file in place.
2001-03-29 14:03 petere
* src/backend/commands/variable.c: Rename 'random_seed' back to
'seed'.
2001-03-29 13:25 petere
* doc/src/sgml/manage-ag.sgml: small fixes
2001-03-29 04:58 meskes
* src/interfaces/ecpg/: ChangeLog, include/ecpgtype.h: Applied bug
fix by Adriaan Joubert <a.joubert@albourne.com>
2001-03-28 15:46 tgl
* doc/src/sgml/mvcc.sgml: Correct erroneous description of MVCC
Read Committed semantics.
2001-03-27 13:02 tgl
* src/backend/optimizer/prep/prepunion.c: Quick hack to fix Oliver
Elphick's problem with subselects in an inheritance query: make
duplicate copies of subplans in adjust_inherited_attrs. When we
redesign querytrees we really gotta do something about this issue
of whether querytrees are read-only and can share substructure or
not.
2001-03-27 12:12 tgl
* src/backend/optimizer/util/clauses.c: Repair pgindent damage to
comments.
2001-03-27 11:34 momjian
* doc/src/Makefile: > Kinda looks like Ian broke the
compile-in-source-dir case while
> making the compile-in-separate-dir case work. Tut tut.
Yes. My apologies. This patch is one way to fix things.
Ian
2001-03-27 09:56 momjian
* doc/FAQ_AIX, src/Makefile.shlib,
src/backend/port/aix/mkldexport.sh: The following patch updates the
FAQ_AIX and makes C++ code work with more recent versions of the
IBM C++ compiler (now called VisualAge C++). The C++ part was
previously broken (g++ and xlC), thus this is zero risk. Only AIX
specific parts are touched (1 Makefile.shlib line (link with
$(COMPILER ) instead of $(CC) and one shell script line (parameter
-C to nm to not demangle C++ symbo ls for .exp file)).
I thus ask you to please apply this patch before release.
With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake
check" for both the native compiler vac.C 5.0.1 and gcc 2.95.2 :-)
Andreas
2001-03-27 05:53 darcy
* src/interfaces/python/setup.py: Add changes from Mikhail Terekhov
<terekhov@emc.com>.
Use Extension method from distutils.
Cleaned up mismatched indentation styles while I was at it.
2001-03-27 00:45 ishii
* src/bin/: initdb/initdb.sh, scripts/createdb: Add checking for
valid database encoding.
2001-03-26 23:00 momjian
* src/interfaces/odbc/: bind.c, bind.h, columninfo.c, columninfo.h,
connection.c, connection.h, convert.c, convert.h, dlg_specific.c,
dlg_specific.h, drvconn.c, environ.c, environ.h, execute.c, gpps.c,
gpps.h, info.c, iodbc.h, isql.h, isqlext.h, lobj.c, lobj.h, misc.c,
misc.h, multibyte.c, multibyte.h, options.c, parse.c, pgtypes.c,
pgtypes.h, psqlodbc.c, psqlodbc.h, qresult.c, qresult.h, results.c,
setup.c, socket.c, socket.h, statement.c, statement.h, tuple.c,
tuple.h, tuplelist.c, tuplelist.h: ODBC source code cleanup.
Mostly alignment of #define constants.
2001-03-26 20:16 tgl
* src/backend/storage/buffer/s_lock.c: Spell __volatile__
correctly.
2001-03-26 12:51 momjian
* src/test/regress/resultmap: OpenBSD resultmap change:
I posted this to the list a few days ago, but it was not
addressed. Can someone please make the changes to the
src/test/regress/resultmap?
Thanks.
- brandon
2001-03-26 12:00 momjian
* src/backend/tcop/postgres.c: Add period to message.
2001-03-26 11:59 momjian
* src/backend/tcop/postgres.c: Change message to _the_
administrator. There is only one administrative account.
This connection has been terminated by the administrator.
2001-03-26 10:21 tgl
* src/include/config.h.win32: Add #define HAVE_ATEXIT, per report
from Magnus.
2001-03-26 10:18 tgl
* src/bin/psql/mainloop.c: pqsignal call needs to be #ifndef WIN32,
per report from Magnus.
2001-03-26 04:34 inoue
* src/interfaces/odbc/GNUmakefile: Add multibyte support
2001-03-26 03:32 ishii
* doc/README.mb.jp: Fix typo
2001-03-25 18:23 tgl
* src/backend/: access/heap/heapam.c, commands/vacuum.c,
storage/large_object/inv_api.c, utils/mb/wstrncmp.c: Fix unportable
assumptions about alignment of local char[n] variables.
2001-03-25 17:40 tgl
* src/include/access/htup.h: Improve comments for xlog item size
#defines.
2001-03-25 17:23 darcy
* src/interfaces/python/: Announce, ChangeLog: Update the changes
for version 3.2.
2001-03-25 17:22 darcy
* src/interfaces/python/README: Document the --with-python flag as
a simpler way of installing the PyGreSQL module when installing
PostgreSQL.
Document the location of the WIN32 binaries.
2001-03-25 14:44 petere
* src/interfaces/python/: GNUmakefile, Setup.in.raw: Pick up any
extra -I options for Python build.
2001-03-25 14:30 tgl
* src/interfaces/odbc/socket.c: Fix unportable assumptions about
alignment of local char[n] variables.
2001-03-25 13:14 tgl
* doc/src/sgml/func.sgml: The regexp pattern characters ^ and $
should be explained as matching at the beginning and end of the
input string, not the beginning and end of "a line", since Postgres
does not allow them to match at newline characters in the data.
2001-03-25 12:52 tgl
* src/include/storage/s_lock.h: Re-order declarations to un-break
the non-HAS_TEST_AND_SET case.
2001-03-25 05:16 petere
* doc/src/sgml/pltcl.sgml: spell fix
2001-03-25 03:32 petere
* doc/src/: Makefile, sgml/Makefile: Allow building documentation
outside source tree. from Ian Lance Taylor
2001-03-24 19:45 tgl
* src/backend/access/heap/tuptoaster.c: Fix code that incorrectly
assumed a 'char foo[N]' local variable would be aligned on a word
boundary. Per report from Steve Nicolai.
2001-03-24 18:32 petere
* src/test/regress/pg_regress.sh: Make less misleading message for
failed + ignored tests.
2001-03-24 18:11 tgl
* src/bin/pg_dump/pg_backup_null.c: Portability fix from Steve
Nicolai.
2001-03-24 18:03 petere
* doc/src/sgml/: catalogs.sgml, datatype.sgml, perform.sgml,
protocol.sgml, queries.sgml, sql.sgml, xaggr.sgml, xindex.sgml,
y2k.sgml, ref/psql-ref.sgml, ref/select.sgml: minor copy editing
2001-03-24 08:21 petere
* doc/src/sgml/reference.sgml, src/bin/pg_dump/Makefile: Disable
pg_upgrade.
2001-03-24 01:17 tgl
* src/makefiles/Makefile.hpux: Hadn't built on a PARISC 1.1 box in
a long time ... but when I did, it turned out that the libpq
makefile chokes on '-L /lib/pa1.1'. Need to remove the space so
filter rule works.
2001-03-23 22:40 tgl
* doc/src/sgml/problems.sgml: Update info about mailing lists, make
a few other minor improvements.
2001-03-23 21:36 thomas
* doc/src/sgml/installation.sgml: Update to the current state of
platform support. Still need some tested for the 7.1 release.
2001-03-23 21:35 thomas
* doc/src/sgml/ref/create_type.sgml: Fix up wording slightly. No
change in content.
2001-03-23 19:48 scrappy
* ChangeLogs/ChangeLog-7.1beta6-7.1RC1:
update the ChangeLog in preparation for release ...
2001-04-06 11:52 petere
* INSTALL, doc/src/sgml/installation.sgml: Revert wrong SCO
OpenServer report, update comments and improve formatting a bit.
Regenerate INSTALL.
2001-04-06 11:31 inoue
* src/interfaces/odbc/convert.c: Sorry my previous change was a
mistake.
2001-04-06 11:01 thomas
* doc/src/sgml/fixrtf: Utility to add the stylesheet "s0"
definition to an RTF file. This stylesheet must be present for
Applixware to be happy generating a ToC. M$Word does not seem to
care one way or the other.
2001-04-06 10:35 scrappy
* configure, configure.in, ChangeLogs/ChangeLog-7.1RC2-to-7.1RC3:
mark it as RC3 ...
2001-04-06 05:23 inoue
* src/interfaces/odbc/convert.c: 1) Fit the precision of floating
point to that of server side (fix by Hiroki kataoka). 2) Ensure
the definition of atof()(#include stdlib.h). (suggestion by
Masaaki Sakaida).
2001-04-06 01:52 thomas
* doc/src/sgml/installation.sgml: Final (?) platform update for the
7.1 release. Includes new platform NetBSD/PPC from Henry Hotz,
several other platform updates, and move QNX to the unsupported
list for now.
2001-04-06 01:50 thomas
* src/test/regress/: expected/horology-no-DST-before-1970.out,
expected/horology-solaris-1947.out, expected/horology.out,
sql/horology.sql: Alter the previous test for "time with time zone"
implicit time zone (which failed miserably during DST) to just
compare against a time derived from a timestamp value. Certainly
not a direct check for a correct result, but should work at any
time of year.
2001-04-05 22:06 tgl
* src/pl/plpgsql/src/pl_comp.c: Since plpgsql keeps its compiled
function parsetrees until backend exit, it needs to ensure that
data structures attached to fmgr info records in the trees will
stick around that long, too. Current code was crashing on cases
like datatypes with old-style I/O functions.
2001-04-05 12:55 tgl
* src/backend/access/transam/xlog.c: Fix comment that Vadim found
confusing.
2001-04-05 05:34 vadim
* src/backend/access/transam/xlog.c: StartupXLOG(): initialize
XLogCtl->Insert to new page if there is no room for a record on
last log page.
2001-04-05 04:21 meskes
* src/interfaces/ecpg/: ChangeLog, lib/typename.c,
preproc/preproc.y: Hopefully fixed the long long problem.
2001-04-04 22:50 tgl
* src/bin/pg_dump/pg_dump.c: pg_dump needs to use ONLY when
selecting data from user tables, in case they have children. As it
stood, -d dump mode was badly broken.
2001-04-04 18:57 tgl
* src/makefiles/Makefile.aix: Clean up AIX makefile to recognize
subversions of AIX 4.1 correctly. This patch is Peter E's, but I'm
applying it on his behalf so it'll get into 7.1RC3 tonight (I'm
guessing Peter went to bed already).
2001-04-04 17:15 tgl
* contrib/spi/Makefile, src/backend/Makefile,
src/makefiles/Makefile.win, src/pl/plpgsql/src/Makefile,
src/test/regress/GNUmakefile: Fix/cleanup DLLLIBS handling for
Cygwin port. If it works it's to Jason Tishler's credit, if it's
broken it's my fault ...
2001-04-04 16:03 tgl
* src/test/regress/: expected/horology-no-DST-before-1970.out,
expected/horology-solaris-1947.out, expected/horology.out,
sql/horology.sql: Remove daylight-savings-time-dependent tests of
'time with time zone' datatype. Perhaps someday we can figure out
a way of getting reproducible results from testing this type, but
for now ...
2001-04-04 16:02 petere
* doc/FAQ_Solaris: update
2001-04-04 11:43 vadim
* src/backend/commands/sequence.c: Have to lock buffer while
changing page' LSN. Thanks to Tom.
2001-04-04 02:47 pjw
* src/bin/pg_dump/: pg_backup_archiver.h, pg_dump.c: Don't dump
CHECK constraints with same source and names both starting with
'$'.
2001-04-03 17:58 vadim
* src/backend/commands/sequence.c: Log sequence creation (to
initialize magic number on recovery).
2001-04-03 15:06 tgl
* contrib/pg_controldata/Makefile: Provide snprintf() if system
hasn't got it.
2001-04-03 15:01 tgl
* contrib/pg_resetxlog/Makefile: Provide snprintf() if system
hasn't got it.
2001-04-03 14:14 momjian
* doc/FAQ_MSWIN: See attached for a minor documentation patch that
more accurately reflects the current state of and the issues with
PostgreSQL on Windows.
Thanks, Jason
-- Jason Tishler
2001-04-03 14:05 tgl
* src/backend/utils/adt/: datetime.c, timestamp.c: Correct bogus
mktime() calls.
2001-04-03 09:38 momjian
* doc/src/sgml/release.sgml: Remove last-updated date stamp for
7.1.
2001-04-03 04:52 pjw
* src/bin/pg_dump/: common.c, pg_backup_archiver.h, pg_dump.c,
pg_dump.h: - Handle overridden attrs as per discussions 2-Apr-2001
- Dump CHECK constraints in OID order
2001-04-03 00:07 tgl
* src/backend/storage/file/fd.c: Check for failure of malloc() and
realloc() when allocating space for VFD entries. On platforms
where dereferencing a null pointer doesn't lead to coredump, it's
possible that this omission could have led to unpleasant behavior
like deleting the wrong file.
2001-04-02 22:31 tgl
* src/backend/storage/file/fd.c: open(2) flags saved for re-opening
a virtual file should probably not include O_CREAT.
2001-04-02 19:30 tgl
* src/backend/utils/cache/relcache.c: Restore pre-7.1 behavior of
allowing DROP of a table whose underlying physical file has
disappeared. There is no really good reason why relcache should be
opening the underlying file at all, AFAICS. In any case we needn't
raise a hard error here.
2001-04-02 19:20 tgl
* src/backend/storage/smgr/md.c: _mdfd_getrelnfd() should include
kernel error code in failure message.
2001-04-02 14:30 tgl
* src/backend/commands/creatinh.c: Complain if the same column name
is inherited from multiple parents with different default values,
unless the child table redeclares the column with an explicit
default. This was judged to be the approach least likely to cause
unpleasant surprises.
2001-04-02 13:59 momjian
* HISTORY, doc/src/sgml/release.sgml: Update HISTORY/release.sgml
to current.
2001-04-02 11:19 thomas
* doc/src/sgml/installation.sgml: Update info for platforms BeOS,
Tru64, Linux/MIPS, Linux/x86, NetBSD/Alpha, NetBSD/arm,
NetBSD/VAX, OpenBSD/Sparc, Solaris, Ultrix.
2001-04-02 10:34 momjian
* src/backend/catalog/index.c: Disable creation of indexes on
system tables.
2001-04-02 04:17 meskes
* src/interfaces/ecpg/: ChangeLog, preproc/pgc.l: Synced pgc.l with
scan.l.
2001-04-01 23:21 tgl
* src/backend/Makefile: Remove duplicate definition of DLLLIBS, per
gripe from Fred Yankowski.
2001-04-01 23:08 tgl
* src/backend/port/dynloader/: freebsd.c, netbsd.c, openbsd.c: Tom
Ivar Helbekkmo <tih@kpnQwest.no> says that dynamic linking works
now on VAX NetBSD. Hence, remove #ifdef'd disable tests.
2001-04-01 18:37 tgl
* src/backend/optimizer/plan/planner.c: Planner wasn't correctly
handling adjustment of tuple_fraction for the case of LIMIT in a
sub-select.
2001-04-01 15:15 scrappy
* configure, configure.in, ChangeLogs/ChangeLog-7.1RC1-to-7.1RC2:
RC2 preparations ...
2001-04-08 13:28 petere
* GNUmakefile.in: Rearrange distribution split as discussed on
-hackers.
2001-04-08 12:36 petere
* doc/FAQ_Solaris: Update to reflect OpenSSL 0.9.6a release.
2001-04-06 22:30 momjian
* doc/TODO: Update TODO list.
2001-04-06 13:05 scrappy
* ChangeLogs/ChangeLog-7.1RC2-to-7.1RC3:
update the change log, but nothing else ...
2001-01-10 13:07 petere
* configure, config/c-library.m4: Make checks for global variables
(sys_nerr, timezone) safe against getting optimized away
completely.
2001-01-09 21:24 inoue
* src/backend/storage/lmgr/lock.c: Removed a no longer needed
SetWaitingForLock() call in DeadLockCheck().
2001-01-09 21:12 tgl
* src/backend/commands/cluster.c: Do The Right Thing (tm) if asked
to cluster a temp table. Previous code would cluster, but table
would magically lose its tempness.
2001-01-09 15:46 meskes
* src/interfaces/ecpg/: ChangeLog, preproc/preproc.y: Synced
preproc.y with gram.y.
2001-01-09 14:45 petere
* src/makefiles/Makefile.win: Remove -L$(libdir) from DLLLIBS to
prevent linking with an old version (i.e., 7.0.3) of libpostgres.a.
From Jason Tishler <jt@dothill.com>.
2001-01-09 14:40 petere
* configure, configure.in, config/c-library.m4,
src/backend/utils/error/elog.c, src/backend/utils/error/exc.c,
src/include/c.h, src/include/config.h.in, src/include/port/beos.h,
src/include/port/win.h: Add configure check for sys_nerr, to end
all discussions.
2001-01-09 12:07 momjian
* contrib/pgcrypto/md5.c, contrib/pgcrypto/md5.h,
contrib/pgcrypto/pgcrypto.c, contrib/pgcrypto/pgcrypto.h,
contrib/pgcrypto/sha1.c, contrib/pgcrypto/sha1.h, src/include/c.h:
The KAME files md5.* and sha1.* have the following changelog entry:
2001-01-09 12:05 momjian
* doc/src/sgml/sql.sgml: Apply proper sql.sgml change.
2001-01-09 11:48 momjian
* doc/src/sgml/sql.sgml: Attached is a doc patch for
doc/src/sgml/sql.sgml.
It adds information about SQL JOIN that is implemented in 7.1.
-- -------- Robert B. Easter
2001-01-09 11:26 momjian
* doc/src/sgml/plsql.sgml: A patch for doc/src/sgml/plsql.sgml to
add a little more info about PL/pgSQL EXECUTE.
-- -------- Robert B. Easter
2001-01-09 10:23 momjian
* doc/src/sgml/spi.sgml: Approaching the current documentation from
a position of ignorance, I find it ambiguous. I propose something
along the lines of the following patch to clarify it. Thanks.
(Alternatively, perhaps the code could maintain a count of nested
calls to SPI_connect/SPI_finish. But I didn't try to write that
patch.)
Ian Lance Taylor
2001-01-09 09:11 pgsql
* configure, configure.in:
jump version to beta3 ... beta2 was created and pulled due to a
couple of large-ish bugs that Tom and Vadim were able to fix, but
to avoid any confusion, beta2 was removed ... and for tag'ng
purposes, beta3 is being created ...
2001-01-09 05:54 ishii
* doc/README.mb.big5: Add a README file for multi-byte. This file
is contributed by Chih-Chang Hsieh <cch@cc.kmu.edu.tw>, written in
traditional Chinese (Big5).
2001-01-09 05:38 inoue
* src/backend/storage/lmgr/proc.c: Disable query cancel during
HandleDeadLock().
2001-01-09 02:24 vadim
* src/backend/: access/transam/xlog.c, utils/misc/guc.c: 1.
Checkpoint.undo may be after checkpoint itself: - no more
elog(STOP) in StartupXLOG(); - both checkpoint' undo & redo are
used to define oldest on-line log file. 2. Ability to
pre-allocate a few log files at checkpoint time (wal_files
option). Off by default.
2001-01-09 00:40 ishii
* doc/README.mb: README.mb has been unified into SGML documents.
2001-01-08 23:48 tgl
* src/: backend/optimizer/util/tlist.c, include/optimizer/tlist.h,
backend/optimizer/plan/setrefs.c,
backend/optimizer/plan/subselect.c: Fix oversight in planning of
GROUP queries: when an expression is used as both a GROUP BY item
and an output expression, the top-level Group node should just copy
up the evaluated expression value from its input, rather than
re-evaluating the expression. Aside from any performance benefit
this might offer, this avoids a crash when there is a sub-SELECT in
said expression.
2001-01-08 22:15 tgl
* src/include/storage/relfilenode.h: Fix small but critical typo
...
2001-01-08 19:02 tgl
* src/bin/scripts/vacuumdb: Prevent vacuumdb from trying to vacuum
template0.
2001-01-08 18:07 tgl
* doc/src/sgml/syntax.sgml: Document the system attributes ctid and
tableoid, which for some reason were never yet mentioned anywhere
in our documentation. Improve explanations of the other system
attributes, too.
2001-01-08 17:30 tgl
* doc/src/sgml/ref/select.sgml: Document that we don't support
ORDER BY with general expressions on the output of
UNION/INTERSECT/EXCEPT.
2001-01-08 17:01 petere
* doc/src/sgml/runtime.sgml: Add rudimentary section about
controlling kernel's file and process limits.
2001-01-08 16:54 momjian
* doc/TODO.detail/flock, doc/TODO.detail/memory,
src/backend/parser/analyze.c: Remove compiler warning about
uninitialized warnings.
2001-01-08 16:32 tgl
* src/bin/scripts/vacuumdb: check for failure after vacuuming each
DB, not only the last one.
2001-01-08 14:34 tgl
* src/backend/utils/cache/relcache.c: Add some debugging support
code (ifdef'd out in normal use).
2001-01-08 14:31 tgl
* src/backend/storage/buffer/bufmgr.c: LockBuffer should not elog
while holding buffer's cntx_lock.
2001-01-07 23:14 inoue
* src/backend/commands/command.c: Keep relations open until they
are no longer needed.
2001-01-07 20:31 tgl
* src/backend/nodes/: outfuncs.c, readfuncs.c: Make
outfuncs/readfuncs treat OIDs properly as unsigned values. Clean
up inconsistent coding practices for handling Index values and
booleans, too.
2001-01-07 18:14 tgl
* src/backend/access/heap/heapam.c: Correct nasty error in
heap_update: it was releasing the buffer refcount before calling
RelationInvalidateHeapTuple(), which is bad because the latter
needs to look at the tuple data, which is in the shared disk
buffer. If another backend manages to recycle the buffer while
this is going on, we will compute the wrong hashindex for the tuple
or maybe even crash outright. Must hold buffer refcount until
afterwards. (This bug is not in 7.0.*; seems to be have introduced
during WAL changes.)
2001-01-07 00:30 tgl
* src/backend/storage/ipc/ipc.c: Clear QueryCancel and
ProcDiePending at start of proc_exit, to ensure that leftover
cancel/die requests cannot interfere with exit activities.
2001-01-07 00:17 tgl
* src/: include/miscadmin.h, include/utils/elog.h,
backend/tcop/postgres.c, backend/utils/init/globals.c: Fix recent
breakage of query-cancel logic, see my pghackers message of 6 Jan
2001 21:55.
2001-01-06 22:23 pgsql
* configure, configure.in:
tag configure as beta2 ..
2001-01-06 21:14 tgl
* src/test/regress/resultmap: Resultmap updates for OpenBSD, per
report from bpalmer@crimelabs.net.
2001-01-06 21:08 tgl
* src/: backend/nodes/outfuncs.c, backend/nodes/read.c,
backend/nodes/readfuncs.c, include/catalog/catversion.h,
include/nodes/readfuncs.h: Modify readfuncs so that recursive use
of stringToNode will not crash and burn. Just for added luck,
change reading of CONST nodes so that we do not need to consult
pg_type rows while reading them; this means that no database access
occurs during stringToNode. This requires changing the order in
which const-node fields are written, which means an initdb is
forced.
2001-01-06 20:05 tgl
* src/backend/commands/command.c: Clean up checking of relkind for
ALTER TABLE and LOCK TABLE commands. Disallow cases like adding
constraints to sequences :-(, and eliminate now-unnecessary search
of pg_rewrite to decide if a relation is a view.
2001-01-06 17:59 tgl
* src/backend/utils/mmgr/aset.c: Log memory context stats to stderr
when reporting a 'Memory exhausted' error, so as to provide a
starting point for debugging.
2001-01-06 17:53 tgl
* src/backend/utils/cache/relcache.c: Fix memory leak in relcache
handling of rules: allocate rule parsetrees in per-entry
sub-memory-context, where they were supposed to go, rather than in
CacheMemoryContext where the code was putting them. Must've
suffered a severe brain fade when I wrote this :-(
2001-01-06 17:24 petere
* GNUmakefile.in: Use more portable syntax for 'find'.
2001-01-06 16:57 petere
* src/bin/pg_dump/: pg_dump.c, pg_restore.c: Polish help output.
Allow --help to work with BSD getopts.
2001-01-06 13:43 tgl
* src/interfaces/libpq/fe-print.c: No need for screen_size to be
static.
2001-01-06 12:54 petere
* doc/src/sgml/Makefile: Simplify rules to build man pages so they
run a lot faster and create less noise.
2001-01-06 08:38 ishii
* doc/README.mb.jp: Update multibyte Japanese doc for 7.1.
2001-01-06 08:26 petere
* doc/src/sgml/plsql.sgml: EXECUTE documentation, from "Robert B.
Easter" <reaster@comptechnews.com>. I threw in spell check run
over the whole file.
2001-01-06 07:58 petere
* doc/src/sgml/: datetime.sgml, filelist.sgml, keywords.sgml,
syntax.sgml, user.sgml: Update section on SQL syntax. (Still a lot
to be done though.) Add appendix with comprehensive list of key
words.
2001-01-06 06:50 petere
* src/backend/parser/gram.y: Simplify the rules that explicitly
allowed TYPE as a type name (which is no longer the case). Add AND
and TRAILING to ColLabel. All key words except AS are now at least
ColLabel's.
2001-01-06 00:14 tgl
* doc/src/sgml/ref/create_rule.sgml: Bring CREATE RULE reference
page into some semblance of agreement with what's actually
implemented.
2001-01-05 23:33 ishii
* src/backend/commands/copy.c: Fix copy to make it more robust
against unexpected character sequences. This is done by disabling
multi-byte awareness when it's not necessary. This is kind of a
workaround, not a perfect solution. However, there is no ideal way
to parse broken multi-byte character sequences. So I guess this is
the best way what we could do right now...
2001-01-05 21:48 inoue
* src/backend/utils/cache/relcache.c: init_irels() is changed to be
called in RelationCacheInitializePhase2() so that transactional
control could guarantee the consistency.
2001-01-05 21:43 tgl
* src/pl/plpgsql/src/pl_exec.c: Fix NOT NULL option for plpgsql
variables (doesn't look like it could ever have worked...)
2001-01-05 21:39 tgl
* src/pl/plpgsql/src/gram.y: Fix misplaced strdup(), which could
lead to error messages referencing deallocated memory later on.
2001-01-05 18:54 tgl
* src/: backend/utils/cache/catcache.c,
backend/utils/cache/inval.c, include/utils/catcache.h: Rename and
document some invalidation routines to make it clearer that they
don't themselves flush any cache entries, only add to to-do lists
that will be processed later.
2001-01-05 02:34 tgl
* doc/src/sgml/advanced.sgml, doc/src/sgml/inherit.sgml,
doc/src/sgml/ref/alter_table.sgml,
doc/src/sgml/ref/create_table.sgml, src/backend/nodes/copyfuncs.c,
src/backend/nodes/equalfuncs.c, src/backend/parser/analyze.c,
src/backend/parser/gram.y, src/backend/parser/parse_clause.c,
src/backend/parser/keywords.c, src/backend/tcop/utility.c,
src/bin/pgaccess/lib/help/create_table.hlp,
src/bin/pgaccess/lib/help/inheritance.hlp,
src/include/nodes/parsenodes.h, src/include/parser/parse_clause.h,
src/interfaces/ecpg/preproc/keywords.c,
src/interfaces/ecpg/preproc/preproc.y,
src/test/regress/sql/inherit.sql,
src/test/regress/expected/inherit.out: Remove not-really-standard
implementation of CREATE TABLE's UNDER clause, and revert
documentation to describe the existing INHERITS clause instead, per
recent discussion in pghackers. Also fix implementation of
SQL_inheritance SET variable: it is not cool to look at this var
during the initial parsing phase, only during parse_analyze(). See
recent bug report concerning misinterpretation of date constants
just after a SET TIMEZONE command. gram.y really has to be an
invariant transformation of the query string to a raw parsetree;
anything that can vary with time must be done during parse
analysis.
2001-01-04 22:58 tgl
* src/backend/commands/creatinh.c: Disallow creation of a child
table by a user who does not own the parent table, per pghackers
discussion around 22-Dec-00.
2001-01-04 13:58 petere
* configure, configure.in: Allow NetBSD's libedit to be used
instead of GNU Readline. (This simply amounts to checking for
-ledit instead of -lreadline.)
2001-01-04 13:25 petere
* src/bin/initdb/initdb.sh: Correct path where to check for
password file existance.
2001-01-03 22:38 tgl
* src/pl/plpgsql/src/pl_exec.c: Clean up some unnecessary fragility
in EXECUTE command.
2001-01-03 22:36 tgl
* src/backend/executor/spi.c: Repair guaranteed core dump in
SPI_exec(). Guess this routine wasn't used before ...
2001-01-03 22:24 inoue
* src/backend/utils/cache/relcache.c: I neglected to remove a debug
message,sorry.
2001-01-03 21:23 tgl
* src/bin/pg_dump/pg_dump.c: pg_dump failed to handle backslashes
embedded in function definitions (and most other places where it
needed to output a string literal, too, except for data INSERT
statements). Per bug report from Easter, 12/1/00.
2001-01-03 18:01 tgl
* src/backend/: rewrite/rewriteHandler.c, utils/adt/ruleutils.c:
Fix breakage of rules using NOTIFY actions, per bug report and
patch from sergiop@sinectis.com.ar.
2001-01-03 16:04 tgl
* doc/src/sgml/ref/copy.sgml, src/backend/commands/copy.c: New file
format for COPY BINARY, in accordance with pghackers discussions of
early December 2000. COPY BINARY is now TOAST-safe.
2001-01-03 14:43 tgl
* src/backend/commands/view.c: MakeRetrieveViewRuleName was
scribbling on memory that didn't belong to it. Bad dog.
2001-01-03 12:48 thomas
* src/backend/utils/adt/timestamp.c: Repair always-broken
date_part('quarter',timestamp). Previous result did not have
correct month boundaries so anything near edge cases was suspect
(e.g. April was in Q1 and July, August were lumped into Q2).
Thanks to Denis Osadchy <osadchy@turbo.nsk.su> for the report.
2001-01-02 18:13 petere
* configure, configure.in: Only update stamp-h if config.status
actually looks at config.h.
2001-01-02 18:03 momjian
* src/interfaces/ecpg/lib/execute.c: I've found a memory leak in
libecpg of PostgreSQL 7.0.3. The leak is caused by the memory
allocation in src/interfaces/ecpg/lib/execute.c in line 669 which
is never freed. Adding a "free(array_query);" after PQexec in line
671 seems to fix the leak.
Thorsten Knabe
2001-01-02 01:56 tgl
* src/test/regress/README, doc/src/sgml/regress.sgml: Document
tuple ordering differences as a possible cause of regression test
'failures'.
2001-01-02 00:33 tgl
* src/: backend/access/transam/xlogutils.c, backend/lib/hasht.c,
backend/storage/lmgr/lock.c, backend/utils/cache/relcache.c,
backend/utils/hash/dynahash.c, backend/utils/mmgr/portalmem.c,
include/lib/hasht.h, include/utils/hsearch.h: Clean up
non-reentrant interface for hash_seq/HashTableWalk, so that
starting a new hashtable search no longer clobbers any other search
active anywhere in the system. Fix RelationCacheInvalidate() so
that it will not crash or go into an infinite loop if invoked
recursively, as for example by a second SI Reset message arriving
while we are still processing a prior one.
2001-01-01 22:13 tgl
* src/test/regress/pg_regress.sh: Tweak temporary-installation
setup so that it doesn't break when the configured install --prefix
begins with /data/...
2001-01-01 19:18 tgl
* src/test/regress/expected/geometry-alpha-precision.out: Update
geometry-alpha-precision.out per reports from Brent Verner and
Adriaan Joubert.
2001-01-01 19:10 tgl
* configure, configure.in: Define HAVE_LIBZ only if we detect
<zlib.h> as well as libz.a/.so. Otherwise, build falls over on a
machine with a non-devel RPM of libz.
2001-01-01 17:35 tgl
* src/backend/commands/cluster.c: CLUSTER forgot to create a TOAST
table for the clustered relation.
2001-01-01 17:33 tgl
* src/backend/catalog/heap.c: Ensure attcacheoff is written out as
-1 when writing pg_attribute tuples for a relation. Needed to
prevent Assert failure in CLUSTER.
2001-01-01 17:22 tgl
* src/backend/executor/execMain.c: Update comment.
2000-12-31 18:34 tgl
* src/include/catalog/pg_operator.h: Mark geometric 'overlaps'
operators (&&) as self-commutative.
2000-12-31 18:24 tgl
* src/bin/initdb/initdb.sh: Fix typo in error message.
2000-12-31 14:38 tgl
* src/test/regress/pg_regress.sh: Don't say 'export PGHOST' or
'export PGPORT' unless we actually define those variables. Some
shells will invent an empty-string definition in this case, which
is not what we want.
2000-12-31 14:23 tgl
* src/interfaces/libpq/fe-connect.c: On further thought, we need a
defense against empty PGPORT here too.
2000-12-31 14:15 tgl
* src/interfaces/libpq/fe-connect.c: Ignore PGPORT environment
variable if it is an empty string.
2000-12-31 14:04 tgl
* src/backend/main/main.c: Reverse #if test to be defined(__osf__)
rather than not-any-of-a-lot- of-others.
2000-12-31 07:57 petere
* src/bin/psql/tab-complete.c: Remove incorrect use of
rl_special_prefixes until further evaluation.
2000-12-30 23:33 tgl
* src/: include/port/netbsd.h, backend/main/main.c: NetBSD/Alpha
porting fixes from tom@minnesota.com.
2000-12-30 15:17 tgl
* src/backend/port/snprintf.c: Be more careful about the difference
between signed and unsigned ints. Bug is revealed by OID regress
test on 64-bit platforms.
2000-12-30 15:11 petere
* doc/src/sgml/advanced.sgml: Correct UNDER syntax.
2000-12-30 15:00 petere
* doc/src/sgml/ref/create_table.sgml: Correct UNDER syntax.
2000-12-30 13:11 petere
* doc/src/sgml/ref/pgaccess-ref.sgml: Refinements
2000-12-30 12:48 petere
* src/interfaces/odbc/statement.c: Remove C++ comment.
2000-12-30 11:19 vadim
* src/: backend/access/heap/heapam.c, backend/commands/vacuum.c,
backend/storage/page/bufpage.c, include/access/htup.h,
include/storage/bufpage.h: 1. WAL needs in zero-ed content of newly
initialized page. 2. Log record for PageRepaireFragmentation now
keeps array of !LP_USED offnums to redo cleanup properly.
2000-12-30 11:03 petere
* doc/src/sgml/runtime.sgml: Add mention of sysctl(8) for IPC
tuning on Linux.
2000-12-30 10:47 petere
* src/bin/psql/command.c: Remove incorrect assert.
2000-12-30 02:52 vadim
* src/backend/access/: heap/heapam.c, transam/xlog.c: Fixed
misprint in heap update WALoging.
2000-12-30 02:10 ishii
* src/bin/pg_ctl/pg_ctl.sh: Imporve messages.
2000-12-29 22:48 tgl
* src/test/regress/resultmap: Apparently, special float8 comparison
file for Alpha is only needed when using vendor cc, not gcc.
2000-12-29 22:34 tgl
* src/include/storage/s_lock.h: Clean up spinlock assembly code
slightly (just cosmetic improvements) for Alpha gcc case. For
Alpha non-gcc case, replace use of __INTERLOCKED_TESTBITSS_QUAD
builtin with __LOCK_LONG_RETRY and __UNLOCK_LONG. The former does
not execute an MB instruction and therefore was guaranteed not to
work on multiprocessor machines. The LOCK_LONG builtins produce
code that is the same in all essential details as the gcc assembler
code.
2000-12-29 21:20 tgl
* src/backend/storage/ipc/ipc.c: Paranoia about possible values of
errno after a shmget/semget failure. In theory we should always
get EEXIST if there's a key collision, but if the kernel code tests
error conditions in a weird order, perhaps EACCES or EIDRM could
occur too.
2000-12-29 20:50 tgl
* src/pl/plpgsql/enable_plpgsql: Remove obsolete and unportable
enable_plpgsql script. createlang has been the supported and
documented way to do this for a long time...
2000-12-29 20:24 petere
* Makefile, src/Makefile, src/interfaces/python/GNUmakefile: Fix
unportable use of '!' in shell commands.
2000-12-29 18:46 tgl
* src/interfaces/libpgtcl/pgtclCmds.c: column and tuple numbers
should be int not size_t.
2000-12-29 17:31 tgl
* src/: backend/storage/buffer/s_lock.c, include/storage/s_lock.h,
backend/access/transam/xlog.c, backend/storage/buffer/bufmgr.c: Fix
failure in CreateCheckPoint on some Alpha boxes --- it's not OK to
assume that TAS() will always succeed the first time, even if the
lock is known to be free. Also, make sure that code will
eventually time out and report a stuck spinlock, rather than
looping forever. Small cleanups in s_lock.h, too.
2000-12-29 16:47 vadim
* src/backend/access/nbtree/: nbtinsert.c, nbtpage.c: MUST update
(in-memory) data page BEFORE XLogInsert to log NEW page content if
WAL will decide to backup page.
2000-12-29 16:39 tgl
* src/Makefile.global.in, configure, configure.in: stamp-h needs to
be made by config.status, not elsewhere, per recipe in Autoconf
manual. In particular, touching it before creating config.status
is guaranteed to lose.
2000-12-29 04:08 vadim
* src/backend/access/nbtree/nbtree.c: nbtree_xlog_newroot: set meta
flag in meta page opaque.
2000-12-28 19:56 momjian
* src/interfaces/jdbc/org/postgresql/:
jdbc1/PreparedStatement.java, jdbc1/ResultSet.java,
jdbc2/PreparedStatement.java, jdbc2/ResultSet.java: Attached are
patches for two fixes to reduce memory usage by the JDBC drivers.
The first fix fixes the PreparedStatement object to not allocate
unnecessary objects when converting native types to Stings. The
old code used the following format: (new
Integer(x)).toString() whereas this can more efficiently be
occompilshed by: Integer.toString(x); avoiding the
unnecessary object creation.
The second fix is to release some resources on the close() of a
ResultSet. Currently the close() method on ResultSet is a noop.
The purpose of the close() method is to release resources when the
ResultSet is no longer needed. The fix is to free the tuples
cached by the ResultSet when it is closed (by clearing out the
Vector object that stores the tuples). This is important for my
application, as I have a cache of Statement objects that I reuse.
Since the Statement object maintains a reference to the ResultSet
and the ResultSet kept references to the old tuples, my cache was
holding on to a lot of memory.
Barry Lind
2000-12-28 13:34 petere
* contrib/rserv/Makefile: Qualify %.in rule to avoid triggering on
configure.in, repair unportable attempt to install more than one
file per 'install' invocation, clean up some other oddities.
2000-12-28 09:00 vadim
* src/: backend/access/heap/heapam.c,
backend/access/nbtree/nbtinsert.c, backend/access/nbtree/nbtpage.c,
backend/access/nbtree/nbtree.c, backend/access/transam/xact.c,
backend/access/transam/xlog.c, backend/bootstrap/bootstrap.c,
backend/commands/sequence.c, backend/commands/vacuum.c,
backend/postmaster/postmaster.c, backend/storage/buffer/bufmgr.c,
backend/utils/init/globals.c, include/access/htup.h,
include/access/nbtree.h, include/access/xlog.h,
include/catalog/catversion.h, include/commands/sequence.h,
include/storage/bufmgr.h: New WAL version - CRC and data blocks
backup.
2000-12-27 21:51 tgl
* src/backend/utils/adt/oid.c: Let's try this again on accepting
the correct range of Oid input values for 64-bit platforms ...
2000-12-27 20:16 tgl
* doc/src/sgml/libpq.sgml: Correct erroneous documentation of
PQsetnonblocking().
2000-12-27 19:59 tgl
* configure, configure.in, contrib/array/array_iterator.c,
src/backend/access/common/heaptuple.c,
src/backend/access/common/indextuple.c,
src/backend/access/common/printtup.c,
src/backend/access/common/tupdesc.c,
src/backend/access/heap/heapam.c, src/backend/catalog/catalog.c,
src/backend/catalog/heap.c, src/backend/executor/execTuples.c,
src/backend/executor/execUtils.c, src/backend/parser/parse_func.c,
src/backend/utils/adt/arrayfuncs.c,
src/backend/utils/cache/lsyscache.c, src/include/access/heapam.h,
src/include/access/htup.h, src/include/access/itup.h,
src/include/access/tupmacs.h, src/include/catalog/catalog.h,
src/include/catalog/pg_type.h, src/backend/commands/copy.c,
src/include/config.h.in: Fix portability problems recently exposed
by regression tests on Alphas. 1. Distinguish cases where a Datum
representing a tuple datatype is an OID from cases where it is a
pointer to TupleTableSlot, and make sure we use the right typlen in
each case. 2. Make fetchatt() and related code support 8-byte
by-value datatypes on machines where Datum is 8 bytes. Centralize
knowledge of the available by-value datatype sizes in two macros in
tupmacs.h, so that this will be easier if we ever have to do it
again.
2000-12-26 16:47 petere
* doc/Makefile: Only install the integrated HTML documentation set
(not the individual books separately), in directory $(docdir)/html.
2000-12-26 16:12 petere
* doc/src/sgml/release.sgml: Add id attribute to sect1 tag.
2000-12-25 20:10 petere
* doc/src/sgml/: arch-dev.sgml, arch-pg.sgml, arch.sgml,
extend.sgml, libpq++.sgml, xfunc.sgml, xindex.sgml: Fix some cross
reference links.
2000-12-25 19:15 petere
* doc/src/sgml/: reference.sgml, ref/alter_table.sgml,
ref/begin.sgml, ref/commit.sgml, ref/create_function.sgml,
ref/create_index.sgml, ref/create_table.sgml,
ref/create_table_as.sgml, ref/createdb.sgml, ref/createlang.sgml,
ref/createuser.sgml, ref/declare.sgml, ref/drop_aggregate.sgml,
ref/drop_function.sgml, ref/drop_index.sgml,
ref/drop_language.sgml, ref/drop_operator.sgml, ref/dropdb.sgml,
ref/droplang.sgml, ref/dropuser.sgml, ref/ecpg-ref.sgml,
ref/end.sgml, ref/fetch.sgml, ref/initdb.sgml, ref/insert.sgml,
ref/listen.sgml, ref/lock.sgml, ref/move.sgml, ref/pg_ctl-ref.sgml,
ref/pg_dump.sgml, ref/pg_dumpall.sgml, ref/pg_passwd.sgml,
ref/pg_restore.sgml, ref/pg_upgrade.sgml, ref/pgaccess-ref.sgml,
ref/pgadmin-ref.sgml, ref/pgtclsh.sgml, ref/pgtksh.sgml,
ref/postgres-ref.sgml, ref/postmaster.sgml, ref/psql-ref.sgml,
ref/reset.sgml, ref/revoke.sgml, ref/rollback.sgml,
ref/select_into.sgml, ref/show.sgml, ref/unlisten.sgml,
ref/update.sgml, ref/vacuumdb.sgml: Refine some things to create
better looking man pages.
2000-12-23 15:55 tgl
* src/include/utils/rel.h: Improve comments.
2000-12-23 14:49 tgl
* src/backend/optimizer/plan/createplan.c: Compute reasonable cost
and output-row-count estimates for LIMIT plan nodes.
2000-12-23 12:24 petere
* doc/src/sgml/bki.sgml: Some of the stuff documented here hasn't
existed since Postgres95.
2000-12-23 07:10 petere
* doc/src/sgml/keys.sgml: Remove unused file (the information is
already contained elsewhere).
2000-12-23 00:05 tgl
* src/backend/utils/adt/formatting.c: Replace overly-cute coding
with code that (a) has defined behavior according to the ANSI C
spec, (b) gets the boundary conditions right, and (c) is about a
third as long and three times more intelligible.
2000-12-22 19:12 tgl
* src/: backend/catalog/heap.c, backend/catalog/index.c,
backend/commands/command.c, backend/commands/creatinh.c,
backend/commands/vacuum.c, backend/utils/cache/relcache.c,
backend/utils/cache/temprel.c, include/utils/temprel.h: Small
cleanup of temp-table handling. Disallow creation of a non-temp
table that inherits from a temp table. Make sure the right things
happen if one creates a temp table, creates another temp that
inherits from it, then renames the first one. (Previously, system
would end up trying to delete the temp tables in the wrong order.)
2000-12-22 17:51 petere
* doc/src/sgml/: charset.sgml, compiler.sgml, cvs.sgml,
datetime.sgml, ecpg.sgml, geqo.sgml, gist.sgml, history.sgml,
indexcost.sgml, indices.sgml, info.sgml, jdbc.sgml, keys.sgml,
libpgeasy.sgml, lisp.sgml, mvcc.sgml, notation.sgml, odbc.sgml,
problems.sgml, protocol.sgml, release.sgml, y2k.sgml: Make use of
<email> tag for marking up email addresses.
2000-12-22 17:36 tgl
* src/: backend/utils/adt/oid.c, include/postgres_ext.h: Repair
not-too-well-thought-out code to do rangechecking of OIDs on 64-bit
machines. Also, make oidvectorin use the same code as oidin.
2000-12-22 16:04 vadim
* src/backend/storage/buffer/bufmgr.c: Avoid XLogFlush for clean
buffers in BufferSync.
2000-12-22 15:31 petere
* doc/src/sgml/: arch-pg.sgml, arch.sgml, notation.sgml,
query.sgml: Avoid using the terms 'installation', 'site', or
'instance' when referring to the thing you get from running initdb.
That's called a database cluster (per SQL).
2000-12-22 15:21 tgl
* src/backend/catalog/heap.c: Improve error message for case where
DROP TABLE is rejected because table has a child table.
2000-12-22 14:57 petere
* doc/src/sgml/: advanced.sgml, arch-dev.sgml, bki.sgml,
catalogs.sgml, cvs.sgml, datatype.sgml, docguide.sgml,
indices.sgml, installation.sgml, jdbc.sgml, keys.sgml,
libpq++.sgml, libpq.sgml, odbc.sgml, page.sgml, plperl.sgml,
plsql.sgml, query.sgml, regress.sgml, spi.sgml, syntax.sgml,
trigger.sgml, typeconv.sgml, xfunc.sgml: Replace incorrect uses of
'which' with 'that'. (so-called "wicked which")
2000-12-22 14:35 tgl
* src/backend/utils/adt/ri_triggers.c: Add 'ONLY' to queries
generated by RI triggers, so as to preserve pre-7.1 semantics of RI
operations. Eventually we ought to look at making RI work properly
across inheritance trees, but not for 7.1 ...
2000-12-22 14:06 tgl
* doc/src/sgml/runtime.sgml: Fix broken markup.
2000-12-22 14:00 tgl
* src/include/catalog/pg_proc.h, src/include/utils/builtins.h,
src/backend/utils/adt/network.c,
src/test/regress/expected/inet.out, doc/src/sgml/datatype.sgml,
doc/src/sgml/func.sgml: Change default output formatting for CIDR
to be unabbreviated, per recommendation from Paul Vixie. Add a new
abbrev() function to produce abbreviated format as text. No forced
initdb, but new function is not available unless you do an initdb
or add the pg_proc row manually.
2000-12-22 08:43 meskes
* src/interfaces/ecpg/: ChangeLog, preproc/preproc.y,
test/Makefile, test/test4.pgc: - Fixed bug in a connect statement
using varchars. - Synced parser.
2000-12-22 03:59 ishii
* src/interfaces/libpq/fe-connect.c: Fix PQsetdbLogin() backward
compatibility problem.
If pghost == "" and pgport == "" then PQsetdbLogin() fails with a
error message:
Is the postmaster running locally
and accepting connections on Unix socket '/tmp/.s.PGSQL.0'?
I see many applications such as PHP fails due to this behavior.
Now if pgport == "", then it is assumed to be a DEF_PGPORT_STR.
This is the same behavior as the version prior 7.1.
2000-12-22 03:07 tgl
* src/backend/parser/gram.y: Clean up CREATE
TYPE/OPERATOR/AGGREGATE productions, so that parser will not accept
types named with operator names or vice versa.
2000-12-21 23:08 momjian
* src/interfaces/jdbc/org/postgresql/Connection.java: In looking at
the 7.1beta1 code for JDBC, I noticed that support was added to
support character set encodings. However I noticed that the
encoding that is used isn't obtained from the DB. Since Java uses
unicode UCS2 internally the character set encoding is used to
translate strings from/to the DB encoding. So it seems logical
that the code would get the encoding from the DB instead of the
current method of requiring the user pass it as a parameter.
Attached is a patch that gets the DB encoding from the DB in the
same manner as is done in libpq/fe-connect.c. The patch is created
off of the latest CVS sources (Connection.java version 1.10).
Barry Lind
2000-12-21 20:51 tgl
* contrib/userlock/user_locks.c, src/backend/access/transam/xact.c,
src/backend/commands/vacuum.c, src/backend/storage/ipc/ipci.c,
src/backend/storage/lmgr/README, src/backend/storage/lmgr/lmgr.c,
src/backend/storage/lmgr/lock.c, src/backend/storage/lmgr/proc.c,
src/include/storage/lmgr.h, src/include/storage/lock.h,
src/include/storage/proc.h: Revise lock manager to support "session
level" locks as well as "transaction level" locks. A session lock
is not released at transaction commit (but it is released on
transaction abort, to ensure recovery after an elog(ERROR)). In
VACUUM, use a session lock to protect the master table while
vacuuming a TOAST table, so that the TOAST table can be done in an
independent transaction.
I also took this opportunity to do some cleanup and renaming in the
lock code. The previously noted bug in ProcLockWakeup, that it
couldn't wake up any waiters beyond the first non-wakeable waiter,
is now fixed. Also found a previously unknown bug of the same kind
(failure to scan all members of a lock queue in some cases) in
DeadLockCheck. This might have led to failure to detect a deadlock
condition, resulting in indefinite waits, but it's difficult to
characterize the conditions required to trigger a failure.
2000-12-21 18:55 petere
* doc/src/sgml/: arch-dev.sgml, cvs.sgml, datetime.sgml,
history.sgml, jdbc.sgml, lobj.sgml, notation.sgml, protocol.sgml,
release.sgml, syntax.sgml, xfunc.sgml: Get rid of the little "v"s
in front of version numbers, substituting the full word "version"
where appropriate.
2000-12-21 18:30 petere
* doc/src/sgml/install-win32.sgml: Updates
2000-12-21 16:48 petere
* src/include/catalog/pg_proc.h: Repair round(numeric) function.
An initdb would be required to get the fixed version, otherwise
you'll continue to encounter breakage.
2000-12-21 15:08 momjian
* doc/src/sgml/runtime.sgml: >openssl req -new -text -out
cert.req (you will have to enter a password)
>mv privkey.pem cert.pem.pw
>openssl rsa -in cert.pem.pw -out cert.pem (this removes the
password)
>openssl req -x509 -in cert.req -text -key cert.pem -out
cert.cert
then
cp cert.pem $PGDATA/server.key
cp cert.cert $PGDATA/server.crt
Thank you; this works.
Oliver Elphick
2000-12-21 14:47 momjian
* doc/src/sgml/libpq.sgml: responce->response
Alfred Perlstein
2000-12-21 13:36 tgl
* src/backend/commands/view.c: Fix longstanding bug with VIEW using
BETWEEN: OffsetVarNodes would get applied to the duplicated subtree
twice. Probably someday we should fix the parser not to generate
multiple links to the same subtree, but for now a quick
copyObject() is the path of least resistance.
2000-12-21 11:28 thomas
* contrib/rserv/regress.sh: Rename undocumented utility SyncSyncID
to MasterSync.
2000-12-21 11:26 thomas
* contrib/rserv/: GetSyncID.in, Makefile, MasterSync.in,
README.rserv, SlaveInit.in, SyncSyncID.in: Rename undocumented
utility SyncSyncID to MasterSync. Document MasterSync. Fix up a
couple of print statements to respect $verbose and $debug.
2000-12-20 18:54 tgl
* src/backend/storage/lmgr/: multi.c, single.c: Remove multi.c and
single.c, which have been dead code for over two years.
2000-12-20 17:51 tgl
* src/backend/: postmaster/postmaster.c, tcop/postgres.c: Prevent
freshly-started backend from ignoring SIGUSR1, per race condition
observed by Inoue. Also, don't call ProcRemove() from postmaster
if we have detected a backend crash --- too risky if shared memory
is corrupted. It's not needed anyway, considering we are going to
reinitialize shared memory and semaphores as soon as the last child
is dead.
2000-12-20 13:23 thomas
* doc/src/sgml/installation.sgml: Update info for BeOS and
MacOS-X-darwin as supported platforms.
2000-12-20 13:22 thomas
* contrib/rserv/: ApplySnapshot.in, CleanLog.in, GetSyncID.in,
InitRservTest.in, Makefile, MasterAddTable.in, MasterInit.in,
PrepareSnapshot.in, README.rserv, RServ.pm, Replicate.in,
RservTest.in, SlaveAddTable.in, SlaveInit.in, SyncSyncID.in,
master.sql.in, regress.sh, rserv.c, slave.sql.in: rserv replication
toolkit from Vadim Mikheev.
2000-12-20 13:22 thomas
* contrib/Makefile: Add rserv replication toolkit from Vadim
Mikheev.
2000-12-20 13:20 thomas
* contrib/mysql/mysql2pgsql: Utility to convert MySQL schema dumps
to SQL92 and PostgreSQL conventions.
2000-12-20 12:22 peter
* src/interfaces/jdbc/: CHANGELOG, build.xml,
org/postgresql/Driver.java.in, utils/buildDriver: Finished
build.xml and updated Driver.java.in and buildDriver to match how
Makefile and ANT operate.
2000-12-19 23:19 momjian
* doc/src/sgml/ref/alter_table.sgml: On Sunday 17 December 2000
15:07, Bruce Momjian wrote:
> We need additions to alter_table.sgml for the new OWNER option
mention
> in the features list.
Here it is.
-- Mark Hollomon
2000-12-19 20:44 ishii
* doc/src/sgml/charset.sgml: Add description about automatic
encoding conversion between Unicode and other encodings.
2000-12-19 18:12 petere
* doc/src/sgml/ref/pg_dumpall.sgml, src/bin/pg_dump/pg_dumpall.sh:
Rename --accounts-only to --globals-only, polish documentation.
2000-12-19 14:16 petere
* doc/src/sgml/plperl.sgml, src/pl/plperl/README: Polish PL/Perl
documentation. The README file got shrunk to being a pointer into
the real documentation.
2000-12-19 13:52 petere
* src/interfaces/odbc/: bind.c, columninfo.c, environ.c,
tuplelist.c: Remove inclusions of <malloc.h>.
2000-12-19 13:35 petere
* doc/src/sgml/func.sgml: Correct results of usage examples.
2000-12-19 13:33 peter
* src/interfaces/jdbc/: CHANGELOG, build.xml,
utils/CheckVersion.java: Finally created ant build.xml file
2000-12-18 20:54 tgl
* doc/src/sgml/typeconv.sgml: Mention fallback case for type
coercion in description of function resolution procedure.
2000-12-18 19:39 tgl
* doc/src/sgml/: advanced.sgml, array.sgml, syntax.sgml: Document
the array_dims() function, and make some other small improvements
in the docs for arrays.
2000-12-18 14:45 momjian
* src/: backend/access/transam/xlog.c, backend/port/beos/sem.c,
backend/port/dynloader/beos.c, backend/postmaster/postmaster.c,
backend/tcop/postgres.c, include/port/beos.h: >> Here is a
patch for the beos port (All regression tests are OK).
>> xlog.c : special case for beos to avoid 'link' which does
not work yet
>> beos/sem.c : implementation of new sem_ctl call (GETPID) and
a new
>sem_op
>> flag (IPCNOWAIT)
>> dynloader/beos.c : add a verification of symbol validity
(seem that
the
>> loader sometime return OK with an invalid symbol)
>> postmaster.c : add beos forking support for the new
checkpoint
process
>> postgres.c : remove beos special case for getrusage
>> beos.h : Correction of a bas definition of AF_UNIX, misc
defnitions
>>
>>
>> thanks
>>
>>
>> cyril
Cyril VELTER
2000-12-18 13:33 tgl
* src/: backend/commands/async.c, backend/postmaster/postmaster.c,
backend/storage/lmgr/proc.c, backend/tcop/postgres.c,
interfaces/libpq/fe-connect.c, bin/psql/common.c: Ensure that
'errno' is saved and restored by all signal handlers that might
change it. Experimentation shows that the signal handler call
mechanism does not save/restore errno for you, at least not on
Linux or HPUX, so this is definitely a real risk.
2000-12-18 12:30 momjian
* register.txt, src/bin/pg_dump/pg_upgrade: Updates for 7.1
branding.
2000-12-18 07:33 meskes
* src/interfaces/ecpg/: ChangeLog, include/ecpglib.h,
include/ecpgtype.h, lib/data.c, lib/execute.c, preproc/keywords.c,
preproc/preproc.y: - Synced gram.y and preproc.y.
- Synced keyword.c.
- Added several small patches from Christof.
2000-12-18 02:50 tgl
* src/backend/optimizer/path/joinrels.c: Make sure
make_rels_by_clause_joins doesn't return multiple references to
same joinrel. Although make_rels_by_joins doesn't mind, GEQO has
an Assert that doesn't like this.
2000-12-17 22:45 tgl
* src/test/regress/regressplans.sh: Tweak regressplans.sh to use
any already-set PGOPTIONS.
2000-12-17 21:37 tgl
* src/backend/parser/analyze.c: Repair mishandling of PRIMARY KEY
declaration that references an inherited column, per bug report
from Elphick 12/15/00.
2000-12-17 20:44 tgl
* src/: backend/access/transam/xact.c,
backend/access/transam/xlog.c, backend/commands/trigger.c,
backend/libpq/pqcomm.c, backend/storage/buffer/buf_init.c,
backend/storage/lmgr/proc.c, backend/tcop/postgres.c,
backend/utils/error/elog.c, backend/utils/init/postinit.c,
include/access/xlog.h, include/commands/trigger.h,
include/libpq/libpq.h, include/storage/bufmgr.h,
include/utils/elog.h: Clean up backend-exit-time cleanup behavior.
Use on_shmem_exit callbacks to ensure that we have released buffer
refcounts and so forth, rather than putting ad-hoc operations
before (some of the calls to) proc_exit. Add commentary to
discourage future hackers from repeating that mistake.
2000-12-17 13:50 petere
* doc/src/sgml/typeconv.sgml: Add missing tags.
2000-12-17 07:25 petere
* doc/src/sgml/version.sgml: Bump version to 7.1. (No "beta1",
since we're just going to forget to change it again anyway.)
2000-12-17 07:22 petere
* doc/src/sgml/runtime.sgml: Update SysV IPC information.
2000-12-17 01:55 tgl
* doc/src/sgml/: func.sgml, typeconv.sgml: Update type-coercion
discussions to reflect current reality.
2000-12-17 01:50 tgl
* doc/src/sgml/array.sgml: Misc. cleanups.
2000-12-17 01:47 tgl
* doc/src/sgml/syntax.sgml: Outer join updates, miscellaneous
polishing.
2000-12-17 00:32 tgl
* src/backend/parser/parse_coerce.c: 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-16 18:44 tgl
* doc/src/sgml/geqo.sgml: Update some obsolete info about GEQO.
2000-12-16 15:33 tgl
* doc/src/sgml/func.sgml: A little wordsmithing in the
pattern-matching section.
2000-12-16 14:33 tgl
* doc/src/sgml/func.sgml: Add note that COALESCE and NULLIF are
shorthand forms of CASE.
2000-12-16 14:22 tgl
* doc/src/sgml/syntax.sgml: Clean up some bogosities in description
of target lists.
2000-12-16 14:14 petere
* src/: interfaces/odbc/GNUmakefile, makefiles/Makefile.bsdi,
makefiles/Makefile.freebsd, makefiles/Makefile.irix5,
makefiles/Makefile.linux, makefiles/Makefile.netbsd,
makefiles/Makefile.openbsd, makefiles/Makefile.solaris,
makefiles/Makefile.unixware: Fix linker options for ODBC driver.
See comment in src/interfaces/odbc/GNUmakefile.
2000-12-16 09:03 petere
* configure, configure.in, src/Makefile.global.in: 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-15 22:29 tgl
* doc/src/sgml/: filelist.sgml, perform.sgml, plan.sgml,
populate.sgml, user.sgml: 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-15 19:36 momjian
* src/: backend/parser/keywords.c,
interfaces/ecpg/preproc/keywords.c: Remove current->old mapping.
2000-12-15 16:01 momjian
* doc/FAQ_german, doc/src/FAQ/FAQ_german.html,
src/bin/pgaccess/lib/help/create_database.hlp,
src/interfaces/ecpg/preproc/descriptor.c,
src/interfaces/ecpg/preproc/pgc.l,
src/interfaces/ecpg/preproc/preproc.y,
src/interfaces/ecpg/preproc/type.h: Change ET_WARN to ET_NOTICE to
match internal codes, leave message as WARNING. Fix German FAQ
mention about warning.
2000-12-15 15:22 tgl
* src/backend/parser/: parse_func.c, parse_oper.c: Make algorithm
for resolving UNKNOWN function/operator inputs be insensitive to
the order of arguments. Per pghackers discussion 12/10/00.
2000-12-15 15:15 momjian
* src/backend/utils/adt/formatting.c: 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 15:11 momjian
* src/interfaces/odbc/: options.c, statement.c: 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 14:50 petere
* src/pl/tcl/Makefile: 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 14:02 tgl
* src/backend/parser/parse_coerce.c: Remove obsolete comment.
2000-12-15 13:54 petere
* src/bin/psql/common.c: Print the error message before attempting
to reset the connection after a backend crash.
2000-12-15 00:08 tgl
* src/: backend/commands/indexcmds.c, backend/commands/remove.c,
include/commands/command.h: Remove a few remaining vestiges of
elog(WARN).
2000-12-14 19:51 wieck
* src/backend/utils/init/postinit.c: 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 18:30 petere
* doc/src/sgml/: Makefile, datatype.sgml, filelist.sgml, func.sgml,
oper.sgml, syntax.sgml, user.sgml: Merge functions and operators
chapters. Lots of updates.
2000-12-14 18:30 tgl
* src/: backend/nodes/copyfuncs.c, backend/nodes/equalfuncs.c,
backend/nodes/readfuncs.c, backend/optimizer/path/allpaths.c,
backend/optimizer/path/indxpath.c,
backend/optimizer/path/joinpath.c,
backend/optimizer/path/pathkeys.c,
backend/optimizer/plan/initsplan.c,
backend/optimizer/plan/planner.c,
backend/optimizer/prep/prepunion.c,
backend/optimizer/util/pathnode.c, include/nodes/relation.h,
backend/optimizer/README, include/optimizer/pathnode.h,
include/optimizer/paths.h, test/regress/expected/join.out: 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 03:02 inoue
* src/backend/catalog/indexing.c: Make sure to not handle
deactivated system indexes
2000-12-13 20:41 tgl
* src/backend/commands/creatinh.c: 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-13 19:45 tgl
* src/backend/executor/nodeMergejoin.c: Fix thinko for case of
outer join where inner table is empty: should output first outer
tuple before advancing...
2000-12-12 19:33 tgl
* src/: backend/nodes/copyfuncs.c, include/nodes/relation.h,
backend/nodes/equalfuncs.c, backend/nodes/readfuncs.c,
backend/optimizer/path/costsize.c,
backend/optimizer/plan/initsplan.c,
backend/optimizer/prep/prepunion.c: 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 12:47 momjian
* doc/src/sgml/: query.sgml, ref/create_rule.sgml: 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 01:07 tgl
* doc/src/sgml/: rules.sgml, sql.sgml, ref/select.sgml,
ref/select_into.sgml: 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-11 16:40 tgl
* contrib/: Makefile, README: Links to CUBE, SEG contrib items
2000-12-11 16:40 tgl
* contrib/seg/: Makefile, README.seg, buffer.c, buffer.h,
seg-validate.pl, seg.c, seg.sql.in, segdata.h, segparse.y,
segscan.l, sort-segments.pl, data/test_seg.data, expected/seg.out,
sql/seg.sql: Gene Selkov's SEG datatype (GiST example code)
2000-12-11 16:39 tgl
* contrib/cube/: Makefile, README.cube, buffer.c, buffer.h, cube.c,
cube.sql.in, cubedata.h, cubeparse.y, cubescan.l,
data/test_cube.data, expected/cube.out, sql/cube.sql: Gene Selkov's
CUBE datatype (GiST example code)
2000-12-11 15:27 vadim
* src/backend/access/transam/xlog.c: Remove elog for online log
files.
2000-12-11 15:06 momjian
* src/interfaces/odbc/: isql.h, psqlodbc.h: Make all ODBCVER = 2.50
2000-12-11 15:00 tgl
* src/test/regress/pg_regress.sh: Allow resultmap file to be
missing, for use in contrib self-tests.
2000-12-11 14:51 momjian
* src/interfaces/odbc/: info.c, isql.h, psqlodbc.h: Fix ODBC
compile, prevent ODBCVER warning, though the version numbers go not
match.
2000-12-11 14:26 momjian
* doc/src/sgml/catalogs.sgml: Change to Negator.
2000-12-11 14:02 vadim
* src/backend/access/transam/xlog.c: elog(LOG)-->elog(DEBUG) for
skipped logs.
2000-12-11 12:45 tgl
* src/test/regress/: resultmap,
expected/geometry-powerpc-darwin.out: Add Darwin-specific geometry
test file.
2000-12-11 12:35 tgl
* src/backend/storage/lmgr/proc.c: Tweak Darwin patch to get right
include order.
2000-12-11 05:14 inoue
* src/backend/access/heap/heapam.c: Resolve complie error(was my
fault).
2000-12-11 01:25 inoue
* src/backend/access/heap/heapam.c: *redo: Heap move* neglects to
set t_cmin for MOVED_IN tuples.
2000-12-11 01:00 ishii
* src/backend/utils/adt/like.c: Fix ILIKE bug (only in multi-byte
case)
2000-12-10 20:49 tgl
* src/: backend/storage/buffer/s_lock.c, backend/storage/ipc/ipc.c,
backend/storage/ipc/spin.c, backend/storage/lmgr/proc.c,
makefiles/Makefile.darwin, include/port/darwin.h,
include/port/darwin/sem.h, template/darwin,
backend/port/Makefile.in, backend/port/darwin/Makefile,
backend/port/darwin/sem.c, backend/port/dynloader/darwin.c,
backend/port/dynloader/darwin.h: Darwin porting patches from Peter
Bierman <bierman@apple.com>
2000-12-10 19:54 momjian
* src/interfaces/odbc/psqlodbc.h: Here is patch to the ODBC driver
to update the version to 2.5 and allow all forms of foreign keys be
exposed to SQLForeignKeys. This patch is in addition to the ones I
mailed yesterday (forget had I changed that as well....)
Michael Fork - CCNA - MCP - A+ Network Support - Toledo Internet
Access - Toledo Ohio
2000-12-10 18:59 momjian
* src/interfaces/odbc/info.c: Here is a diff to info.c in
interfaces/odbc that updates SQLForeignKeys to return foreign key
information based on the pg_trigger system table. I have tested
the patch with (what I believe) is all possible primary/foreign key
combinations -- however I may have missed some, so if anyone feels
like taking the patch for a test drive, here are some useful links:
Michael Fork
2000-12-10 18:37 momjian
* doc/src/sgml/catalogs.sgml: Backout right-hand/left-hand.
2000-12-10 18:35 momjian
* doc/src/sgml/catalogs.sgml: in catalog.sgml line 1324:
"left-hand" should be "right-hand"
BTW: new document looks very good! And the new configure/build
process seems much better then before!
Thanks!
Laser
2000-12-10 17:56 momjian
* doc/src/sgml/ref/comment.sgml: Add mention of \d+ to comment.
2000-12-10 17:19 petere
* src/include/catalog/pg_proc.h: Correct one description, add one.
2000-12-10 16:47 momjian
* doc/src/sgml/backup.sgml: Fix typo
2000-12-09 18:59 momjian
* doc/src/sgml/sql.sgml: Fixes for examples from Thomas Diffenbach
2000-12-09 16:40 tgl
* src/backend/utils/adt/nabstime.c: Portability fix from Ryan
Kirkpatrick's Alpha patches. I believe this is the only diff not
accounted for by fmgr rewrite...
2000-12-09 16:31 tgl
* src/backend/: catalog/index.c, utils/cache/relcache.c: Suppress
compiler warnings.
2000-12-09 11:52 momjian
* contrib/fulltextindex/TODO: Add fulltextindex TODO list.
2000-12-09 00:57 momjian
* doc/: FAQ_DEV, src/FAQ/FAQ_DEV.html: Update FAQ_DEV.
2000-12-09 00:29 momjian
* doc/: FAQ_DEV, src/FAQ/FAQ_DEV.html: Update FAQ_DEV.
2000-12-09 00:29 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2000-12-09 00:27 ishii
* src/backend/utils/mb/big5.c: Fix a bug in conversion from big5 to
EUC_TW (CNS 11643-1992 Plane 3) Thanks Chih-Chang Hsieh
<cch@cc.kmu.edu.tw> for finding the bug.
2000-12-08 19:57 tgl
* src/: include/utils/builtins.h, backend/access/rtree/rtproc.c,
backend/access/hash/hashfunc.c, include/catalog/pg_amproc.h,
include/catalog/pg_proc.h, backend/utils/adt/geo_ops.c,
backend/utils/adt/mac.c, backend/utils/adt/varchar.c: Repair
erroneous use of hashvarlena() for MACADDR, which is not a varlena
type. (I did not force initdb, but you won't see the fix unless
you do one.) Also, make sure all index support operators and
functions are careful not to leak memory for toasted inputs; I had
missed some hash and rtree support ops on this point before.
2000-12-08 18:21 tgl
* src/: backend/storage/file/fd.c, include/storage/fd.h,
backend/access/transam/xlog.c: Resurrect -F switch: it controls
fsyncs again, though the fsyncs are mostly just on the WAL logfile
nowadays. But if people want to disable fsync for performance, why
should we say no?
2000-12-08 16:11 momjian
* doc/src/sgml/ref/select.sgml: Fix Westwood/Westward, from Wessel
van Norel.
2000-12-08 16:10 tgl
* src/backend/commands/sequence.c: Add missing copyright and RCS
identification header.
2000-12-08 16:06 tgl
* doc/src/sgml/ref/create_sequence.sgml,
src/backend/commands/sequence.c: Remove error check that disallowed
setval() on a sequence with cache value greater than one. The
behavior this sought to disallow doesn't seem any less confusing
than the other behaviors of cached sequences. Improve wording of
some error messages, too. Update documentation accordingly. Also
add an explanation that aborted transactions do not roll back their
nextval() calls; this seems to be a FAQ, so it ought to be
mentioned here...
2000-12-08 02:43 inoue
* src/backend/commands/vacuum.c: Cache invalidation for vacuum of
system tables.
2000-12-08 02:17 inoue
* src/: backend/utils/cache/relcache.c, include/catalog/index.h,
backend/catalog/index.c, backend/commands/indexcmds.c,
backend/tcop/utility.c: REINDEX under WAL.
2000-12-07 20:11 tgl
* src/pl/plperl/plperl.c: Improve error message for erroneous use
of 'opaque' as plperl argument or return type.
2000-12-07 20:09 tgl
* src/pl/tcl/pltcl.c: Improve error message for erroneous use of
'opaque' as pltcl argument or return type.
2000-12-07 20:03 tgl
* src/pl/plpgsql/src/pl_comp.c: Improve error message for erroneous
use of 'opaque' as plpgsql argument or return type.
2000-12-07 19:22 tgl
* src/backend/utils/adt/oracle_compat.c: Change lpad() and rpad()
to behave more Oracle-compatibly when target length is less than
original string length.
2000-12-07 18:37 petere
* doc/src/sgml/catalogs.sgml: typo correction
2000-12-07 15:43 petere
* src/makefiles/: Makefile.bsdi, Makefile.freebsd, Makefile.netbsd,
Makefile.openbsd, Makefile.sco: Do not use 'ar cq' to build library
archives, use 'ar cr' instead.
2000-12-07 15:40 tgl
* src/backend/catalog/pg_proc.c: checkretval() failed to cope with
an empty SQL function body.
2000-12-07 14:38 tgl
* src/: include/catalog/pg_proc.h, backend/utils/adt/date.c,
backend/utils/adt/timestamp.c: Make OVERLAPS operators conform to
SQL92 spec regarding NULL handling. As I read it, the spec
requires a non-null result in some cases where one of the inputs is
NULL: specifically, if the other endpoint of that interval is
between the endpoints of the other interval, then the result is
known TRUE despite the missing endpoint. The spec could've been a
lot simpler if they did not intend this behavior. I did not force
an initdb for this change, but if you don't do one you'll still see
the old strict-function behavior.
2001-01-27 14:36 momjian
* src/bin/pgaccess/lib/languages/: euskara, japanese, nederlands:
Add missing pgaccess files.
2001-01-27 06:19 petere
* doc/src/sgml/ref/checkpoint.sgml: Add permission check for
CHECKPOINT.
2001-01-24 23:45 tgl
* src/backend/storage/lmgr/deadlock.c: Whoops, forgot to do
ProcLockWakeup() after deadlock checker rearranges wait queues.
2001-01-24 23:31 tgl
* src/backend/storage/lmgr/deadlock.c: Re-implement deadlock
detection and resolution, per design notes posted to pghackers on
18-Jan-01.
2001-01-24 20:02 momjian
* src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java: This
patch fixes an arrayindexoutofbounds exception that was just
introduced into the code. The fix is a fix to
org.postgresql.core.ByteArrayDim1.java.
Barry Lind
2001-01-24 19:15 petere
* doc/src/sgml/wal.sgml: WAL documentation, from Oliver Elphick and
Vadim Mikheev.
2001-01-24 17:56 petere
* doc/src/sgml/ref/checkpoint.sgml: Update based on documentation
written by Vadim Mikheev and Oliver Elphick.
2001-01-24 01:49 momjian
* contrib/oid2name/oid2name: Oops, got binary in there too.
2001-01-24 01:06 momjian
* contrib/oid2name/oid2name.o: Oops, had .o file in there.
2001-01-23 23:46 momjian
* contrib/pgcrypto/: encode.c, encode.h: I would like to do a
interface change in pgcrypto. (Good timing, I know :)) At the
moment the digest() function returns hexadecimal coded hash, but I
want it to return pure binary. I have also included functions
encode() and decode() which support 'base64' and 'hex' encodings,
so if anyone needs digest() in hex he can do encode(digest(...),
'hex').
Main reason for it is "to do one thing and do it well" :)
Another reason is if someone needs really lot of digesting, in the
end he wants to store the binary not the hexadecimal result. It is
really silly to convert it to hex then back to binary again. As I
said if someone needs hex he can get it.
Well, and the real reason that I am doing encrypt()/decrypt()
functions and _they_ return binary. For testing I like to see it
in hex occasionally, but it is really wrong to let them return hex.
Only now it caught my eye that hex-coding in digest() is wrong.
When doing digest() I thought about 'common case' but hacking with
psql is probably _not_ the common case :)
Marko Kreen
2001-01-23 23:40 momjian
* contrib/oid2name/: Makefile, oid2name.c: Update
2001-01-23 20:41 momjian
* contrib/oid2name/: Makefile, README.oid2name, oid2name,
oid2name.c, oid2name.o: Add oid2name. Add streaming option later.
2001-01-23 06:22 peter
* contrib/retep/: CHANGELOG, build.xml, retep.jpx, data/cds.dtd,
data/cds.xml, uk/org/retep/xml/core/XMLFactory.java,
uk/org/retep/xml/core/XMLFactoryException.java,
uk/org/retep/xml/jdbc/XMLDatabase.java,
uk/org/retep/xml/jdbc/XMLResultSet.java,
uk/org/retep/xml/parser/TagHandler.java,
uk/org/retep/xml/test/XMLExport.java: Some more additions to
contrib for JDBC
2001-01-22 19:34 petere
* doc/src/sgml/queries.sgml: Rip out table expression section from
SQL syntax chapter and develop it into new chapter on query
(SELECT) syntax. In the end this should become a narrative and
example-filled counterpart to the SELECT reference page.
2001-01-18 13:38 peter
*
src/interfaces/jdbc/org/postgresql/jdbc2/UpdateableResultSet.java:
Forgot to cvs add UpdateableResultSet.java ;-)
2001-01-18 13:37 peter
* src/interfaces/jdbc/jdbc.jpx: Thu Jan 18 17:37:00 GMT 2001
peter@retep.org.uk - Added new error message into
errors.properties "postgresql.notsensitive" This is used
by jdbc2.ResultSet when a method is called that should
fetch the current value of a row from the database refreshRow() for
example. - These methods no longer throw the not
implemented but the new noupdate error. This is in
preparation for the Updateable ResultSet support which
will overide these methods by extending the existing class to
implement that functionality, but needed to show something
other than notimplemented:
moveToCurrentRow() moveToInsertRow()
rowDeleted() rowInserted() all update*()
methods, except those that took the column as a String
as they were already implemented to convert the String to an int.
- getFetchDirection() and setFetchDirection() now throws
"postgresql.notimp" as we only support one direction.
The CursorResultSet will overide this when its implemented.
- Created a new class under jdbc2 UpdateableResultSet which
extends ResultSet and overides the relevent update
methods. This allows us to implement them easily at a
later date. - In jdbc2.Connection, the following methods
are now implemented:
createStatement(type,concurrency); getTypeMap();
setTypeMap(Map); - The JDBC2 type mapping scheme
almost complete, just needs SQLInput & SQLOutput to be
implemented. - Removed some Statement methods that somehow
appeared in Connection. - In jdbc2.Statement()
getResultSetConcurrency() getResultSetType()
setResultSetConcurrency() setResultSetType()
- Finally removed the old 6.5.x driver.
2001-01-18 10:50 peter
* build.xml, contrib/retep/CHANGELOG, contrib/retep/Implementation,
contrib/retep/README, contrib/retep/build.xml,
contrib/retep/retep.jpx,
contrib/retep/uk/org/retep/xml/parser/TagHandler.java,
contrib/retep/uk/org/retep/xml/parser/TagListener.java,
src/interfaces/jdbc/jdbc.jpx,
src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java,
src/interfaces/jdbc/org/postgresql/core/BytePoolDim2.java,
src/interfaces/jdbc/org/postgresql/core/MemoryPool.java,
src/interfaces/jdbc/org/postgresql/core/ObjectPool.java,
src/interfaces/jdbc/org/postgresql/core/SimpleObjectPool.java: Thu
Jan 18 12:24:00 GMT 2001 peter@retep.org.uk - These methods
in org.postgresql.jdbc2.ResultSet are now implemented:
getBigDecimal(int) ie: without a scale (why did this get missed?)
getBlob(int) getCharacterStream(int)
getConcurrency() getDate(int,Calendar)
getFetchDirection() getFetchSize()
getTime(int,Calendar) getTimestamp(int,Calendar)
getType() NB: Where int represents the column name,
the associated version taking a String were already
implemented by calling the int version. -
These methods no longer throw the not implemented but the new
noupdate error. This is in preparation for the
Updateable ResultSet support which will overide these
methods by extending the existing class to implement
that functionality, but needed to show something other than
notimplemented: cancelRowUpdates()
deleteRow() - Added new error message into
errors.properties "postgresql.noupdate" This is used by
jdbc2.ResultSet when an update method is called and the
ResultSet is not updateable. A new method notUpdateable() has been
added to that class to throw this exception, keeping the
binary size down. - Added new error message
into errors.properties "postgresql.psqlnotimp" This is
used instead of unimplemented when it's a feature in the
backend that is preventing this method from being implemented.
- Removed getKeysetSize() as its not part of the ResultSet API
Thu Jan 18 09:46:00 GMT 2001 peter@retep.org.uk - Applied
modified patch from Richard Bullington-McGuire
<rbulling@microstate.com>. I had to modify it as some of the code
patched now exists in different classes, and some of it
actually patched obsolete code.
Wed Jan 17 10:19:00 GMT 2001 peter@retep.org.uk - Updated
Implementation to include both ANT & JBuilder - Updated
README to reflect the changes since 7.0 - Created jdbc.jpr
file which allows JBuilder to be used to edit the source.
JBuilder _CAN_NOT_ be used to compile. You must use ANT for
that. It's only to allow JBuilders syntax checking to improve the
drivers source. Refer to Implementation for more details
2001-01-12 23:11 petere
* doc/src/sgml/ref/checkpoint.sgml: New shell for the to be written
CHECKPOINT documentation, so the summary shows up in psql now.
2001-01-12 22:18 petere
* contrib/intarray/Makefile: Clean up garbage.
2001-01-12 22:14 petere
* contrib/intarray/README: Surely one README file is enough.
2001-01-12 20:57 scrappy
* ChangeLogs/ChangeLog-7.1beta1-to-7.1beta3:
okay, this appears to work ...
onlly changes aer adding some white space ...
2001-01-12 18:36 petere
* contrib/intarray/Makefile.703: Surely we don't need a 7.0.3
makefile in 7.1.
2001-01-12 01:37 momjian
* contrib/intarray/README: Add to DROP todo.
2001-01-11 20:16 scrappy
* contrib/intarray/: Makefile, Makefile.703, README.intarray,
_int.c, _int.sql.in, bench/bench.pl, bench/create_test.pl,
data/test__int.data, expected/_int.out, sql/_int.sql:
commit Oleg and Teodor's RD-tree implementation ... this provides
the regression tests for the GiST changes ... this should be
integrated into the regular regression tests similar to Vadim's SPI
contrib stuff ...
2001-02-23 04:31 inoue
* src/backend/catalog/index.c: Resolve a compile error.
2001-02-23 04:26 inoue
* src/backend/: catalog/index.c, commands/indexcmds.c: Reindex of
shared system indexes must be overwrite mode.
2001-02-23 03:44 ishii
* src/backend/utils/mb/Unicode/UCS_to_SJIS.pl: Enhanced UTF-8/SJIS
mapping generator, contributed by Eiji Tokuya"
<e-tokuya@Mail.Sankyo-Unyu.co.jp>
2001-02-22 21:17 thomas
* doc/src/sgml/installation.sgml: Freshen with a few recent
platform reports: Linux/Alpha, Linux/Sparc, MacOS-X.
2001-02-22 20:21 momjian
* src/bin/pgaccess/lib/languages/: chinese-gb, chinese_gb:
chinese-gb -> chinese_gb.
2001-02-22 20:21 momjian
* src/bin/pgaccess/lib/languages/: chinese, chinese-gb: Rename to
chinese-gb
2001-02-22 18:20 momjian
* src/backend/storage/lmgr/lock.c: More comment cleanups.
2001-02-22 18:02 momjian
* src/: backend/storage/lmgr/lock.c, include/access/nbtree.h,
include/storage/lmgr.h, include/storage/lock.h: More comment
improvements.
2001-02-22 16:48 momjian
* src/: backend/access/common/indextuple.c,
backend/access/gist/gist.c, backend/access/hash/hash.c,
backend/access/hash/hashutil.c, include/access/itup.h,
include/access/nbtree.h: Clean up index/btree comments/macros, as
approved.
2001-02-22 13:39 momjian
* src/: backend/utils/cache/catcache.c,
backend/utils/cache/inval.c, backend/utils/cache/relcache.c,
backend/utils/cache/syscache.c, include/storage/shmem.h: Change
/*---- commants to /* where appropriate. pgindent will tighten up
the comments later.
2001-02-22 13:09 momjian
* src/tools/backend/flow.fig: Update flowchart xfig file.
2001-02-22 10:33 momjian
* src/bin/pgaccess/lib/languages/chinese: The attachement is
the Chinese (GB) patch for PgAccess, don't know
if it's correct to post here. It's simple to do the translation,
And I've test in 7.0.2 & current CVS, seems pretty good. If anyone
want this little thing, I'll very happy. use it is very simple,
just gunzip it and copy to $PGDIR/share/pgaccess/lib/languages/ for
current CVS version, and $PGDIR/pgaccess/lib/languages/ for 7.0*
BTW: I havn't got the tools to translate it to BIG5 encoding, is
there anybody to to it?
He Weiping(Laser Henry)
2001-02-22 03:59 inoue
* src/backend/access/transam/xlogutils.c: Avoid 'FATAL: out of free
buffers: time to abort !" error during WAL recovery. Recovery
failure is always serious.
2001-02-22 00:32 tgl
* src/test/regress/output/constraints.source: Adjust expected error
message due to change of keyword case-folding.
2001-02-21 23:35 ishii
* src/include/regex/utils.h: Add _REGEX_UTILS_H to avoid
duplication.
2001-02-21 23:30 ishii
* doc/README.mb.jp: Update mutibyte doc
2001-02-21 22:39 inoue
* src/interfaces/odbc/parse.c: Fix the bug report [ODBC] select
from a table having more than 32 fields: reported by Matteo
Cavalleri. Great thanks to Tom for his accurate analysis.
2001-02-21 18:15 tgl
* doc/src/sgml/func.sgml: Document timeofday(), mention
start-of-transaction vs. current-time semantics, a few other small
improvements.
2001-02-21 17:03 tgl
* src/backend/utils/adt/nabstime.c: Correct bogus output formatting
of timeofday() function. A number of microseconds < 100000 should
be displayed as, eg, 13.000126, not 13.126.
2001-02-21 14:07 momjian
* src/include/: access/htup.h, access/itup.h, access/nbtree.h,
storage/bufpage.h: Comment improvements.
2001-02-21 13:53 tgl
* src/: backend/parser/keywords.c, backend/parser/scan.l,
backend/utils/adt/ruleutils.c,
interfaces/ecpg/preproc/ecpg_keywords.c,
interfaces/ecpg/preproc/keywords.c, interfaces/ecpg/preproc/pgc.l:
Change case-folding of keywords to conform to SQL99 and fix
misbehavior in Turkish locale. Keywords are now checked under pure
ASCII case-folding rules ('A'-'Z'->'a'-'z' and nothing else).
However, once a word is determined not to be a keyword, it will be
case-folded under the current locale, same as before. See
pghackers discussion 20-Feb-01.
2001-02-21 12:50 petere
* doc/src/sgml/plsql.sgml: Fix markup. (A <keyword> isn't what it
is in SQL.) Add jungle of more markup. ;-)
2001-02-21 01:05 ishii
* src/backend/utils/error/elog.c: Safe guard in case of imporper
data is provided to elog() in multi-byte build.
2001-02-21 01:03 ishii
* src/test/mb/expected/: big5.out, euc_cn.out, euc_jp.out,
euc_kr.out, euc_tw.out, mule_internal.out, sjis.out, unicode.out:
new regression data for 7.1
2001-02-21 01:02 ishii
* src/test/mb/mbregress.sh: change destroydb -> dropdb
2001-02-20 17:27 petere
* doc/src/sgml/indices.sgml: Add more details.
2001-02-20 17:27 petere
* doc/src/sgml/stylesheet.dsl: Turn on section numbering.
2001-02-20 15:37 tgl
* src/include/Makefile: Clean out any old versions of
no-longer-installed header files that may be lurking in the install
target directory. But don't zap up-to-date headers (so
install-all-headers before regular install will work). Per
suggestion from Larry Rosenman.
2001-02-20 14:39 tgl
* src/interfaces/odbc/dlg_specific.h: Remove unportable #warning
directive.
2001-02-20 14:20 petere
* contrib/array/Makefile, contrib/cube/Makefile,
contrib/earthdistance/Makefile, contrib/findoidjoins/Makefile,
contrib/fulltextindex/Makefile, contrib/intarray/Makefile,
contrib/isbn_issn/Makefile, contrib/lo/Makefile,
contrib/mSQL-interface/Makefile, contrib/miscutil/Makefile,
contrib/noupdate/Makefile, contrib/oid2name/Makefile,
contrib/pg_dumplo/Makefile, contrib/pgbench/Makefile,
contrib/rserv/Makefile, contrib/seg/Makefile, contrib/spi/Makefile,
contrib/string/Makefile, contrib/userlock/Makefile,
contrib/vacuumlo/Makefile, src/Makefile.global.in,
src/Makefile.shlib, src/backend/tioga/Makefile,
src/bin/pg_dump/Makefile, src/bin/pg_encoding/Makefile,
src/bin/pgtclsh/Makefile, src/bin/psql/Makefile,
src/interfaces/ecpg/lib/Makefile,
src/interfaces/ecpg/preproc/Makefile,
src/interfaces/libpgeasy/Makefile,
src/interfaces/libpgtcl/Makefile, src/interfaces/libpq/Makefile,
src/interfaces/libpq++/Makefile, src/interfaces/odbc/GNUmakefile,
src/makefiles/Makefile.win, src/pl/plpgsql/src/Makefile,
src/test/bench/Makefile, src/test/examples/Makefile,
src/test/regress/GNUmakefile: Make sure -L and -I's for our source
tree are always before system include or library directories on the
command line.
2001-02-20 14:06 tgl
* doc/FAQ_HPUX: Remove obsolete claim that it doesn't work to use
gcc with HP's C++ compiler or g++ with HP's C compiler.
2001-02-20 14:04 tgl
* src/template/hpux: Select optimization by default for HP's C
compiler.
2001-02-20 12:35 momjian
* doc/TODO: Update TODO list.
2001-02-20 12:25 momjian
* doc/TODO: Update TODO list.
2001-02-20 10:34 momjian
* contrib/pgcrypto/: Makefile, krb.c: Changes:
* reverse the change #include <> -> "" in krb.c. It _must not_
include files in "." * Makefile update. Inconsistent var usage
and SHLIB was not set.
Now it should work with all external libs.
arko Kreen
2001-02-19 20:34 tgl
* src/backend/postmaster/postmaster.c: Truncate incoming username
and database name to NAMEDATALEN-1 characters so that we don't
reject overlength names unnecessarily.
2001-02-19 20:33 momjian
* doc/FAQ_HPUX: Update HPUX FAQ.
2001-02-19 20:16 tgl
* doc/src/sgml/ref/pg_passwd.sgml, src/bin/pg_passwd/pg_passwd.c:
Fix pg_passwd's failure to cope with usernames > 8 chars.
2001-02-19 19:28 tgl
* src/include/c.h: Remove inclusion of <varargs.h> on SunOS; this
does not work since we use the ANSI varargs style (<stdarg.h>) not
the old style. Tatsuo had reported this change was necessary back
in the 7.0 beta cycle (4/13/00) but for some reason, making the
edit never got done.
2001-02-19 17:25 tgl
* doc/src/sgml/installation.sgml: Document --enable-cassert.
2001-02-19 16:52 momjian
* doc/TODO: Update TODO list.
2001-02-19 15:46 momjian
* doc/TODO: Update TODO list.
2001-02-19 14:49 tgl
* src/include/executor/spi.h, doc/src/sgml/plsql.sgml,
src/backend/executor/spi.c, src/pl/plpgsql/src/gram.y,
src/pl/plpgsql/src/pl_exec.c, src/pl/plpgsql/src/pl_funcs.c,
src/pl/plpgsql/src/plpgsql.h, src/pl/plpgsql/src/scan.l: Change
plpgsql's GET DIAGNOSTICS statement to use SQL99-compatible syntax.
Fix the RESULT_OID case, which never worked. Add documentation.
2001-02-19 14:06 momjian
* doc/TODO: Update TODO list.
2001-02-19 11:55 momjian
* doc/TODO: Update TODO list.
2001-02-19 10:23 momjian
* doc/TODO: Update TODO list.
2001-02-19 02:30 meskes
* src/interfaces/ecpg/: ChangeLog, preproc/preproc.y: Synced gram.y
and preproc.y.
2001-02-19 00:16 ishii
* configure, configure.in: Fix nasty bug in configure.
STRTOL='strtoul.o' --> STRTOUL='strtoul.o'
2001-02-18 19:24 tgl
* doc/src/sgml/perform.sgml: Update example of partially
constraining join order to use a subselect in FROM instead of an
auxiliary view. We didn't have subselect-in-FROM when I wrote this
originally...
2001-02-18 19:01 tgl
* doc/src/sgml/func.sgml: AND/OR truth table needs another row
IMHO.
2001-02-18 13:33 momjian
* doc/FAQ_BSDI, src/bin/Makefile, src/bin/initdb/Makefile,
src/bin/initdb/initdb.sh, src/bin/initlocation/Makefile,
src/bin/initlocation/initlocation.sh, src/bin/ipcclean/Makefile,
src/bin/pg_dump/Makefile, src/bin/pg_dump/pg_dump.c,
src/bin/pgaccess/Makefile, src/bin/pgaccess/README,
src/bin/pgaccess/copyright.html,
src/bin/pgaccess/doc/html/copyright.html,
src/bin/pgaccess/lib/help/copyrights.hlp, src/bin/pgtclsh/Makefile,
src/bin/pgtclsh/pgtclAppInit.c, src/bin/psql/Makefile,
src/bin/scripts/Makefile, src/bin/scripts/createlang.sh,
src/bin/scripts/createuser, src/bin/scripts/dropdb,
src/bin/scripts/droplang, src/bin/scripts/dropuser,
src/bin/scripts/vacuumdb: Add copyright mentions, per Tom Lane.
2001-02-18 13:06 petere
* src/backend/parser/gram.y: Allow extract() to accept the same
field selectors as date_part(), not just the ones specified by SQL.
2001-02-18 12:53 tgl
* doc/src/sgml/ref/createdb.sgml, src/bin/scripts/createdb,
src/test/regress/pg_regress.sh: Add --template option to createdb
script to allow access to WITH TEMPLATE option of CREATE DATABASE.
In pg_regress, create regression database from template0 to ensure
that any installation-local cruft in template1 will not mess up the
tests.
2001-02-18 12:17 petere
* doc/src/sgml/func.sgml: Enhance documentation of date/time
functions. Add extract, current_date, current_time,
current_timestamp. Add more examples. Remove age(), because it
doesn't work like it is documented, and no one could explain it to
me.
2001-02-18 12:15 petere
* doc/src/sgml/stylesheet.dsl: Make <lineannotation> italic. Fix
syntax error in print style.
2001-02-18 01:07 tgl
* doc/src/sgml/indices.sgml: Add note that partial indices are not
currently supported.
2001-02-18 00:30 tgl
* doc/src/sgml/runtime.sgml: Update description of fsync option for
7.1.
2001-02-17 23:50 tgl
* doc/src/sgml/wal.sgml, src/backend/access/transam/xact.c,
src/backend/utils/misc/guc.c,
src/backend/utils/misc/postgresql.conf.sample: Change default
commit_delay to zero, update documentation.
2001-02-17 23:39 tgl
* configure.in, configure, src/backend/access/transam/xlog.c,
src/backend/storage/buffer/bufmgr.c,
src/backend/storage/buffer/s_lock.c, src/backend/storage/file/fd.c,
src/include/config.h.in, src/include/storage/fd.h,
src/include/storage/s_lock.h: Change s_lock to not use any
zero-delay select() calls; these are just a waste of cycles on
single-CPU machines, and of dubious utility on multi-CPU machines
too. Tweak s_lock_stuck so that caller can specify timeout
interval, and increase interval before declaring stuck spinlock for
buffer locks and XLOG locks. On systems that have fdatasync(), use
that rather than fsync() to sync WAL log writes. Ensure that WAL
file is entirely allocated during XLogFileInit.
2001-02-17 23:28 tgl
* src/backend/tcop/postgres.c: Remove bogus set_ps_display call ---
changing displayed status here is either wrong or unnecessary in
most cases, and on systems where setting status takes a kernel
call, the overhead of setting status three times per command rather
than two is annoying.
2001-02-17 11:52 tgl
* doc/src/sgml/: docguide.sgml, installation.sgml: Catch some stray
references to .htm files.
2001-02-17 11:47 tgl
* doc/src/Makefile: No more .htm files, so don't try to add them to
the doc tarballs.
2001-02-17 09:35 momjian
* doc/TODO: Update TODO list.
2001-02-17 05:03 ishii
* src/bin/psql/command.c: Fix a bug in psql. unescape() does not
work for multi-byte encodings.
2001-02-17 01:50 ishii
* contrib/pgbench/README.pgbench_jis: Fix README in Japanese to
sync with README.pgbench updated by Tom. (thanks!)
2001-02-16 22:37 tgl
* src/interfaces/libpq/fe-misc.c: Seems a bad idea to assume that
select(2) doesn't touch the input masks if it returns EINTR.
2001-02-16 20:00 tgl
* src/backend/storage/file/fd.c: Add current seek position to
FDDEBUG output for FileRead, FileWrite, FileSeek.
2001-02-16 18:50 tgl
* src/include/storage/s_lock.h: Just noticed that use of 'volatile'
in HPPA S_UNLOCK() was causing gcc to generate unnecessarily stupid
code. Tweak macro to describe a series of store-constant ops, not
store/load/store/load/store/load/store.
2001-02-16 16:41 tgl
* contrib/pgbench/README.pgbench: Update README's install
instructions to agree with current reality.
2001-02-16 14:43 momjian
* doc/: FAQ_BSDI, src/sgml/runtime.sgml: Update bsdi shared memory
stuff.
2001-02-16 14:27 momjian
* doc/: FAQ_BSDI, src/sgml/runtime.sgml: Update BSDI FAQ.
2001-02-16 13:50 tgl
* src/backend/utils/init/postinit.c: Defend against starting a
non-MULTIBYTE-enabled backend in a database with encoding other
than SQL_ASCII. Per recent discussion in pghackers.
2001-02-16 11:44 peter
* src/interfaces/jdbc/: CHANGELOG,
org/postgresql/jdbc2/DatabaseMetaData.java,
org/postgresql/jdbc2/PreparedStatement.java,
org/postgresql/jdbc2/ResultSet.java,
org/postgresql/jdbc2/Statement.java,
org/postgresql/largeobject/PGclob.java,
org/postgresql/test/jdbc2/TimestampTest.java: Some more updates...
Fri Feb 17 15:11:00 GMT 2001 peter@retep.org.uk - Reduced
the object overhead in PreparedStatement by reusing the same
StringBuffer object throughout. Similarly SimpleDateStamp's are
alse reused in a thread save manner. -
Implemented in PreparedStatement: setNull(), setDate/Time/Timestamp
using Calendar, setBlob(), setCharacterStream()
- Clob's are now implemented in ResultSet & PreparedStatement!
- Implemented a lot of DatabaseMetaData & ResultSetMetaData
methods. We have about 18 unimplemented methods left in
JDBC2 at the current time.
2001-02-16 11:10 momjian
* doc/: FAQ_BSDI, src/sgml/runtime.sgml: Update BSDI SGML.
2001-02-15 22:49 tgl
* src/interfaces/odbc/convert.c: ichar() has been renamed to chr(),
so fix translation table.
2001-02-15 22:26 tgl
* src/pl/tcl/pltcl.c: Fix bugs in pltcl's new return_null command:
it was liable to go belly up if the return datatype's input
converter was at all strict, because the converter would get called
on junk data when returning NULL. Also ensure that it gives an
error rather than coredumping if someone tries to use it in a
trigger function.
2001-02-15 22:22 tgl
* src/pl/tcl/test/: test.expected, test_queries.sql: Fix erroneous
sort request in pltcl selftest.
2001-02-15 22:16 tgl
* src/: backend/executor/nodeAgg.c, backend/executor/nodeGroup.c,
backend/optimizer/path/indxpath.c,
backend/optimizer/plan/initsplan.c, backend/parser/parse_clause.c,
backend/commands/analyze.c, backend/parser/parse_expr.c,
backend/parser/parse_oper.c, include/parser/parse_oper.h: Clean up
two rather nasty bugs in operator selection code.
1. If there is exactly one pg_operator entry of the right name and
oprkind, oper() and related routines would return that entry
whether its input type had anything to do with the request or not.
This is just premature optimization: we shouldn't return the single
candidate until after we verify that it really is a valid
candidate, ie, is at least coercion-compatible with the given
types.
2. oper() and related routines only promise a coercion-compatible
result. Unfortunately, there were quite a few callers that assumed
the returned operator is binary-compatible with the given datatype;
they would proceed to call it without making any datatype
coercions. These callers include sorting, grouping, aggregation,
and VACUUM ANALYZE. In general I think it is appropriate for these
callers to require an exact or binary-compatible match, so I've
added a new routine compatible_oper() that only succeeds if it can
find an operator that doesn't require any run-time conversions.
Callers now call oper() or compatible_oper() depending on whether
they are prepared to deal with type conversion or not.
The upshot of these bugs is revealed by the following silliness in
PL/Tcl's selftest: it creates an operator @< on int4, and then
tries to use it to sort a char(N) column. The system would let it
do that :-( (and evidently has done so since 6.3 :-( :-(). The
result in this case was just a silly sort order, but the reverse
combination would've provoked coredump from trying to dereference
integers. With this fix you get more reasonable behavior:
pltcl_test=# select * from T_pkey1 order by key1, key2 using @<;
ERROR: Unable to identify an operator '@<' for types 'bpchar' and
'bpchar' You will have to retype this query using an
explicit cast
2001-02-15 22:10 inoue
* src/interfaces/odbc/convert.c: Add casting for
numeric/float4/float8 type value automatically to compensate the
lack of automatic conversion functionality of PostgreSQL server.
For example if there's a numeric type binding 1.2567 -->
1.2567::numeric. I hope this change would enable the use of
numeric type in MS-Access etc.
Thanks Hiroki Kataoka for his checking my code.
2001-02-15 19:46 momjian
* doc/FAQ_BSDI: Update bsdi faq.
2001-02-15 19:17 momjian
* doc/FAQ_BSDI: Update bsdi faq.
2001-02-15 19:03 tgl
* src/: include/optimizer/cost.h, include/optimizer/pathnode.h,
backend/optimizer/path/costsize.c,
backend/optimizer/path/joinrels.c,
backend/optimizer/util/relnode.c: Take OUTER JOIN semantics into
account when estimating the size of join relations. It's not very
bright, but at least it now knows that A LEFT JOIN B must produce
at least as many rows as are in A ...
2001-02-15 17:21 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-02-15 17:15 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-02-15 16:57 tgl
* src/backend/utils/adt/ri_triggers.c: Add some notes about memory
management of RI plans.
2001-02-15 16:47 tgl
* src/backend/executor/nodeAgg.c: Update comments about memory
management.
2001-02-15 16:38 tgl
* src/backend/utils/mmgr/README: Update notes about memory context
scheme.
2001-02-15 16:11 tgl
* doc/src/sgml/ref/declare.sgml: Update obsolete wording of error
message.
2001-02-15 15:57 tgl
* src/: backend/access/common/indextuple.c,
backend/access/heap/tuptoaster.c, include/access/tuptoaster.h:
Although we can't support out-of-line TOAST storage in indexes
(yet), compressed storage works perfectly well. Might as well have
a coherent strategy for applying it, rather than the haphazard
store-what-you-get approach that was in the code before. The
strategy I've set up here is to attempt compression of any
compressible index value exceeding BLCKSZ/16, or about 500 bytes by
default.
2001-02-15 14:03 tgl
* doc/src/sgml/xfunc.sgml: Further polishing of documentation about
new fmgr call convention.
2001-02-15 12:55 tgl
* src/backend/utils/adt/geo_selfuncs.c: Reduce default selectivity
estimates for geometric operators; it seems the old ones were not
small enough to ensure r-tree and gist indexes would get picked
when available. These numbers are totally bogus anyway, but in the
absence of any real estimation technique, we'd like to select
indexes when available ...
2001-02-15 12:46 tgl
* src/backend/optimizer/path/costsize.c: Update a couple of
obsolete comments.
2001-02-15 11:21 momjian
* doc/TODO: Update TODO list.
2001-02-15 11:03 momjian
* doc/TODO: Update TODO list.
2001-02-15 08:31 momjian
* HISTORY, doc/src/sgml/release.sgml: Update for Tatsuo.
2001-02-15 00:32 inoue
* src/interfaces/odbc/: connection.c, psqlodbc.h, psqlodbc.rc,
qresult.c, qresult.h, statement.c: 1) Change transaction boundary
in autocommit off mode per recent discussion in pgsql-odbc. Now
SELECT is a boundary but VACUUM isn't. 2) Put back the error
handling behavior. When elog(ERROR) was detected the driver
automatically issue "ABORT" if a transaction is in progress. 3)
Driver version is 7.01.0003(Dave already set it but it was put
back).
2001-02-14 23:28 tgl
* doc/src/sgml/runtime.sgml: Clarify meaning of GEQO_THRESHOLD
parameter.
2001-02-14 23:10 tgl
* doc/src/sgml/: queries.sgml, sql.sgml: Improve documentation of
JOIN syntax. Explain NATURAL as an alternative to ON and USING for
specifying the join condition, not as an independent kind of join
semantics.
2001-02-14 20:56 ishii
* src/backend/utils/mb/Unicode/: sjis_to_utf8.map,
utf8_to_sjis.map: Unicode <-> SJIS new mapping tables (based on
CP932.TXT) contributed by Eiji Tokuya"
<e-tokuya@Mail.Sankyo-Unyu.co.jp>
2001-02-14 20:10 tgl
* src/backend/parser/analyze.c: Arrange for ORDER BY an expression
on a UNION/INTERSECT/EXCEPT result, such as SELECT f1 FROM foo
UNION SELECT ... ORDER BY upper(f1) to draw 'ORDER BY on a
UNION/INTERSECT/EXCEPT result must be on one of the result columns'
rather than the uninformative 'f1 not found' we were producing
before. Eventually this should actually work, but that looks much
too hard to try to implement in late beta...
2001-02-14 18:32 tgl
* src/backend/parser/analyze.c: Repair problems with duplicate
index names generated when CREATE TABLE specifies redundant UNIQUE
conditions.
2001-02-14 16:34 tgl
* src/: backend/catalog/heap.c, backend/commands/command.c,
backend/parser/analyze.c, backend/parser/parse_clause.c,
backend/parser/parse_expr.c, backend/parser/parse_func.c,
backend/parser/parse_node.c, backend/parser/parse_relation.c,
backend/parser/parse_target.c, backend/utils/adt/ruleutils.c,
include/nodes/primnodes.h, include/parser/parse_clause.h,
include/parser/parse_node.h, include/parser/parse_relation.h,
include/utils/builtins.h, tools/backend/index.html: Change scoping
of table and join refnames to conform to SQL92: a JOIN clause with
an alias is a <subquery> and therefore hides table references
appearing within it, according to the spec. This is the same as
the preliminary patch I posted to pgsql-patches yesterday, plus
some really grotty code in ruleutils.c to reverse-list a query tree
with the correct alias name depending on context. I'd rather not
have done that, but unless we want to force another initdb for 7.1,
there's no other way for now.
2001-02-14 14:37 petere
* doc/src/sgml/datatype.sgml: Alter documentation of boolean type,
add example. Someone figured that it wasn't clear that the
"boolean type" was actually called "boolean". Add tip about
"casting" booleans using CASE.
Spell check whole file.
2001-02-14 14:35 petere
* doc/src/sgml/stylesheet.dsl: Format <structname>, <structfield>,
and <type> mono-spaced.
2001-02-14 12:45 peter
* src/interfaces/jdbc/: CHANGELOG, build.xml,
org/postgresql/jdbc2/PreparedStatement.java,
org/postgresql/largeobject/BlobOutputStream.java,
org/postgresql/largeobject/LargeObject.java,
org/postgresql/test/JDBC2Tests.java,
org/postgresql/test/jdbc2/BlobTest.java: Web Feb 14 17:29:00 GMT
2001 peter@retep.org.uk - Fixed bug in LargeObject &
BlobOutputStream where the stream's output was not
flushed when either the stream or the blob were closed. -
Fixed PreparedStatement.setBinaryStream() where it ignored the
length
2001-02-14 10:12 momjian
* doc/TODO: Update TODO list.
2001-02-14 01:10 momjian
* src/interfaces/odbc/psqlodbc.rc: Add 7.X to dialog box.
2001-02-14 00:45 momjian
* src/interfaces/odbc/: GNUmakefile, bind.c, bind.h, columninfo.c,
columninfo.h, connection.c, connection.h, convert.c, convert.h,
dlg_specific.c, dlg_specific.h, drvconn.c, environ.c, environ.h,
execute.c, gpps.c, gpps.h, info.c, iodbc.h, isql.h, isqlext.h,
lobj.c, lobj.h, misc.c, misc.h, options.c, parse.c, pgtypes.c,
pgtypes.h, psqlodbc.c, psqlodbc.h, psqlodbc.rc, qresult.c,
qresult.h, resource.h, results.c, setup.c, socket.c, socket.h,
statement.c, statement.h, tuple.c, tuple.h, tuplelist.c,
tuplelist.h: Back out all ODBC formatting changes, and back out
removal of <6.4 protocol. I have left in Tom's SOCK_get_next_byte()
fix, and the new win32.mak file addition. I have also left in the
'X' connection close fix.
2001-02-13 21:42 momjian
* doc/TODO: Update TODO list.
2001-02-13 17:35 petere
* doc/src/sgml/stylesheet.dsl: Hmm, so referencing a CSS stylesheet
when there isn't one doesn't work everywhere.
2001-02-13 17:05 petere
* doc/src/sgml/release.sgml: Fix markup.
2001-02-13 16:51 petere
* doc/src/sgml/Makefile: Didn't work when Makefile.custom is
missing.
2001-02-13 16:27 petere
* doc/src/sgml/: Makefile, stylesheet.dsl: Custom DSSSL stylesheet.
Style changes included here: HTML: * make .html the default
extension * allow use of CSS stylesheet ("stylesheet.css", not
included) * make <set> TOC two levels deep * put time of creation
into meta header Print: * make print output justified by default *
footnotes at bottom of each page * allow TeX to hyphenate
2001-02-13 16:13 petere
* doc/src/sgml/queries.sgml: Fix tag.
2001-02-13 15:54 momjian
* doc/: TODO, TODO: Update TODO list.
2001-02-13 15:40 vadim
* src/backend/access/transam/xlog.c: Comments about
GetFreeXLBuffer(). GetFreeXLBuffer(): use Insert->LgwrResult
instead of private LgwrResult copy if it's more fresh (attempt to
avoid acquiring info_lck/lgwr_lck).
2001-02-13 11:39 peter
* src/interfaces/jdbc/: CHANGELOG, org/postgresql/Field.java,
org/postgresql/ResultSet.java,
org/postgresql/jdbc2/Connection.java,
org/postgresql/jdbc2/DatabaseMetaData.java,
org/postgresql/jdbc2/PreparedStatement.java,
org/postgresql/jdbc2/ResultSet.java,
org/postgresql/jdbc2/Statement.java,
org/postgresql/test/JDBC2Tests.java,
org/postgresql/test/jdbc2/ConnectionTest.java,
org/postgresql/test/jdbc2/DatabaseMetaDataTest.java,
org/postgresql/test/jdbc2/DateTest.java,
org/postgresql/test/jdbc2/JBuilderTest.java,
org/postgresql/test/jdbc2/MiscTest.java,
org/postgresql/test/jdbc2/TimeTest.java,
org/postgresql/test/jdbc2/TimestampTest.java,
org/postgresql/util/PGmoney.java: Some more including the patch to
DatabaseMetaData backed out by Bruce.
Tue Feb 13 16:33:00 GMT 2001 peter@retep.org.uk - More
TestCases implemented. Refined the test suite api's. -
Removed need for SimpleDateFormat in ResultSet.getDate() improving
performance. - Rewrote ResultSet.getTime() so
that it uses JDK api's better.
Tue Feb 13 10:25:00 GMT 2001 peter@retep.org.uk - Added
MiscTest to hold reported problems from users. - Fixed
PGMoney. - JBuilder4/JDBCExplorer now works with Money
fields. Patched Field & ResultSet (lots of methods) for
this one. Also changed cash/money to return type DOUBLE
not DECIMAL. This broke JBuilder as zero scale
BigDecimal's can't have decimal places! - When a Statement
is reused, the previous ResultSet is now closed. - Removed
deprecated call in ResultSet.getTime()
Thu Feb 08 18:53:00 GMT 2001 peter@retep.org.uk - Changed a
couple of settings in DatabaseMetaData where 7.1 now
supports those features - Implemented the DatabaseMetaData
TestCase.
Wed Feb 07 18:06:00 GMT 2001 peter@retep.org.uk - Added
comment to Connection.isClosed() explaining why we deviate from
the JDBC2 specification. - Fixed bug where the
Isolation Level is lost while in autocommit mode. - Fixed
bug where several calls to getTransactionIsolationLevel()
returned the first call's result.
2001-02-13 11:11 momjian
* doc/TODO: Update TODO list.
2001-02-13 10:43 momjian
* src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java:
Back out *inv* changes for this file. Peter want to handle it.
2001-02-13 09:33 momjian
* src/test/regress/expected/: abstime-1947-PDT.out,
horology-1947-PDT.out, tinterval-1947-PDT.out: Remove unused files,
per Andreas
2001-02-13 09:32 momjian
* src/: backend/utils/adt/nabstime.c,
backend/utils/adt/timestamp.c, include/port/aix.h,
include/port/irix5.h, test/regress/resultmap: Please apply the
following patch to fix AIX and IRIX timestamp behavior as
previously discussed.
It makes AIX and IRIX not use DST for dates before 1970.
The following expected files need to be removed from the regression
tests, they contain wrong results and are not needed any more.
src/test/regress/expected/horology-1947-PDT.out
src/test/regress/expected/tinterval-1947-PDT.out
src/test/regress/expected/abstime-1947-PDT.out
Zeugswetter Andreas
2001-02-13 03:44 vadim
* src/backend/access/transam/xlog.c: Removed abort() in
XLogFileOpen.
2001-02-12 20:57 pjw
* src/backend/commands/sequence.c: Added some comments to setval,
setval_is_called and do_setval
2001-02-12 20:31 pjw
* src/bin/pg_dump/: pg_backup_archiver.h, pg_backup_tar.c,
pg_dump.c: - Fix help output: replace 'f' with 't' and change desc
- Add extra arg to formatStringLiteral to specify how to handle LF
& TAB. I opted for encoding them except in procedure bodies &
comments - Fixed bug in tar file input when restoring blobs
2001-02-12 19:02 tgl
* src/: backend/regex/engine.c, backend/regex/regcomp.c,
backend/regex/regerror.c, backend/regex/regexec.c,
backend/regex/regfree.c, include/regex/cclass.h,
include/regex/regex.h, include/regex/regex2.h: Clean up portability
problems in regexp package: change all routine definitions from K&R
to ANSI C style, and fix broken assumption that int and long are
the same datatype. This repairs problems observed on Alpha with
regexps having between 32 and 63 states.
2001-02-12 17:50 momjian
* src/interfaces/odbc/win32.mak: Attached is a makefile for the
ODBC driver for use under win32. It has been tested only with MS
VC++ 6.0SP4 using nmake.
Dave Page
2001-02-12 17:17 tgl
* src/include/regex/regexp.h: Hmm, this isn't used either.
2001-02-12 17:13 tgl
* src/include/regex/cdefs.h: Remove unused and
largely-broken-anyway compatibility defs.
2001-02-12 16:49 momjian
* contrib/oid2name/oid2name.c: Bruce Momjian
<pgman@candle.pha.pa.us> writes:
> OK, add #include <stdio.h> to the file. That should fix it.
Seems unlikely, since libpq-fe.h already includes <stdio.h>.
The real problem here is that the code is wrong: it's passing NULL
to an int parameter.
regards, tom lane
2001-02-12 16:45 momjian
* src/interfaces/odbc/resource.h: New MS resource file, pgindented.
2001-02-12 16:03 tgl
* src/backend/nodes/readfuncs.c: Suppress compiler warning on
Alpha.
2001-02-12 15:07 tgl
* src/: include/catalog/pg_type.h, backend/catalog/heap.c,
backend/catalog/pg_type.c, backend/commands/define.c: Rearrange
order of operations in heap_create_with_catalog so that if two
transactions create the same table name concurrently, the one that
fails will complain about unique index pg_class_relname_index,
rather than about pg_type_typname_index which'll confuse most
people. Free side benefit: pg_class.reltype is correctly linked to
the pg_type entry now. It's been zero in all but the preloaded
pg_class entries since who knows when.
2001-02-12 13:46 momjian
* src/backend/optimizer/util/clauses.c: Cleanup
2001-02-12 13:37 momjian
* contrib/oid2name/oid2name.c: Add stdio to file.
2001-02-12 13:30 momjian
* contrib/intarray/_int.c, src/backend/optimizer/util/clauses.c,
src/tools/pgindent/pgindent: Add // -> /* */ mapping to pgindent.
2001-02-12 12:54 momjian
* src/interfaces/odbc/resource.h: Update ODBC resource MS-generated
file.
2001-02-12 09:21 momjian
* doc/src/sgml/: datetime.sgml, func.sgml: User Manual
Chapter 4
String Operators
Table 4.7: Other String Functions
strpos is missing the result in the result column, it should
be 2
Also to_ascii might need a result but maybe not.
Appendix A In the Time Zone Table Greenwich is spelled Greenwish
David Aldrich
2001-02-12 09:17 momjian
* src/interfaces/odbc/resource.h: Change more // comments.
2001-02-12 08:56 momjian
* src/interfaces/ecpg/lib/execute.c: Remove // and make /* */
2001-02-12 08:55 momjian
* contrib/oid2name/oid2name.c: Add #include <unistd.h>
2001-02-12 08:09 momjian
* doc/src/sgml/release.sgml: New release format, Peter E style.
2001-02-12 07:59 momjian
* src/interfaces/odbc/resource.h: Replace // comments from file for
MS products.
2001-02-12 07:52 momjian
* src/backend/utils/adt/formatting.c: poit -> point.
2001-02-11 18:46 tgl
* src/interfaces/odbc/socket.c: SOCK_get_next_byte should not
return garbage after error/EOF. Return zero bytes instead.
2001-02-11 18:34 momjian
* src/interfaces/odbc/socket.c: Remove unneeded shutdown() call,
per Tom Lane.
2001-02-11 18:12 tgl
* src/backend/postmaster/postmaster.c: Improve error message when
startup or shutdown proc fails.
2001-02-11 09:20 momjian
* doc/src/sgml/release.sgml: Move release date into release
heading.
2001-02-11 08:58 momjian
* src/interfaces/odbc/: connection.h, isql.h, isqlext.h: More
cleanups.
2001-02-11 08:53 momjian
* src/interfaces/odbc/: columninfo.h, connection.h, dlg_specific.h,
gpps.h, iodbc.h, isql.h, isqlext.h, misc.h, pgtypes.h, psqlodbc.h,
socket.h, statement.h: Include file alignment fixes.
2001-02-11 08:15 momjian
* src/interfaces/odbc/socket.c: Move X packet before shutdown().
2001-02-11 00:58 momjian
* src/: interfaces/odbc/bind.c, interfaces/odbc/columninfo.h,
interfaces/odbc/connection.c, interfaces/odbc/connection.h,
interfaces/odbc/drvconn.c, interfaces/odbc/environ.c,
interfaces/odbc/execute.c, interfaces/odbc/gpps.h,
interfaces/odbc/info.c, interfaces/odbc/iodbc.h,
interfaces/odbc/isql.h, interfaces/odbc/isqlext.h,
interfaces/odbc/options.c, interfaces/odbc/pgtypes.h,
interfaces/odbc/psqlodbc.c, interfaces/odbc/psqlodbc.h,
interfaces/odbc/results.c, interfaces/odbc/socket.h,
interfaces/odbc/statement.c, interfaces/odbc/statement.h,
tools/pgindent/README, tools/pgindent/pgindent: Source alignment
cleanups.
2001-02-11 00:15 momjian
* src/tools/pgindent/pgindent: More updates.
2001-02-11 00:13 momjian
* src/: interfaces/odbc/bind.c, interfaces/odbc/bind.h,
interfaces/odbc/columninfo.c, interfaces/odbc/columninfo.h,
interfaces/odbc/connection.c, interfaces/odbc/connection.h,
interfaces/odbc/convert.c, interfaces/odbc/convert.h,
interfaces/odbc/dlg_specific.c, interfaces/odbc/dlg_specific.h,
interfaces/odbc/drvconn.c, interfaces/odbc/environ.c,
interfaces/odbc/environ.h, interfaces/odbc/execute.c,
interfaces/odbc/gpps.h, interfaces/odbc/info.c,
interfaces/odbc/isql.h, interfaces/odbc/isqlext.h,
interfaces/odbc/lobj.c, interfaces/odbc/lobj.h,
interfaces/odbc/options.c, interfaces/odbc/parse.c,
interfaces/odbc/pgtypes.c, interfaces/odbc/pgtypes.h,
interfaces/odbc/psqlodbc.h, interfaces/odbc/qresult.c,
interfaces/odbc/qresult.h, interfaces/odbc/results.c,
interfaces/odbc/setup.c, interfaces/odbc/socket.c,
interfaces/odbc/socket.h, interfaces/odbc/statement.c,
interfaces/odbc/statement.h, interfaces/odbc/tuple.c,
interfaces/odbc/tuple.h, interfaces/odbc/tuplelist.c,
interfaces/odbc/tuplelist.h, tools/pgindent/pgindent: More cleanup.
2001-02-11 00:04 momjian
* src/interfaces/odbc/socket.c: More cleanup.
2001-02-10 23:56 momjian
* src/interfaces/: libpq/fe-misc.c, odbc/convert.c,
odbc/dlg_specific.c, odbc/drvconn.c, odbc/execute.c, odbc/info.c,
odbc/isql.h, odbc/options.c, odbc/qresult.c, odbc/resource.h,
odbc/setup.c, odbc/socket.c, odbc/statement.c, odbc/tuplelist.c:
Cleanup of source.
2001-02-10 21:18 momjian
* contrib/Makefile: Add to Makefile.
2001-02-10 21:18 momjian
* contrib/: README, pg_logger/Makefile, pg_logger/README.pg_logger,
pg_logger/pg_logger.c: Add pg_logger to /contrib.
2001-02-10 21:01 momjian
* src/interfaces/odbc/: info.c, psqlodbc.h, psqlodbc.rc,
resource.h: The attached patch does the following:
1) Tidies up the Datasource Dialogue now the version options are
gone. 2) Tidies a comment in info.c. 3) Increments all version
numbers to 07.01.0003 to take account of recent revisions.
Regards, Dave Page
2001-02-10 20:59 ishii
* src/backend/utils/mb/: common.c, wchar.c: Move
pg_encoding_mblen() from common.c to wchar.c.
2001-02-10 20:56 ishii
* src/backend/utils/mb/conv.c: conv.c did not compile anymore. Fix
wrong header file inclusion.
2001-02-10 20:52 ishii
* src/interfaces/libpq/Makefile: Clean up mutibyte supoorting
source files. Now only wchar.c is shared by fronetnd/backend.
2001-02-10 20:48 momjian
* HISTORY, doc/src/sgml/release.sgml: Clean up HISTORY file, add
dates to releases.
2001-02-10 20:41 petere
* doc/src/sgml/ref/pg_dumpall.sgml: Repair markup.
2001-02-10 18:35 momjian
* src/interfaces/odbc/socket.c: Disable X connection close in ODBC
until solution is found.
2001-02-10 17:53 momjian
* src/pl/plpgsql/src/gram.y: Format to match standard conventions
2001-02-10 17:42 momjian
* src/pl/plpgsql/src/gram.y: Convert to standard 4-space tabs.
2001-02-10 17:31 petere
* configure, configure.in, config/missing, config/programs.m4,
contrib/cube/Makefile, contrib/seg/Makefile,
src/backend/bootstrap/Makefile, src/backend/parser/Makefile,
src/interfaces/ecpg/preproc/Makefile, src/pl/plpgsql/src/Makefile:
Only look for bison as YACC; other yaccs need to be selected
explicitly. When no suitable YACC is configured, supply useful
informational messages to users. (Same way flex has been handled
for a while.)
2001-02-10 13:46 momjian
* src/Makefile.shlib: move comment
2001-02-10 13:24 petere
* doc/src/sgml/installation.sgml: Document that NetBSD's libedit
can be used instead of readline.
2001-02-10 13:02 petere
* doc/src/sgml/datatype.sgml: Add note about the availability of
contrib/mac for the macaddr data type.
2001-02-10 12:36 momjian
* src/Makefile.shlib: Add comment about linker/compiler on bsd.
2001-02-10 12:17 momjian
* src/: Makefile.shlib, makefiles/Makefile.freebsd,
makefiles/Makefile.openbsd: Fix -Bsymbolic for FreeBSD and OpenBSD.
NetBSD already had all these fixes.
2001-02-10 11:51 petere
* src/: Makefile.shlib, interfaces/odbc/GNUmakefile,
makefiles/Makefile.bsdi: Repair BSD/OS shared library fixes.
2001-02-10 11:41 momjian
* doc/src/sgml/ref/alter_table.sgml: Back out addition. Seems
grammar doesn't handle CONSTRAINT as optional.
2001-02-10 11:39 momjian
* doc/src/sgml/ref/alter_table.sgml: Add mention of CONSTRAINT in
ADD CONSTRAINT section.
2001-02-10 11:26 momjian
* src/Makefile.shlib: Revert shlib changes.
2001-02-10 11:25 momjian
* src/: Makefile.shlib, interfaces/odbc/psqlodbc.rc: Remove protcol
option buttons.
2001-02-10 10:59 momjian
* src/interfaces/odbc/GNUmakefile: ODBC BSD/OS fix.
2001-02-10 07:07 momjian
* contrib/Makefile: cleanup
2001-02-10 06:59 momjian
* contrib/mysql/README: Add URL for my2pg.pl.
2001-02-10 06:53 momjian
* contrib/mysql/README: Add description.
2001-02-10 06:46 momjian
* contrib/README: Add both conversion utilities.
2001-02-10 06:43 momjian
* contrib/mysql/my2pg.pl: cleanup
2001-02-10 06:43 momjian
* contrib/mysql/my2pg.pl: Add other mysql conversion utility for
comparisons.
2001-02-10 06:31 momjian
* src/interfaces/odbc/GNUmakefile: Allow -Bsymbolic on BSDI for
ODBC.
2001-02-10 05:27 petere
* src/bin/ipcclean/ipcclean.sh: Fix on Linux
2001-02-10 03:30 tgl
* doc/src/sgml/queries.sgml: Minor improvements and copy-editing.
2001-02-10 02:11 momjian
* src/interfaces/odbc/: bind.c, columninfo.c, connection.c,
convert.c, dlg_specific.c, drvconn.c, environ.c, execute.c, info.c,
lobj.c, misc.c, options.c, parse.c, pgtypes.c, psqlodbc.c,
qresult.c, results.c, setup.c, socket.c, statement.c, tuplelist.c:
More ODBC formatting cleanup.
2001-02-10 02:08 tgl
* doc/src/sgml/syntax.sgml: Fix example of syntactic ambiguity
between prefix/infix/postfix operators --- Postgres now accepts the
example we claimed it wouldn't. Miscellaneous copy-editing as
well.
2001-02-10 02:01 momjian
* src/: interfaces/odbc/bind.c, interfaces/odbc/bind.h,
interfaces/odbc/columninfo.c, interfaces/odbc/columninfo.h,
interfaces/odbc/connection.c, interfaces/odbc/connection.h,
interfaces/odbc/convert.c, interfaces/odbc/convert.h,
interfaces/odbc/dlg_specific.c, interfaces/odbc/dlg_specific.h,
interfaces/odbc/drvconn.c, interfaces/odbc/environ.c,
interfaces/odbc/environ.h, interfaces/odbc/execute.c,
interfaces/odbc/gpps.c, interfaces/odbc/gpps.h,
interfaces/odbc/info.c, interfaces/odbc/iodbc.h,
interfaces/odbc/isql.h, interfaces/odbc/isqlext.h,
interfaces/odbc/lobj.c, interfaces/odbc/lobj.h,
interfaces/odbc/misc.c, interfaces/odbc/misc.h,
interfaces/odbc/options.c, interfaces/odbc/parse.c,
interfaces/odbc/pgtypes.c, interfaces/odbc/pgtypes.h,
interfaces/odbc/psqlodbc.c, interfaces/odbc/psqlodbc.h,
interfaces/odbc/qresult.c, interfaces/odbc/qresult.h,
interfaces/odbc/resource.h, interfaces/odbc/results.c,
interfaces/odbc/setup.c, interfaces/odbc/socket.c,
interfaces/odbc/socket.h, interfaces/odbc/statement.c,
interfaces/odbc/statement.h, interfaces/odbc/tuple.c,
interfaces/odbc/tuple.h, interfaces/odbc/tuplelist.c,
interfaces/odbc/tuplelist.h, tools/pgindent/README: Run pgindent
over ODBC source. We couldn't do this years ago because we weren't
the master source. We are now, and it really needs it.
2001-02-10 01:58 momjian
* src/interfaces/odbc/statement.c: Remove protocol-dependent code.
This should have been on previous commit.
2001-02-10 01:57 momjian
* src/interfaces/odbc/: connection.c, connection.h, dlg_specific.c,
psqlodbc.h, resource.h, statement.c: Cleanup
2001-02-10 01:12 momjian
* src/bin/ipcclean/ipcclean.sh: More cleanup, again not sure it
works.
2001-02-10 00:55 momjian
* src/bin/ipcclean/ipcclean.sh: Clean up bad variable used in
script. Still not sure it works under Linux.
2001-02-10 00:50 momjian
* src/interfaces/odbc/: GNUmakefile, bind.c, columninfo.c,
connection.c, convert.c, dlg_specific.c, drvconn.c, environ.c,
execute.c, info.c, lobj.c, misc.c, options.c, parse.c, pgtypes.c,
psqlodbc.c, qresult.c, results.c, setup.c, socket.c, statement.c,
tuple.c, tuplelist.c: Properly exit ODBC with 'X', allow linking on
BSD/OS.
2001-02-10 00:32 tgl
* doc/src/sgml/plsql.sgml: Fix documentation of EXECUTE, add
documentation of FOR ... EXECUTE.
2001-02-09 23:07 tgl
* src/include/storage/s_lock.h: Fix byte-vs-word-width oversight in
m68k TAS() code. Man, this brings back some old memories ...
2001-02-09 22:57 tgl
* contrib/findoidjoins/README.findoidjoins: Update findoidjoins
notes for 7.1.
2001-02-09 22:44 tgl
* contrib/findoidjoins/findoidjoins.c: Compile a little more
cleanly.
2001-02-09 22:44 tgl
* contrib/Makefile: Add oid2name subdirectory to contrib Makefile.
2001-02-09 22:12 tgl
* src/interfaces/odbc/statement.c: Ignore leading whitespace when
trying to determine statement type, so that ODBC driver doesn't go
belly up by failing to recognize a SELECT as such.
2001-02-09 21:31 tgl
* GNUmakefile.in, Makefile, contrib/cube/cubedata.h,
contrib/earthdistance/earthdistance.c, contrib/fulltextindex/fti.c,
contrib/intarray/_int.c, contrib/isbn_issn/isbn_issn.c,
contrib/lo/lo.c, contrib/pg_dumplo/main.c,
contrib/pgbench/pgbench.c, contrib/pgcrypto/encode.c,
contrib/pgcrypto/internal.c, contrib/pgcrypto/krb.c,
contrib/pgcrypto/md5.c, contrib/pgcrypto/mhash.c,
contrib/pgcrypto/openssl.c, contrib/pgcrypto/pgcrypto.c,
contrib/pgcrypto/sha1.c, contrib/soundex/soundex.c,
contrib/string/string_io.c, doc/src/sgml/installation.sgml,
src/GNUmakefile.in, src/Makefile, src/backend/lib/dllist.c,
src/backend/libpq/hba.c, src/backend/libpq/pqsignal.c,
src/backend/port/snprintf.c, src/backend/port/dynloader/aix.h,
src/backend/port/dynloader/beos.c,
src/backend/port/dynloader/bsdi.h,
src/backend/port/dynloader/dgux.h,
src/backend/port/dynloader/freebsd.c,
src/backend/port/dynloader/freebsd.h,
src/backend/port/dynloader/hpux.c,
src/backend/port/dynloader/irix5.h,
src/backend/port/dynloader/linux.h,
src/backend/port/dynloader/netbsd.c,
src/backend/port/dynloader/netbsd.h,
src/backend/port/dynloader/nextstep.h,
src/backend/port/dynloader/openbsd.c,
src/backend/port/dynloader/openbsd.h,
src/backend/port/dynloader/qnx4.c,
src/backend/port/dynloader/sco.h,
src/backend/port/dynloader/solaris.h,
src/backend/port/dynloader/sunos4.h,
src/backend/port/dynloader/svr4.h,
src/backend/port/dynloader/ultrix4.c,
src/backend/port/dynloader/univel.h,
src/backend/port/dynloader/unixware.h,
src/backend/port/dynloader/win.h,
src/backend/postmaster/postmaster.c,
src/backend/storage/large_object/inv_api.c,
src/backend/utils/adt/varchar.c, src/backend/utils/adt/varlena.c,
src/backend/utils/fmgr/fmgr.c, src/backend/utils/mb/alt.c,
src/backend/utils/mb/big5.c, src/backend/utils/mb/common.c,
src/backend/utils/mb/conv.c, src/backend/utils/mb/iso.c,
src/backend/utils/mb/liketest.c, src/backend/utils/mb/mbutils.c,
src/backend/utils/mb/wchar.c, src/backend/utils/mb/win.c,
src/backend/utils/mb/wstrcmp.c, src/backend/utils/mb/wstrncmp.c,
src/bin/pg_dump/common.c, src/bin/pg_dump/pg_backup.h,
src/bin/pg_dump/pg_backup_archiver.h,
src/bin/pg_dump/pg_backup_custom.c, src/bin/pg_dump/pg_backup_db.c,
src/bin/pg_dump/pg_backup_files.c,
src/bin/pg_dump/pg_backup_null.c, src/bin/pg_dump/pg_backup_tar.c,
src/bin/pg_dump/pg_dump.c, src/bin/pg_dump/pg_dump.h,
src/bin/pg_dump/pg_restore.c, src/bin/pg_id/pg_id.c,
src/bin/pg_passwd/pg_passwd.c, src/bin/psql/command.c,
src/bin/psql/common.c, src/bin/psql/common.h, src/bin/psql/copy.c,
src/bin/psql/describe.c, src/bin/psql/help.c, src/bin/psql/input.c,
src/bin/psql/large_obj.c, src/bin/psql/mainloop.c,
src/bin/psql/mainloop.h, src/bin/psql/print.c,
src/bin/psql/prompt.c, src/bin/psql/startup.c,
src/bin/psql/stringutils.c, src/bin/psql/tab-complete.c,
src/bin/psql/tab-complete.h, src/bin/psql/variables.c,
src/include/Makefile, src/include/c.h, src/include/miscadmin.h,
src/include/postgres.h, src/include/postgres_ext.h,
src/include/postgres_fe.h, src/include/executor/spi.h,
src/include/libpq/libpq-fs.h, src/include/libpq/pqcomm.h,
src/include/mb/pg_wchar.h, src/include/regex/regex.h,
src/include/regex/regex2.h, src/include/regex/utils.h,
src/include/storage/ipc.h, src/include/utils/dynamic_loader.h,
src/include/utils/exc.h, src/include/utils/geo_decls.h,
src/include/utils/guc.h, src/include/utils/palloc.h,
src/interfaces/ecpg/lib/extern.h,
src/interfaces/ecpg/preproc/c_keywords.c,
src/interfaces/ecpg/preproc/descriptor.c,
src/interfaces/ecpg/preproc/ecpg.c,
src/interfaces/ecpg/preproc/ecpg_keywords.c,
src/interfaces/ecpg/preproc/extern.h,
src/interfaces/ecpg/preproc/keywords.c,
src/interfaces/ecpg/preproc/output.c,
src/interfaces/ecpg/preproc/pgc.l,
src/interfaces/ecpg/preproc/preproc.y,
src/interfaces/ecpg/preproc/type.c,
src/interfaces/ecpg/preproc/type.h,
src/interfaces/ecpg/preproc/variable.c,
src/interfaces/libpgtcl/pgtcl.c,
src/interfaces/libpgtcl/pgtclCmds.c,
src/interfaces/libpgtcl/pgtclId.c, src/interfaces/libpq/fe-auth.c,
src/interfaces/libpq/fe-connect.c, src/interfaces/libpq/fe-exec.c,
src/interfaces/libpq/fe-lobj.c, src/interfaces/libpq/fe-misc.c,
src/interfaces/libpq/fe-print.c, src/interfaces/libpq/libpq-int.h,
src/interfaces/libpq/pqexpbuffer.c,
src/interfaces/libpq/pqsignal.h,
src/interfaces/libpq++/pgconnection.h, src/test/regress/regress.c,
src/tutorial/funcs.c, src/tutorial/funcs_new.c: Restructure the key
include files per recent pghackers discussion: there are now
separate files "postgres.h" and "postgres_fe.h", which are meant to
be the primary include files for backend .c files and frontend .c
files respectively. By default, only include files meant for
frontend use are installed into the installation include directory.
There is a new make target 'make install-all-headers' that adds
the whole content of the src/include tree to the installed fileset,
for use by people who want to develop server-side code without
keeping the complete source tree on hand. Cleaned up a whole lot
of crufty and inconsistent header inclusions.
2001-02-09 19:50 petere
* doc/src/sgml/runtime.sgml: Update section about how to start
server from boot scripts.
2001-02-09 19:13 petere
* contrib/start-scripts/freebsd: Add new FreeBSD start script that
makes use of new pg_ctl functionality.
2001-02-09 17:23 momjian
* src/interfaces/jdbc/org/postgresql/: jdbc1/DatabaseMetaData.java,
jdbc2/DatabaseMetaData.java: Remove last code that assumed
xinv/xinx are large object files.
2001-02-09 15:38 petere
* doc/src/sgml/runtime.sgml: Avoid a particular <simplelist>.
jadetex has formatting problems, apparently when the content is
long enough to require line breaks.
2001-02-09 15:24 petere
* config/prep_buildtree: Make more portable.
2001-02-09 14:26 tgl
* src/backend/port/hpux/port-protos.h: This hasn't been used for
anything for a long time...
2001-02-09 14:24 momjian
* doc/src/sgml/lobj.sgml: Large object manual updates.
2001-02-09 13:42 tgl
* contrib/Makefile: Remove link to dead subdirectory 'linux'.
2001-02-09 12:55 momjian
* HISTORY, doc/src/sgml/release.sgml: Mention NetBSD
2001-02-09 12:53 momjian
* HISTORY, doc/src/sgml/release.sgml: Remove pg_service mention.
2001-02-09 12:37 momjian
* doc/TODO: Update TODO list.
2001-02-09 12:30 tgl
* src/backend/access/heap/tuptoaster.c: When updating a tuple
containing compressed-in-line fields, do not decompress the
existing fields unnecessarily.
2001-02-09 12:16 momjian
* HISTORY, doc/src/sgml/release.sgml,
doc/src/sgml/ref/pg_dumpall.sgml, src/bin/pg_dump/pg_dumpall.sh:
Add -g as synonmym for --globals-only in pg_dumpall. Add info
about -c,--clean option to manual page.
2001-02-09 10:20 momjian
* doc/: TODO, TODO: Update TODO list.
2001-02-09 10:15 momjian
* doc/TODO: Update TODO list.
2001-02-09 10:13 momjian
* src/: include/port/qnx4.h, interfaces/ecpg/preproc/pgc.l: I have
deleted the include of termios.h in include/port/qnx4.h. Then I
recompiled pgsql and I have compiled a program with ecpg.
I have removed the termios.h, and the ECHO hack.
Thanks Maurizio
2001-02-09 01:03 inoue
* src/interfaces/odbc/statement.c: Change SELECT to not trigger
"BEGIN" in not autocommit mode.
2001-02-08 22:26 tgl
* src/: include/parser/gramparse.h, backend/parser/gram.y,
pl/plpgsql/src/pl_comp.c: plpgsql's private copy of xlateSqlType
was out of sync. Again. This is clearly not maintainable, so dike
it out in favor of calling the real version in the backend's
gram.y.
2001-02-08 22:06 tgl
* doc/src/sgml/pltcl.sgml: Document PL/TclU language variant, and
do some minor copy-editing.
2001-02-08 21:20 tgl
* doc/src/sgml/xplang.sgml: Restructure discussion of PL
installation to emphasize createlang as the recommended install
procedure, rather than mentioning it as an afterthought.
2001-02-08 20:05 tgl
* src/pl/plpgsql/src/: INSTALL, Makefile, mklang.sql.in: Remove
no-longer-needed mklang script; now superseded by createlang.
2001-02-08 19:14 tgl
* src/pl/plpgsql/src/pl_exec.c: EXECUTE of a SELECT ... INTO now
draws a 'not implemented' error, rather than executing the INTO
clause with non-plpgsql semantics as it was doing for the last few
weeks/months. This keeps our options open for making it do the
right plpgsql-ish thing in future without creating a backwards
compatibility problem. There is no loss of functionality since
people can get the same behavior with CREATE TABLE AS.
2001-02-08 14:53 petere
* contrib/: README, start-scripts/linux: Remove outdated
contrib/linux start scripts. Beat some sense into contrib/init.d
start script. Place into more aptly named directory. Maybe we
could add scripts for other platforms here later.
2001-02-08 14:39 petere
* doc/src/sgml/ref/pg_ctl-ref.sgml, src/bin/pg_ctl/pg_ctl.sh: Make
-w the default for shut down, add -W option to specify no wait.
Add -l option to name log file. Set umask to 077. Proper file
descriptor redirection to allow postmaster to detach from shell's
process group. Add -s option to turn off informational messages.
2001-02-07 20:54 inoue
* src/interfaces/odbc/connection.c: Fix a misuse of 'char *'
declaration.
2001-02-07 19:35 tgl
* src/backend/postmaster/postmaster.c: When launching a child
backend, take care to close file descriptors for any other client
connections that may exist (which would only happen if another
client is currently in the authentication cycle). This avoids
wastage of open descriptors in a child. It might also explain
peculiar behaviors like not closing connections when expected,
since the kernel will probably not signal EOF as long as some other
backend is randomly holding open a reference to the connection,
even if the client went away long since ...
2001-02-07 18:42 tgl
* src/backend/libpq/crypt.c: Back-patch password leak fix for
Vaschenko.
2001-02-07 18:36 vadim
* src/backend/utils/misc/guc.c: FixBTree flag still exists and may
be used to turn runtime recovery OFF.
2001-02-07 18:35 vadim
* src/backend/access/nbtree/: nbtinsert.c, nbtpage.c, nbtree.c:
Runtime btree recovery is now ON by default.
2001-02-07 18:34 vadim
* src/include/access/nbtree.h: Macro for btree runtime fix.
2001-02-07 18:31 tgl
* src/backend/libpq/crypt.c: Repair postmaster memory leakage
during password authentication.
2001-02-07 16:30 tgl
* src/bin/pgaccess/lib/: database.tcl, mainlib.tcl: Redo pgaccess'
queries about views so that they will work in both 7.1 and prior
releases --- rely on pg_views view instead of direct access to
pg_class and pg_rewrite.
2001-02-07 16:25 tgl
* src/bin/pgaccess/lib/qed: Not sure why this work script was in
the repository ... but it doesn't belong ...
2001-02-07 15:46 tgl
* doc/src/sgml/ref/pgaccess-ref.sgml: Minor copy-editing.
2001-02-07 15:30 tgl
* src/bin/pgaccess/: Makefile, main.tcl, pgaccess.sh,
lib/preferences.tcl: Use explicit path to libpgtcl.so, instead of
relying on LD_LIBRARY_PATH or local equivalent. Also, honor
--with-pgport configure option for default port number, and allow
PGPORT environment variable to override this.
2001-02-07 15:13 tgl
* configure, configure.in, src/Makefile.global.in: Make DEF_PGPORT
available to Makefiles, so it can be substituted into scripts like
pgaccess.
2001-02-07 15:00 tgl
* src/: include/config.h.win32, interfaces/libpq/win32.h: Actually,
it looks like DEF_PGPORT belongs over in config.h.win32 for the
Windows build...
2001-02-07 14:30 tgl
* src/interfaces/libpq/win32.h: Remove broken (and unnecessary)
definition of DEF_PGPORT.
2001-02-07 13:22 petere
* src/interfaces/python/GNUmakefile: Only pass the -L* portions of
LDFLAGS to the Python build environment. Other flags can have
unpredictable effects when Python uses different commands to build
than we do.
2001-02-07 12:59 tgl
* src/backend/port/dynloader/hpux.c: Need to specify DYNAMIC_PATH
flag to shl_load, else HPUX's dld will not honor library search
path that we so carefully installed into the executable ...
2001-02-07 11:32 momjian
* doc/: FAQ, src/FAQ/FAQ.html, FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-02-07 04:13 peter
* src/interfaces/jdbc/: CHANGELOG, build.xml, jdbc.jpx,
org/postgresql/jdbc2/ResultSet.java,
org/postgresql/test/JDBC2Tests.java,
org/postgresql/test/jdbc2/ANTTest.java,
org/postgresql/test/jdbc2/ConnectionTest.java,
org/postgresql/test/jdbc2/DriverTest.java: Some updates prior to
retrieving a fresh cvs copy:
Tue Feb 06 19:00:00 GMT 2001 peter@retep.org.uk - Completed
first two TestCase's for the test suite. JUnit is now
recognised by ant.
2001-02-06 23:50 momjian
* doc/TODO.detail/java:
Add java.
2001-02-06 23:50 momjian
* doc/TODO: Update TODO list.
2001-02-06 23:48 momjian
* doc/TODO.detail/thread: Add item.
2001-02-06 19:52 momjian
* doc/: TODO, TODO: Update TODO list.
2001-02-06 14:20 petere
* configure, configure.in, config/programs.m4: Only use termcap xor
[n]curses, depending on what readline needs. Solaris has problems
when linking with both.
2001-02-06 13:05 momjian
* contrib/pgcrypto/: encode.c, pgcrypto.c: Well, learned the hard
way...
Marko Kreen
2001-02-06 13:02 momjian
* doc/TODO.detail/thread: Add.
2001-02-06 12:47 momjian
* doc/TODO.detail/thread: Update /contrib and TODO.detail.
2001-02-06 12:42 momjian
* doc/: TODO, TODO: Update TODO list.
2001-02-06 12:00 petere
* src/backend/main/main.c: If the first argument is --version or
--help, skip the root check.
2001-02-06 01:24 vadim
* src/backend/storage/page/bufpage.c: PageAddItem in overwrite
mode: must *NOT* check itemid' flag if OffsetNumber ==
MaxOffsetNumber + 1 - there may be garbage there!
2001-02-05 23:28 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-02-05 21:21 inoue
* src/interfaces/odbc/: columninfo.c, connection.c, connection.h,
drvconn.c, info.c, psqlodbc.h, psqlodbc.rc: Improved version
handling introduced by Dave Page. The driver version is 07.01.0002
now. 1) initialized pg_version by DSN's protocol info so that
we could always use pg_version info once a connection is
established (pg_version() didn't exist before 6.4).
PROTOCOL_XX() macros are removed(except from connection.[ch]).
2) provided a few macros to encapsulate connection's version
info and replaced existent comparison stuff by those macros. 3)
change SQLTables() so that 7.1 servers could show views.
In addtion, the following patch from Dave Page is applied.
This patch fixes a bug in SQLGetInfo for SQL_DBMS_VER which
corrupted the
driver version string. The driver version number has also been
incremented
to 07.01.0002.
Regards, Dave. <<odbc.diff>>
2001-02-05 21:02 tgl
* src/interfaces/libpq/fe-exec.c: Now that I look at it,
PQoidValue() ain't quite right either.
2001-02-05 21:00 tgl
* src/interfaces/libpq/fe-exec.c: Repair PQoidStatus() bug reported
by darcy@druid.net.
2001-02-05 20:53 tgl
* src/: include/utils/excid.h, include/utils/memutils.h,
backend/utils/error/excid.c, backend/utils/mmgr/mcxt.c:
Out-of-bounds memory allocation request sizes should be treated as
just elog(ERROR) not an Assert trap, since we've downgraded
out-of-memory to elog(ERROR) not a fatal error. Also, change the
hard boundary from 256Mb to 1Gb, just so that anyone who's actually
got that much memory to spare can play with TOAST objects
approaching a gigabyte.
2001-02-05 14:21 petere
* doc/src/sgml/func.sgml: Document BETWEEN.
2001-02-05 12:37 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-02-05 12:35 petere
* src/backend/utils/adt/format_type.c: Dump/display 'timestamp' as
'timestamp with time zone', to make room for a future 'timestamp
without time zone', which SQL claims is equivalent to plain
'timestamp'.
2001-02-04 10:28 petere
* doc/src/sgml/: admin.sgml, environ.sgml, filelist.sgml,
manage-ag.sgml, manage.sgml, programmer.sgml, user.sgml,
xplang.sgml: Move PL docs to programmer's guide, "storage" chapter
to admin guide, clean up some things in the affected areas.
2001-02-04 09:09 petere
* configure, configure.in, src/Makefile.shlib,
src/interfaces/libpq/Makefile: Check for -lresolv.
2001-02-04 08:21 petere
* src/interfaces/python/GNUmakefile: Pass LDFLAGS along with LIBS
to the Python build stuff, especially to pick up -L options.
2001-02-04 07:23 petere
* doc/src/sgml/Makefile: Must run jadetex three times to get
correct page numbers. Add support for pdfjadetex.
2001-02-04 07:18 petere
* doc/src/sgml/ref/: create_table.sgml, select.sgml: When making
xrefs to refsects, the linkend should point to the refsect and the
endterm to the title element, not both to the title. At least
docbook2man prefers it that way.
2001-02-03 16:50 momjian
* HISTORY, doc/src/sgml/release.sgml: Re-add Peter E's changes.
2001-02-03 16:17 tgl
* src/backend/optimizer/path/allpaths.c: Fix inappropriate attempt
to push down qual clauses into a view that has
UNION/INTERSECT/EXCEPT operations. Per bug report from Ferrier.
2001-02-03 15:13 petere
* src/backend/parser/scan.l: Use elog() instead of exit() for fatal
scanner errors.
2001-02-03 14:09 petere
* doc/src/sgml/ref/psql-ref.sgml: Improved wording, from Albert
REINER <areiner@tph.tuwien.ac.at>.
2001-02-03 14:03 petere
* doc/src/sgml/: Makefile, about.sgml, admin.sgml, developer.sgml,
filelist.sgml, history.sgml, info.sgml, intro-ag.sgml,
intro-pg.sgml, intro.sgml, legal.sgml, notation.sgml,
postgres.sgml, problems.sgml, programmer.sgml, reference.sgml,
tutorial.sgml, user.sgml, y2k.sgml: Update, polish, consistencify
preface/intro sections.
2001-02-02 23:13 momjian
* contrib/README: Change description.
2001-02-02 14:49 vadim
* src/backend/access/nbtree/nbtinsert.c: Runtime tree recovery is
implemented, just testing is left -:)
2001-02-02 13:21 momjian
* src/: backend/port/qnx4/sem.c, include/storage/s_lock.h,
interfaces/ecpg/preproc/pgc.l, interfaces/python/README: Apply
patches for QNX from Maurizio
2001-02-01 14:13 momjian
* doc/src/sgml/queries.sgml: A patch for the GROUP BY/HAVING
example. p.date should be s.date.
Robert B. Easter
2001-01-31 11:12 meskes
* src/interfaces/ecpg/: ChangeLog, lib/execute.c, test/Makefile,
test/test_text.pgc: Applied two bug fixes by Christof Petig.
2001-01-31 04:23 peter
* src/interfaces/jdbc/: CHANGELOG, jdbc.jpx, example/basic.java,
org/postgresql/Statement.java, org/postgresql/jdbc1/Statement.java,
org/postgresql/jdbc2/Statement.java: Wed Jan 31 08:46:00 GMT 2001
peter@retep.org.uk - Some minor additions to Statement to
make our own extensions more portable. -
Statement.close() will now call ResultSet.close() rather than just
dissasociating with it.
2001-01-31 03:26 peter
* src/interfaces/jdbc/: CHANGELOG, jdbc.jpx, example/basic.java,
org/postgresql/Connection.java,
org/postgresql/jdbc1/Statement.java,
org/postgresql/jdbc2/Connection.java,
org/postgresql/jdbc2/PreparedStatement.java,
org/postgresql/jdbc2/ResultSet.java,
org/postgresql/jdbc2/Statement.java,
org/postgresql/largeobject/BlobInputStream.java,
org/postgresql/largeobject/BlobOutputStream.java,
org/postgresql/largeobject/LargeObject.java: Tue Jan 30 22:24:00
GMT 2001 peter@retep.org.uk - Fixed bug where
Statement.setMaxRows() was a global setting. Now limited
to just itself. - Changed LargeObject.read(byte[],int,int)
to return the actual number of bytes read (used to be
void). - LargeObject now supports InputStream's!
- PreparedStatement.setBinaryStream() now works! -
ResultSet.getBinaryStream() now returns an InputStream that doesn't
copy the blob into memory first! -
Connection.isClosed() now tests to see if the connection is still
alive rather than if it thinks it's alive.
2001-01-30 20:08 vadim
* src/backend/access/nbtree/nbtinsert.c: Couple additional
functions to fix tree at runtime. Need in one more function to
handle "my bits moved..." case. FixBTree is still FALSE.
2001-01-30 12:37 momjian
* contrib/README: Update /contrib README and add init.d from Ryan.
2001-01-29 13:58 momjian
* HISTORY, doc/src/sgml/release.sgml: Update HISTORY/release with
current changes.
2001-01-29 12:57 momjian
* doc/TODO: Update TODO list.
2001-01-29 12:57 momjian
* doc/: TODO, TODO.detail/function, TODO.detail/logging,
TODO.detail/outer: Remove unused TODO.detail functions.
2001-01-29 12:52 momjian
* doc/: TODO, TODO.detail/subquery: Remove subquery.
2001-01-29 12:48 momjian
* doc/: TODO, TODO: Update TODO list.
2001-01-29 11:27 momjian
* HISTORY: Update to PyGreSQL-3.1
2001-01-29 02:28 vadim
* src/backend/access/nbtree/: nbtinsert.c, nbtpage.c: Call
_bt_fixroot() from _bt_insertonpg.
2001-01-28 21:52 scrappy
* configure, configure.in,
ChangeLogs/ChangeLog-7.1beta3-to-7.1beta4:
update configure to beta4
Install a ChangeLog file from beta3->beta4
2001-01-28 20:23 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-01-28 19:39 tgl
* src/: backend/access/gist/gist.c, backend/access/hash/hash.c,
backend/access/nbtree/nbtree.c, backend/access/rtree/rtree.c,
backend/catalog/index.c, backend/executor/execJunk.c,
backend/executor/execMain.c, backend/executor/execProcnode.c,
backend/executor/execQual.c, backend/executor/execTuples.c,
backend/executor/execUtils.c, backend/executor/functions.c,
backend/executor/nodeHashjoin.c, backend/executor/nodeIndexscan.c,
backend/executor/nodeMergejoin.c, backend/executor/nodeSeqscan.c,
backend/executor/nodeSort.c, backend/executor/nodeSubqueryscan.c,
backend/executor/nodeTidscan.c, backend/utils/sort/tuplesort.c,
backend/commands/command.c, backend/commands/copy.c,
include/executor/executor.h, include/executor/tuptable.h,
include/nodes/execnodes.h: Clean up handling of tuple descriptors
so that result-tuple descriptors allocated by plan nodes are not
leaked at end of query. This doesn't really matter for normal
queries, but it sure does for queries invoked repetitively inside
SQL functions. Clean up some other grotty code associated with
tupdescs, and fix a few other memory leaks exposed by tests with
simple SQL functions.
2001-01-28 19:11 momjian
* src/bin/pg_dump/pg_backup_archiver.c: The following patch is
required for successful compilation on Irix.
Robert E. Bruccole
2001-01-28 12:43 momjian
* doc/src/FAQ/FAQ.html: Update FAQ.
2001-01-28 12:39 momjian
* doc/: FAQ, src/FAQ/FAQ.html, FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-01-28 10:41 momjian
* doc/: TODO, TODO: Update TODO list.
2001-01-28 10:18 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-01-28 00:05 momjian
* doc/TODO: Update TODO list.
2001-01-27 22:47 pjw
* src/bin/pg_dump/: common.c, pg_backup_archiver.h, pg_dump.c: Used
LEFT OUTER JOIN for various queries
2001-01-27 21:57 pjw
* src/bin/pg_dump/: common.c, pg_dump.c: Applied (slightly
modified) patches from Tatsuo:
Ok. I have made patches for fixing some of pg_dump problems(see
attached patches). The patches address the problem with user
defined functions, operators and aggregates.
2001-01-27 16:49 momjian
* src/: bin/psql/command.c, bin/psql/win32.mak,
include/config.h.win32, interfaces/libpq/win32.mak: Here is an
update on the Win32 patch. Modified files are 'config.h.win32' and
two 'win32.mak'. Addresses the following:
1) Oops. Spelled fcntl.h wrong in the last one. D'uh. 2)
PG_VERSION changed to be defined with " around it. psql/command.c
failed to compile without that. 3) Changed makefiles to use "/MD"
and link both psql and libpq.dll against MSVCRT.DLL instead of a
static library. This takes care of the crash-upon-free in psql.
I *think* this is what is on the "Open 7.1 Items" list as "Magnus
Hagander ODBC Issues?". It has nothing to do with ODBC, but it's
the only issue I've been involved with...
Magnus Hagander
2001-01-27 15:19 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-01-27 14:49 momjian
* doc/TODO.detail/foreign: Add 'foreign' file.
2001-03-16 16:29 scrappy
* configure, configure.in:
upgrade version to beta6
2001-03-16 12:42 tgl
* contrib/pgcrypto/README.pgcrypto: Documentation update from Marko
Kreen.
2001-03-16 08:05 meskes
* src/interfaces/ecpg/preproc/variable.c: Fixed bug in handling of
pointers to structs.
2001-03-16 08:03 inoue
* src/interfaces/odbc/: multibyte.c, multibyte.h: Oops I forgot to
add new files for multibyte support. Sorry Eiji.
2001-03-16 00:44 tgl
* doc/src/sgml/runtime.sgml, doc/src/sgml/wal.sgml,
src/backend/access/transam/xlog.c, src/backend/utils/misc/guc.c,
src/backend/utils/misc/postgresql.conf.sample,
src/include/access/xlog.h: Support syncing WAL log to disk using
either fsync(), fdatasync(), O_SYNC, or O_DSYNC (as available on a
given platform). Add GUC parameter to control sync method. Also,
add defense to XLogWrite to prevent it from going nuts if passed a
target write position that's past the end of the buffers so far
filled by XLogInsert.
2001-03-16 00:08 tgl
* contrib/pg_resetxlog/pg_resetxlog.c: Resetting the XLOG can't
include rewinding it to logical position zero, because we need page
LSNs stored in the main database to be less than the current XLOG
position. Hence, generate the new XLOG segment at last old segment
number plus one.
2001-03-15 20:17 inoue
* src/interfaces/odbc/: connection.c, convert.c, dlg_specific.c,
parse.c, psqlodbc.h, psqlodbc.rc, win32.mak: Add multibyte support.
Provide an extenisible scheme of encoding conversion. As the
first step, SJIS and BIG5 are supported. From now on
multibyte people would be happy to use this psqlodbc driver.
Eiji Tokuya e-tokuya@mail.sankyo-unyu.co.jp
2001-03-15 15:01 tgl
* doc/src/sgml/client-auth.sgml: Update sample error messages to
agree with current code.
2001-03-15 06:56 darcy
* src/interfaces/python/pgdb.py: Fix parameter handling.
Fix a bug where cs.execute('select %d + %d', (1, 2)) would get
interpreted as cs.executemany('select %d + %d', (1, 2))
2001-03-15 06:26 darcy
* src/interfaces/python/: pgmodule.c, setup.py: Add WIN32 support.
2001-03-14 20:07 tgl
* doc/src/sgml/func.sgml: Improve description of to_char templates.
2001-03-14 18:55 tgl
* src/backend/parser/parse_func.c: Give a more reasonable error
message for a bad attribute name applied to a join or subselect
alias ... cf. Oliver Elphick's complaint 13-Mar.
2001-03-14 17:20 petere
* doc/src/sgml/backup.sgml: Fix markup.
2001-03-14 16:50 tgl
* src/: backend/commands/trigger.c, include/commands/trigger.h:
Reduce amount of memory used per tuple for after-event triggers.
This is still a memory leak, but a little less bad than it was.
2001-03-14 16:47 tgl
* src/backend/commands/copy.c: COPY should handle after-insert
triggers the same as execMain.c does. I'm not sure that it's
really necessary to save insert events when there are only after
update or delete triggers, but certainly it's wrong for COPY to
behave differently from an INSERT query.
2001-03-14 16:11 petere
* src/tools/release_prep: It's "gmake dist" now.
2001-03-14 16:07 petere
* src/tools/make_etags: For some ungodly reason my etags doesn't
have an --output option, but it does have -o.
2001-03-14 16:03 petere
* src/bin/pgtclsh/README: We're past Postgres95 now, and I'm sure
Jolly doesn't want to receive any bug reports. ;-)
2001-03-14 15:53 petere
* src/interfaces/libpq++/dependencies: We got automatic
dependencies now.
2001-03-14 15:47 petere
* src/interfaces/jdbc/README_6.3: We're way past 6.3 ...
2001-03-14 15:44 petere
* src/interfaces/jdbc/README: Update. Things are now build through
'make'.
2001-03-14 15:23 tgl
* src/backend/access/transam/xlog.c: Use SEP_CHAR consistently in
forming XLOG pathnames.
2001-03-14 15:12 tgl
* src/: backend/utils/adt/datetime.c, include/utils/timestamp.h:
Remove obsolete PowerPC-specific hack for comparisons to DBL_MIN
(per recent discussion with Tatsuo). Hopefully the compilers with
that old bug are all long gone.
2001-03-14 14:35 tgl
* src/: Makefile.shlib, makefiles/Makefile.hpux: Move -Bsymbolic
for HPUX to Makefile.hpux, per Peter E's recommendation.
2001-03-14 13:24 momjian
* src/backend/: storage/lmgr/lock.c, tcop/postgres.c: 'waiting'
status display had extra space, removed. Change the administrator
to 'an' administrator.
2001-03-14 13:00 petere
* configure, configure.in: Try to run empty test program before
running any real AC_TRY_RUN's, to prevent disguised failures.
2001-03-14 12:58 tgl
* src/backend/postmaster/postmaster.c: Don't go belly-up if fork()
fails for a routine checkpoint subprocess. Just try again later.
2001-03-14 11:50 tgl
* src/backend/utils/adt/numeric.c: Fix numeric modulo operator for
case of fractional right argument.
2001-03-14 10:14 momjian
* src/backend/tcop/postgres.c: New shutdown wording:
This connection has been terminated by the administrator
2001-03-14 04:10 inoue
* src/interfaces/odbc/: environ.c, socket.c: Fix some memory leaks.
2001-03-14 03:40 inoue
* src/backend/commands/vacuum.c: ifdef out reindex stuff in VACUUM
for safety.
2001-03-13 19:57 tgl
* contrib/: Makefile, README, pg_resetxlog/Makefile,
pg_resetxlog/README.pg_resetxlog, pg_resetxlog/pg_resetxlog.c:
First cut at XLOG file reset utility. Could do with more testing,
but it works in the simple cases.
2001-03-13 16:37 petere
* src/bin/initdb/initdb.sh: Provide more useful error message if
'postgres -V' failed. Advertise pg_ctl '-l' option.
2001-03-13 15:52 petere
* doc/FAQ_SCO: update
2001-03-13 15:42 petere
* doc/FAQ_Solaris: update
2001-03-13 15:32 tgl
* src/: backend/access/transam/xlog.c, include/access/xlog.h:
Change xlog page-header format to include StartUpID. Use the SUI
to detect case that next page in log came from an older run than
the prior page. This avoids the necessity to re-zero the log after
recovery from a crash, which is good because we need not risk
destroying valuable log information. This forces another initdb
since yesterday :-(. Need to get that log reset utility done...
2001-03-13 14:28 petere
* contrib/Makefile: 'test -e' isn't portable. Use 'test -f'.
2001-03-13 09:41 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-03-13 09:08 pjw
* doc/src/sgml/backup.sgml: Document changed features of pg_dump,
including: - Large Object dumps - Compressed custom format -
Requirement to use template0 when creating DB
2001-03-13 08:18 pjw
* src/bin/pg_dump/pg_backup_archiver.c: - Use subselect when
enabling triggers, - Use exact table names when enabling/disabling
triggers
2001-03-13 04:03 inoue
* src/interfaces/odbc/psqlodbc.reg: The attached file contains the
registry settings required to install the ODBC driver on Windows
9X/ME/NT/2K when using the later versions of the driver that don't
have the Installshield installation:
1) Install psqlodbc.dll in to C:\Windows\System or
C:\Winnt\System32 2) Add the registry settings in the attached file
using regedit.
A useful addition to src/interfaces/odbc perhaps?
Regards, Dave.
2001-03-12 20:17 tgl
* contrib/pg_controldata/: Makefile, README.pg_controldata,
pg_controldata.c: Update for new pg_control format.
2001-03-12 20:17 tgl
* doc/src/sgml/runtime.sgml, doc/src/sgml/wal.sgml,
doc/src/sgml/ref/checkpoint.sgml,
src/backend/access/transam/transam.c,
src/backend/access/transam/varsup.c,
src/backend/access/transam/xact.c,
src/backend/access/transam/xlog.c,
src/backend/access/transam/xlogutils.c,
src/backend/bootstrap/bootstrap.c,
src/backend/postmaster/postmaster.c, src/backend/port/beos/shm.c,
src/backend/port/qnx4/shm.c, src/backend/storage/ipc/ipc.c,
src/backend/tcop/postgres.c, src/backend/utils/hash/Makefile,
src/backend/utils/hash/pg_crc.c, src/backend/utils/init/globals.c,
src/backend/utils/init/miscinit.c, src/backend/utils/misc/guc.c,
src/backend/utils/misc/postgresql.conf.sample,
src/include/miscadmin.h, src/include/access/transam.h,
src/include/access/xlog.h, src/include/access/xlogdefs.h,
src/include/access/xlogutils.h, src/include/catalog/pg_control.h,
src/include/storage/ipc.h, src/include/tcop/tcopprot.h,
src/include/utils/pg_crc.h: XLOG (and related) changes:
* Store two past checkpoint locations, not just one, in pg_control.
On startup, we fall back to the older checkpoint if the newer
one is unreadable. Also, a physical copy of the newest
checkpoint record is kept in pg_control for possible use in
disaster recovery (ie, complete loss of pg_xlog). Also add a
version number for pg_control itself. Remove archdir from
pg_control; it ought to be a GUC parameter, not a special case
(not that it's implemented yet anyway).
* Suppress successive checkpoint records when nothing has been
entered in the WAL log since the last one. This is not so much
to avoid I/O as to make it actually useful to keep track of the
last two checkpoints. If the things are right next to each other
then there's not a lot of redundancy gained...
* Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs
on alternate bytes. Polynomial borrowed from ECMA DLT1 standard.
* Fix XLOG record length handling so that it will work at BLCKSZ =
32k.
* Change XID allocation to work more like OID allocation. (This is
of dubious necessity, but I think it's a good idea anyway.)
* Fix a number of minor bugs, such as off-by-one logic for XLOG
file wraparound at the 4 gig mark.
* Add documentation and clean up some coding infelicities; move
file format declarations out to include files where planned
contrib utilities can get at them.
* Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments
or every CHECKPOINT_TIMEOUT seconds, whichever comes first. It
is also possible to force a checkpoint by sending SIGUSR1 to the
postmaster (undocumented feature...)
* Defend against kill -9 postmaster by storing shmem block's key
and ID in postmaster.pid lockfile, and checking at startup to
ensure that no processes are still connected to old shmem block
(if it still exists).
* Switch backends to accept SIGQUIT rather than SIGUSR1 for
emergency stop, for symmetry with postmaster and xlog utilities.
Clean up signal handling in bootstrap.c so that xlog utilities
launched by postmaster will react to signals better.
* Standalone bootstrap now grabs lockfile in target directory, as
added insurance against running it in parallel with live
postmaster.
2001-03-12 18:02 tgl
* src/backend/commands/trigger.c: Avoid O(N^2) behavior in
deferredTriggerAddEvent() for large numbers of tuples
inserted/deleted/updated in a single transaction. On my machine,
this reduced the time to delete 80000 tuples in a
foreign-key-referencing table from ~15min to ~8sec.
2001-03-11 06:24 petere
* configure, configure.in, config/java.m4: Throw error if Ant is
not found and Java is requested. Remove redundant AC_SUBST that
messed up the diversions and thus the configure output.
2001-03-11 06:06 petere
* build.xml, contrib/retep/build.xml, doc/src/sgml/jdbc.sgml,
src/interfaces/jdbc/Makefile, src/interfaces/jdbc/build.xml,
src/interfaces/jdbc/org/postgresql/Driver.java.in: Add uninstall
target to Java build. Respect default port setting in JDBC driver.
Pick up version number from Makefile.global. Change installation
directory to share/java/. Document.
2001-03-10 18:15 tgl
* src/Makefile.shlib: Turns out the HPUX linker likes -Bsymbolic
too. Without this, ODBC driver does not work because its internal
cross-references get bound to similarly named functions in unixODBC
shared library.
2001-03-10 18:12 tgl
* src/interfaces/odbc/environ.c: Provide a hack to let
initialization happen on platforms for which psqlodbc.c's
constructor-making techniques do not work.
2001-03-10 17:30 tgl
* src/interfaces/odbc/gpps.c: Do not accept values from sections
following the specified section.
2001-03-10 16:16 tgl
* doc/src/sgml/datatype.sgml: BOX documentation disagreed with code
about corner order.
2001-03-10 11:57 petere
* doc/src/sgml/installation.sgml: Document --with-java.
2001-03-10 11:05 petere
* doc/src/sgml/: Makefile, stylesheet.dsl: Eliminate some hackery
when creating text files (INSTALL) with a few lines of DSSSL.
2001-03-10 05:38 petere
* configure, configure.in, src/Makefile.global.in,
src/makefiles/Makefile.hpux: Use install-sh unconditionally.
2001-03-09 23:21 tgl
* src/backend/utils/error/elog.c: FATAL errors should cause exit
with nonzero status if we are not running under the postmaster ---
specifically, if we are a standalone backend running under the
initdb script, this is critical!
2001-03-09 22:34 inoue
* src/interfaces/odbc/: convert.c, info.c, qresult.c, results.c,
statement.c: 1)Allow the access to indexes with up to 16 keys.
2)Fix some memory leaks. 3)Change some bogus error messages.
2001-03-09 17:10 tgl
* src/include/catalog/pg_shadow.h: Don't choke on superuser names
containing random punctuation.
2001-03-09 16:50 petere
* src/interfaces/Makefile: Recursive distclean shouldn't depend on
recursive clean. Subdirectories handle this.
2001-03-09 14:09 petere
* doc/src/sgml/plsql.sgml: Integrate "Porting from Oracle PL/SQL"
HOWTO from Roberto Mello.
2001-03-09 01:36 inoue
* src/backend/tcop/postgres.c: hold interupts during
LockWaitCancel().
2001-03-08 12:00 momjian
* doc/: FAQ_japanese, src/FAQ/FAQ_japanese.html: Add Japanese FAQ>
2001-03-08 11:52 momjian
* doc/: FAQ, src/FAQ/FAQ.html: Update FAQ.
2001-03-07 20:49 tgl
* src/backend/optimizer/util/clauses.c: A subplan invoked within an
aggregate function's argument should be allowed to receive
ungrouped variables of the current query level. Curious that no
one reported this bug before...
2001-03-07 19:24 tgl
* src/backend/utils/mb/: mbutils.c, wchar.c: Modify wchar
conversion routines to not fetch the next byte past the end of a
counted input string. Marinos Yannikos' recent crash report turns
out to be due to applying pg_ascii2wchar_with_len to a TEXT object
that is smack up against the end of memory. This is the second
just-barely- reproducible bug report I have seen that traces to
some bit of code fetching one more byte than it is allowed to.
Let's be more careful out there, boys and girls. While at it, I
changed the code to not risk a similar crash when there is a
truncated multibyte character at the end of an input string. The
output in this case might not be the most reasonable output
possible; if anyone wants to improve it further, step right up...
2001-03-07 16:20 tgl
* src/backend/: access/gist/gist.c, access/hash/hashinsert.c,
access/hash/hashovfl.c, access/hash/hashpage.c,
access/rtree/rtree.c, commands/sequence.c: Repair a number of
places that didn't bother to check whether PageAddItem succeeds or
not. Revise rtree page split algorithm to take care about making a
feasible split --- ie, will the incoming tuple actually fit?
Failure to make a feasible split, combined with failure to notice
the failure, account for Jim Stone's recent bug report. I suspect
that hash and gist indices may have the same type of bug, but at
least now we'll get error messages rather than silent failures if
so. Also clean up rtree code to use Datum rather than char* where
appropriate.
2001-03-07 11:18 momjian
* src/pl/tcl/pltcl.c: > Applied. Thanks.
One more :)) It's for improper function argumets for
PLTCL_UNKNOWN_SUPPORT code
I'm not an autoconf expert, but is it possible to enable unknown
support in pltcl with configure option ? This support is really
handy for real life usage of pl/tcl.
seva@sevasoft.kiev.ua
2001-03-07 11:09 momjian
* src/pl/tcl/modules/pltcl_loadmod: pltcl_loadmod has problems with
big (>4k) modules because of missing incr in splitting code:
seva@sevasoft.kiev.ua
2001-03-06 17:46 momjian
* contrib/mysql/my2pg.pl: Update my2pg, new version.
2001-03-06 17:07 tgl
* src/interfaces/perl5/Makefile.PL: Believe $POSTGRES_LIB and
$POSTGRES_INCLUDE only if they name actual directories, per
suggestion from Robert Creager.
2001-03-06 15:41 petere
* doc/src/sgml/Makefile: Sync rule for making INSTALL file.
2001-03-06 14:58 petere
* src/bin/pg_dump/pg_restore.c: Help message s/dump/restore/ (must
have been copy&pasted from pg_dump).
2001-03-06 13:55 petere
* doc/src/sgml/ref/: pg_dump.sgml, pg_restore.sgml: Some editing,
enhance markup, move description section before options list.
2001-03-06 13:11 momjian
* doc/src/sgml/ref/create_type.sgml: Shorten TOAST mention
2001-03-06 12:43 petere
* doc/src/sgml/ref/: pgtclsh.sgml, pgtksh.sgml:
Update/correct/refine.
2001-03-06 07:04 peter
* src/interfaces/jdbc/: CHANGELOG, org/postgresql/xa/Test.java: Tue
Mar 06 12:05:00 GMT 2001 peter@retep.org.uk - Removed
org.postgresql.xa.Test from the JDBC EE driver as it's an old
test class and prevented it from compiling.
2001-03-06 00:22 pjw
* doc/src/sgml/ref/pg_restore.sgml: - Reflect change of option -U
to -L
2001-03-06 00:22 pjw
* doc/src/sgml/ref/pg_dump.sgml: - Minor correction to usage
2001-03-05 23:53 pjw
* src/bin/pg_dump/pg_dump.c: - Dump relevant parts of sequences
only when doing schemaOnly & dataOnly - Prevent double-dumping of
sequences when dataOnly.
2001-03-05 23:08 pjw
* src/bin/pg_dump/: pg_backup_archiver.c, pg_backup_archiver.h,
pg_restore.c: - Only disable triggers in DataOnly (or implied
data-only) restores. - Change -U option to -L to allow -U to
specify username in future. (pg_restore)
2001-03-05 14:00 petere
* doc/src/sgml/ref/comment.sgml: Add missing space, change some
markup.
2001-03-05 14:00 petere
* doc/src/sgml/ref/set.sgml: Sorry, that change was not correct.
2001-03-05 13:42 momjian
* doc/src/sgml/ref/: alter_table.sgml, comment.sgml,
create_type.sgml, pg_config-ref.sgml, pg_dump.sgml,
pg_dumpall.sgml, pg_restore.sgml, set.sgml: I'm attaching those
diffs for the Reference Guide in a tar file, as not all of them
attached properly in the post I made a few minutes ago. Please
disregard those earlier files. The diffs in the tar file replace
them.
Pierce Tyler
2001-03-05 13:09 momjian
* doc/FAQ_german, doc/src/FAQ/FAQ_german.html,
src/tools/backend/backend_dirs.html, src/tools/backend/index.html,
src/tools/make_diff/README: Update email addresses.
2001-03-05 12:20 momjian
* src/bin/pgaccess/lib/languages/chinese_big5:
Here is the chinese_big5 patch for PgAccess. I've tested under
Chinese Windows 2000 without any problem.
Have fun.
LM.Liu
2001-03-05 05:18 peter
* configure, configure.in, contrib/retep/retep.jpx,
contrib/retep/uk/org/retep/util/StandaloneApp.java: Hmmm, a
conflict with V1.104 of configure.in remained and broke configure
(said redirection required when run).
After checking using cvsweb, removed the offending conflict.
Rebuilt configure using autoconf, and it now works fine.
2001-03-05 05:02 peter
* config/java.m4: There's always 1 file missed out ;-)
Found while testing against a full checkout. Peter
2001-03-05 04:38 peter
* aclocal.m4, build.xml, configure, configure.in,
src/Makefile.global.in, src/interfaces/Makefile,
src/interfaces/jdbc/CHANGELOG, src/interfaces/jdbc/Makefile,
src/interfaces/jdbc/build.xml, src/interfaces/jdbc/jdbc.jpx:
Ok, I've split todays commit into three, the first two already done
had some bits in JDBC & the first set of tools into contrib.
This is the third, and deals with enabling JDBC to be compiled with
the main source.
What it does is add a new option to configure: --with-java
This option tells configure to look for ant (our build tool of
choice) and if found, it then compiles both the JDBC driver and the
new tools as part of the normal make.
Also, when the postgresql install is done, all the .jar files are
also installed into the ${PGLIB}/java directory (thought best to
keep then separate)
Now I had some conflicts when this applied so could someone please
double check that everything is ok?
Peter
2001-03-05 04:17 peter
* src/interfaces/jdbc/org/postgresql/: Driver.java.in,
core/ConnectionHook.java, jdbc2/CallableStatement.java: Minor
fixes...
2001-03-05 04:15 peter
* contrib/retep/: CHANGELOG, Implementation, README, build.xml,
retep.jpx, uk/org/retep/tools.properties,
uk/org/retep/dtu/DCollection.java,
uk/org/retep/dtu/DConstants.java, uk/org/retep/dtu/DElement.java,
uk/org/retep/dtu/DEnvironment.java, uk/org/retep/dtu/DModule.java,
uk/org/retep/dtu/DModuleXML.java, uk/org/retep/dtu/DNode.java,
uk/org/retep/dtu/DProcessor.java, uk/org/retep/dtu/DTransform.java,
uk/org/retep/tools/Tool.java,
uk/org/retep/util/ExceptionDialog.java,
uk/org/retep/util/Globals.java, uk/org/retep/util/Logger.java,
uk/org/retep/util/Main.java, uk/org/retep/util/StandaloneApp.java,
uk/org/retep/util/hba/Editor.java, uk/org/retep/util/hba/Main.java,
uk/org/retep/util/hba/Record.java,
uk/org/retep/util/misc/IPAddress.java,
uk/org/retep/util/misc/PropertiesIO.java,
uk/org/retep/util/misc/WStringTokenizer.java,
uk/org/retep/util/models/HBATableModel.java,
uk/org/retep/util/models/PropertiesTableModel.java,
uk/org/retep/util/proped/Main.java,
uk/org/retep/util/proped/PropertyEditor.java: First batch of the
tools merged in...
2001-03-04 13:54 petere
* doc/src/sgml/: filelist.sgml, libpq.sgml, programmer.sgml,
pygresql.sgml: PyGreSQL documentation. Based on the README,
converted to DocBook by Mikhail Terekhov <terekhov@emc.com>.
2001-03-04 10:43 momjian
* contrib/mysql/my2pg.pl, src/include/nodes/plannodes.h: Update
mysql converter, new version released.
2001-03-03 17:11 tgl
* doc/src/sgml/ref/create_table_as.sgml: Document TEMP option.
2001-03-03 10:53 petere
* configure, configure.in, config/prep_buildtree,
src/Makefile.global.in, src/makefiles/Makefile.qnx4: Add configure
check for -lunix, for QNX.
Recode test for equality of source and build directory using 'test
-ef', because even using pwd you might not get equal strings.
Thanks, QNX.
2001-03-03 09:00 darcy
* src/interfaces/python/Announce: Update the version number. We
may change this to 7.1 if we align it with PostgreSQL.
Add notice that development has moved into the PostgreSQL tree.
2001-03-03 08:58 darcy
* src/interfaces/python/pg.py: Add oid to list of keys cached.
Add a test to avoid an exception in certain cases.
2001-03-03 08:54 darcy
* src/interfaces/python/README: Incrementing version number in
preparation for next release. Note that I am talking with Thomas
Lockhart about the idea of bringing the PyGreSQL version number
into alignment with PostgreSQL so this may change to 7.1 before the
release.
I have added to the copyright to indicate that from now on the
PostgreSQL copyright will apply. If someone wants to make that
clearer please do. The existing copyrights need to stay there for
now but if necessary I can ask Pascal Andre if he agrees to a
different wording.
Added reference to the Python DB-API 2.0 compliant API wrapper.
Added reference to the PyGreSQL mailing list.
2001-03-03 08:42 darcy
* src/interfaces/python/pgmodule.c: Added postgres.h header for
more type checking.
Changed the way that OID is retrieved on inserts. PQoidStatus
appears to be deprecated so I am using PQoidValue instead.
2001-03-01 14:03 petere
* src/backend/port/dynloader/qnx4.h: Add missing include.
2001-03-01 13:52 petere
* src/bin/psql/print.c: Fix memory leak.
2001-03-01 13:34 tgl
* src/bin/psql/common.c: Ensure previous setting of pset.queryFout
is restored after a failed backslash-g command.
2001-03-01 11:17 petere
* src/include/Makefile: Add missing semicolon required by QNX
shell. from "Tegge, Bernd" <tegge@repas-aeg.de>
2001-03-01 00:05 ishii
* configure, configure.in, src/bin/pg_dump/pg_restore.c,
src/bin/pg_id/pg_id.c, src/include/config.h.in,
src/interfaces/ecpg/preproc/ecpg.c: Remove HAVE_OPTARG per
discussion in hackers list.
2001-02-28 15:39 petere
* src/bin/psql/mainloop.c: Do not strip whitespace within quotes.
2001-02-27 17:07 tgl
* src/: backend/commands/command.c, backend/tcop/pquery.c,
backend/utils/mmgr/portalmem.c, include/utils/portal.h: Tweak
portal (cursor) code so that it will not call the executor again
when user does another FETCH after reaching end of data, or another
FETCH backwards after reaching start. This is needed because some
plan nodes are not very robust about being called again after
they've already returned NULL; for example, MergeJoin will crash in
some states but not others. While the ideal approach would be for
them all to handle this correctly, it seems foolish to assume that
no such bugs would creep in again once cleaned up. Therefore, the
most robust answer is to prevent the situation from arising at all.
2001-02-27 15:34 tgl
* src/include/catalog/pg_proc.h: Mark new text<->date, text<->time,
text<->timetz conversion functions as noncachable, so that
CURRENT_DATE and CURRENT_TIME work as functions again, rather than
being collapsed to constants immediately. Marking the reverse
conversions noncachable might be overkill, but I'm not sure; do
these datatypes have the notion of a CURRENT value? Better safe
than sorry, for now.
2001-02-27 10:37 scrappy
* contrib/ipc_check/: README, ipc_check.pl:
start of an admin tool for FreeBSD to help configure shared memory
for that machine
I kept the name as generic as possible though, as other OS should
have similar methods, so this can be extended "as appropriate" ...
2001-02-27 03:13 ishii
* src/bin/psql/Makefile, src/bin/psql/input.c,
src/bin/psql/print.c, src/bin/psql/stringutils.c,
src/include/config.h.in, src/backend/utils/adt/formatting.c,
src/bin/pg_dump/Makefile, src/bin/pg_dump/pg_restore.c,
src/bin/pg_id/pg_id.c, src/interfaces/ecpg/preproc/ecpg.c,
src/makefiles/Makefile.sunos4, configure, src/Makefile.global.in,
src/Makefile.shlib, configure.in: Massive commits for SunOS4 port.
2001-02-27 02:07 ishii
* src/backend/parser/parse_coerce.c: Fix vacuum analyze error.
vacuum analyze on pg_type fails if bogus entries remain in
pg_operator. Here is a sample script to reproduce the problem.
drop table t1; create table t1(i int); drop function foo(t1,t1);
create function foo(t1,t1) returns bool as 'select true' language
'sql'; create operator = ( leftarg = t1, rightarg = t1,
commutator = =, procedure = foo ); drop table t1;
vacuum analyze;
2001-02-26 09:42 meskes
* src/interfaces/ecpg/: ChangeLog, preproc/preproc.y: Fixed
variable handling in preproc.y.
2001-02-26 00:15 ishii
* src/bin/pgaccess/lib/tables.tcl: Allow pgaccess to input
Japanese. See included mail.
Subject: [HACKERS] pgaccess Japanese input capability patch From:
Tatsuo Ishii <t-ishii@sra.co.jp> To: teo@flex.ro Cc:
pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org Date:
Sat, 24 Feb 2001 21:41:14 +0900
Hi Teodorescu,
I have made patches which enable pgaccess to input Japanese
characters in the table editing window. As you might know, to input
Japanese characters, we first type in "hiragana" then convert it to
"kanji". To make this proccess transparent to tcl application
programs, libraries are provided with localized version of Tcl/Tk.
The patches bind certain keys to initiate a function (kanjiInput)
that is responsible for the conversion process. If the function is
not available, those keys will not be binded.
Comments? -- Tatsuo Ishii
2001-02-25 19:50 tgl
* doc/src/sgml/wal.sgml, src/backend/access/transam/xact.c,
src/backend/access/transam/xlog.c,
src/backend/storage/ipc/sinval.c, src/backend/utils/misc/guc.c,
src/backend/utils/misc/postgresql.conf.sample,
src/bin/psql/tab-complete.c, src/include/access/xlog.h,
src/include/storage/proc.h, src/include/storage/sinval.h: Implement
COMMIT_SIBLINGS parameter to allow pre-commit delay to occur only
if at least N other backends currently have open transactions.
This is not a great deal of intelligence about whether a delay
might be profitable ... but it beats no intelligence at all. Note
that the default COMMIT_DELAY is still zero --- this new code does
nothing unless that setting is changed. Also, mark ENABLEFSYNC as
a system-wide setting. It's no longer safe to allow that to be set
per-backend, since we may be relying on some other backend's fsync
to have synced the WAL log.
2001-02-25 11:05 petere
* doc/src/sgml/syntax.sgml: Even better example for operator
precedence mis-parsing.
2001-02-25 10:57 petere
* contrib/pg_controldata/Makefile: Doesn't need libpq.
2001-02-25 10:55 petere
* contrib/pg_controldata/: pg_controldata, pg_controldata.o: Remove
binary files.
2001-02-24 17:42 tgl
* src/backend/storage/buffer/s_lock.c: At least on HPUX, select
with delay.tv_sec = 0 and delay.tv_usec = 1000000 does not lead to
a one-second delay, but to an immediate EINVAL failure. This
causes CHECKPOINT to crash with s_lock_stuck much too quickly :-(.
Fix by breaking down the requested wait div/mod 1e6.
2001-02-24 13:09 petere
* doc/src/sgml/syntax.sgml: Choose a more suitable example for the
operator precedence mis-parsing example.
2001-02-24 07:40 petere
* doc/src/sgml/: jdbc.sgml, stylesheet.dsl: Markup, spell check,
refine JDBC documentation.
2001-02-23 21:04 tgl
* src/backend/tcop/postgres.c: When under postmaster, bogus
arguments should cause proc_exit(0) not proc_exit(1). Unless you
think a system-wide restart is an appropriate response to bogus
PGOPTIONS, that is.
2001-02-23 17:52 tgl
* src/bin/pg_dump/: pg_backup_archiver.c, pg_backup_tar.c: Fix
pg_dump crashes caused by bogus use of va_start/va_end (only seen
on some platforms, which is not too surprising considering how
platform specific these macros must be).
2001-02-23 15:38 momjian
* contrib/: README, pg_controldata/Makefile,
pg_controldata/README.pg_controldata,
pg_controldata/pg_controldata, pg_controldata/pg_controldata.c,
pg_controldata/pg_controldata.o: I had a need to read such things
as the backend locale and the catalog version number from the
current database, and couldn't find any existing program to do
that.
linda:~$ pg_controldata Log file id: 0 Log
file segment: 5 Last modified:
Wed Feb 7 19:35:47 2001 Database block size:
8192 Blocks per segment of large relation: 131072 Catalog version
number: 200101061 LC_COLLATE:
en_GB LC_CTYPE: en_GB Log archive
directory:
Oliver Elphick
Oliver.Elphick@lfix.co.uk
2001-02-23 15:12 tgl
* src/backend/storage/lmgr/lock.c: As long as we're fixing this
space calculation, let's actually do it right. We should MAXALIGN
the individual items because we'll allocate them individually, not
as an array.
2001-02-23 14:24 momjian
* src/include/storage/lock.h: Update comments on locks.
2001-02-23 13:28 momjian
* src/: backend/storage/lmgr/lock.c, include/storage/lock.h: Bruce
Momjian <pgman@candle.pha.pa.us> writes:
> Is there one LOCKMETHODCTL for every backend? I thought there
was only
> one of them.
>>
>> You're right, that line is erroneous; it should read
>>
>> size += MAX_LOCK_METHODS * MAXALIGN(sizeof(LOCKMETHODCTL));
>>
>> Not a significant error but it should be changed for clarity ...
2001-02-23 13:09 scrappy
* ChangeLogs/ChangeLog-7.1beta4-to-7.1beta5:
update to beta5 ... I think I ran cvs2cl right this time? :)
2001-03-23 19:24 tgl
* doc/src/sgml/runtime.sgml: Miscellaneous updates and minor
copy-editing.
2001-03-23 17:07 tgl
* doc/src/sgml/plsql.sgml: Doc update from Roberto Mello: improved
versions of instr() examples.
2001-03-23 13:42 tgl
* configure, configure.in, src/backend/utils/hash/pg_crc.c,
src/include/config.h.in, src/include/utils/pg_crc.h: When using
'long long int' for int64 type, check to see if the compiler
accepts nnnLL syntax for long long constants. If so, decorate the
CRC64 constants with LL to avoid warnings and/or erroneous results
from certain non-standards-compliant compilers.
2001-03-23 13:26 tgl
* src/: backend/tcop/postgres.c, include/postgres.h,
include/utils/excid.h: Mark exception and assert global variables
as DLLIMPORT, so that plpgsql can be compiled with asserts enabled
on Windoze.
2001-03-23 00:46 ishii
* src/bin/pg_encoding/Makefile: Add checking for strtoul. SunOS4
does not have it.
2001-03-22 23:49 momjian
* contrib/spi/refint.c, src/backend/access/gist/gistscan.c,
src/backend/access/hash/hashsearch.c,
src/backend/access/heap/tuptoaster.c,
src/backend/access/nbtree/nbtsearch.c,
src/backend/access/nbtree/nbtutils.c,
src/backend/commands/command.c,
src/backend/commands/_deadcode/version.c,
src/backend/executor/execQual.c, src/backend/executor/nodeLimit.c,
src/backend/executor/nodeMergejoin.c,
src/backend/optimizer/path/clausesel.c,
src/backend/optimizer/path/indxpath.c,
src/backend/rewrite/rewriteDefine.c, src/backend/storage/ipc/ipc.c,
src/backend/storage/ipc/sinval.c,
src/backend/utils/adt/formatting.c,
src/backend/utils/adt/selfuncs.c,
src/backend/utils/cache/lsyscache.c,
src/backend/utils/cache/relcache.c,
src/backend/utils/sort/tuplesort.c, src/bin/pg_dump/pg_backup_db.c,
src/bin/pg_dump/pg_dump.c, src/bin/pg_dump/pg_dump.h,
src/include/catalog/pg_type.h, src/include/nodes/parsenodes.h,
src/interfaces/ecpg/lib/connect.c,
src/interfaces/libpq/fe-connect.c, src/interfaces/odbc/info.c,
src/interfaces/odbc/options.c: Fix comments that were mis-wrapped,
for Tom Lane.
2001-03-22 20:51 tgl
* doc/src/sgml/spi.sgml: Fix SPI example to reflect new-style
calling convention for textout().
2001-03-22 20:27 pjw
* src/bin/pg_dump/pg_backup_files.c: Fix checking of file
operations in demo ('files') output format.
2001-03-22 19:36 tgl
* src/bin/psql/: mainloop.c, startup.c: Fix problems with coredumps
due to ^C when longjmp buffer isn't valid. Now, we will only catch
^C at times when it is valid.
2001-03-22 12:41 tgl
* src/backend/: nodes/read.c, parser/scan.l, utils/misc/guc.c: Fix
Joubert's complaint that int8-sized numeric literals are mishandled
on Alpha (because parser mistakenly assumes that a nonoverflow
result from strtol means the value will fit into int4). A scan for
other uses of strtol and strtoul found a couple other places with
the same mistake; fix them too. The changes are all conditional on
HAVE_LONG_INT_64 to avoid complaints from compilers that think x !=
x is a silly test (cf. pg_atoi).
2001-03-22 10:24 momjian
* contrib/intarray/_int.c: Run pgindent on _int.c, for Tom Lane. I
had skipped this file because of a complex macro that pgindent
complained about. Hand-adjusted macro for pgindent run.
2001-03-22 10:13 scrappy
* src/test/regress/: resultmap,
expected/geometry-solaris-i386-pc.out:
geometry tests 'FAILED' from a precision standpoint, but
differently then what solaris-precision takes into account ... its
possible that solaris-precision is 'stale', but created a new one
"just in case" ...
2001-03-22 01:16 momjian
* contrib/pg_dumplo/lo_export.c, contrib/pg_dumplo/lo_import.c,
contrib/pg_dumplo/main.c, src/backend/access/common/heaptuple.c,
src/backend/access/common/indextuple.c,
src/backend/access/common/printtup.c,
src/backend/access/common/tupdesc.c,
src/backend/access/heap/heapam.c, src/backend/access/heap/hio.c,
src/backend/access/heap/stats.c,
src/backend/access/heap/tuptoaster.c,
src/backend/access/index/indexam.c,
src/backend/access/nbtree/nbtsearch.c,
src/backend/access/transam/transam.c,
src/backend/access/transam/transsup.c,
src/backend/access/transam/xact.c,
src/backend/bootstrap/bootstrap.c, src/backend/catalog/heap.c,
src/backend/catalog/index.c, src/backend/catalog/pg_operator.c,
src/backend/catalog/pg_proc.c, src/backend/catalog/pg_type.c,
src/backend/commands/analyze.c, src/backend/commands/command.c,
src/backend/commands/copy.c, src/backend/commands/creatinh.c,
src/backend/commands/define.c, src/backend/commands/indexcmds.c,
src/backend/commands/proclang.c, src/backend/commands/trigger.c,
src/backend/commands/user.c,
src/backend/commands/_deadcode/recipe.c,
src/backend/executor/execAmi.c, src/backend/executor/execJunk.c,
src/backend/executor/execProcnode.c,
src/backend/executor/execScan.c, src/backend/executor/execTuples.c,
src/backend/executor/execUtils.c, src/backend/executor/functions.c,
src/backend/executor/nodeAgg.c, src/backend/executor/nodeAppend.c,
src/backend/executor/nodeGroup.c, src/backend/executor/nodeHash.c,
src/backend/executor/nodeHashjoin.c,
src/backend/executor/nodeIndexscan.c,
src/backend/executor/nodeLimit.c,
src/backend/executor/nodeMaterial.c,
src/backend/executor/nodeMergejoin.c,
src/backend/executor/nodeNestloop.c,
src/backend/executor/nodeResult.c,
src/backend/executor/nodeSeqscan.c,
src/backend/executor/nodeSetOp.c, src/backend/executor/nodeSort.c,
src/backend/executor/nodeSubqueryscan.c,
src/backend/executor/nodeTidscan.c,
src/backend/executor/nodeUnique.c,
src/backend/executor/_deadcode/nodeTee.c,
src/backend/lib/stringinfo.c, src/backend/nodes/copyfuncs.c,
src/backend/optimizer/path/pathkeys.c,
src/backend/optimizer/path/_deadcode/predmig.c,
src/backend/optimizer/path/_deadcode/xfunc.c,
src/backend/parser/analyze.c, src/backend/parser/parse_clause.c,
src/backend/rewrite/rewriteDefine.c,
src/backend/rewrite/rewriteHandler.c,
src/backend/storage/ipc/ipc.c, src/backend/storage/lmgr/proc.c,
src/backend/tcop/dest.c, src/backend/tcop/fastpath.c,
src/backend/tcop/postgres.c, src/backend/tcop/pquery.c,
src/backend/tcop/utility.c, src/backend/tioga/tgRecipe.h,
src/backend/utils/adt/ascii.c, src/backend/utils/adt/formatting.c,
src/backend/utils/adt/numeric.c,
src/backend/utils/adt/pg_lzcompress.c,
src/backend/utils/adt/ri_triggers.c,
src/backend/utils/adt/ruleutils.c,
src/backend/utils/init/postinit.c,
src/backend/utils/misc/database.c, src/include/access/strat.h,
src/include/nodes/nodes.h, src/include/port/osf.h,
src/interfaces/ecpg/include/sqlca.h,
src/interfaces/libpq/fe-connect.c, src/interfaces/libpq/fe-lobj.c,
src/interfaces/libpq/pqexpbuffer.c,
src/interfaces/odbc/dlg_specific.c, src/interfaces/odbc/drvconn.c,
src/interfaces/odbc/multibyte.c, src/interfaces/odbc/pgtypes.c,
src/interfaces/odbc/psqlodbc.c, src/interfaces/odbc/results.c,
src/interfaces/odbc/setup.c, src/pl/plpgsql/src/pl_comp.c,
src/pl/plpgsql/src/pl_exec.c, src/pl/plpgsql/src/pl_funcs.c,
src/pl/plpgsql/src/pl_handler.c: Remove dashes in comments that
don't need them, rewrap with pgindent.
2001-03-21 22:59 momjian
* contrib/cube/buffer.c, contrib/cube/buffer.h,
contrib/cube/cube.c, contrib/cube/cubedata.h,
contrib/earthdistance/earthdistance.c,
contrib/findoidjoins/findoidjoins.c, contrib/fulltextindex/fti.c,
contrib/lo/lo.c, contrib/oid2name/oid2name.c,
contrib/pg_controldata/pg_controldata.c,
contrib/pg_dumplo/lo_export.c, contrib/pg_dumplo/lo_import.c,
contrib/pg_dumplo/main.c, contrib/pg_dumplo/pg_dumplo.h,
contrib/pg_dumplo/utils.c, contrib/pg_logger/pg_logger.c,
contrib/pg_resetxlog/pg_resetxlog.c, contrib/pgcrypto/encode.c,
contrib/pgcrypto/encode.h, contrib/pgcrypto/internal.c,
contrib/pgcrypto/krb.c, contrib/pgcrypto/md5.c,
contrib/pgcrypto/md5.h, contrib/pgcrypto/mhash.c,
contrib/pgcrypto/openssl.c, contrib/pgcrypto/pgcrypto.c,
contrib/pgcrypto/pgcrypto.h, contrib/pgcrypto/sha1.c,
contrib/pgcrypto/sha1.h, contrib/rserv/rserv.c,
contrib/seg/buffer.c, contrib/seg/buffer.h, contrib/seg/seg.c,
contrib/seg/segdata.h, contrib/soundex/soundex.c,
contrib/spi/insert_username.c, contrib/spi/moddatetime.c,
contrib/spi/timetravel.c, contrib/vacuumlo/vacuumlo.c,
src/backend/access/common/heaptuple.c,
src/backend/access/common/indextuple.c,
src/backend/access/common/printtup.c,
src/backend/access/common/tupdesc.c,
src/backend/access/gist/gist.c, src/backend/access/gist/gistget.c,
src/backend/access/gist/gistscan.c, src/backend/access/hash/hash.c,
src/backend/access/hash/hashfunc.c,
src/backend/access/heap/heapam.c, src/backend/access/heap/hio.c,
src/backend/access/heap/tuptoaster.c,
src/backend/access/index/istrat.c,
src/backend/access/nbtree/nbtcompare.c,
src/backend/access/nbtree/nbtinsert.c,
src/backend/access/nbtree/nbtpage.c,
src/backend/access/nbtree/nbtree.c,
src/backend/access/nbtree/nbtsearch.c,
src/backend/access/nbtree/nbtsort.c,
src/backend/access/nbtree/nbtutils.c,
src/backend/access/rtree/rtget.c,
src/backend/access/rtree/rtproc.c,
src/backend/access/rtree/rtree.c,
src/backend/access/rtree/rtscan.c,
src/backend/access/transam/rmgr.c,
src/backend/access/transam/transam.c,
src/backend/access/transam/transsup.c,
src/backend/access/transam/varsup.c,
src/backend/access/transam/xact.c,
src/backend/access/transam/xid.c,
src/backend/access/transam/xlog.c,
src/backend/access/transam/xlogutils.c,
src/backend/catalog/aclchk.c, src/backend/catalog/catalog.c,
src/backend/catalog/heap.c, src/backend/catalog/index.c,
src/backend/catalog/indexing.c, src/backend/catalog/pg_aggregate.c,
src/backend/catalog/pg_largeobject.c,
src/backend/catalog/pg_operator.c, src/backend/catalog/pg_proc.c,
src/backend/catalog/pg_type.c, src/backend/commands/analyze.c,
src/backend/commands/async.c, src/backend/commands/cluster.c,
src/backend/commands/command.c, src/backend/commands/comment.c,
src/backend/commands/copy.c, src/backend/commands/creatinh.c,
src/backend/commands/dbcommands.c, src/backend/commands/define.c,
src/backend/commands/explain.c, src/backend/commands/indexcmds.c,
src/backend/commands/proclang.c, src/backend/commands/remove.c,
src/backend/commands/rename.c, src/backend/commands/sequence.c,
src/backend/commands/trigger.c, src/backend/commands/user.c,
src/backend/commands/vacuum.c, src/backend/commands/variable.c,
src/backend/commands/view.c, src/backend/executor/execAmi.c,
src/backend/executor/execJunk.c, src/backend/executor/execMain.c,
src/backend/executor/execQual.c, src/backend/executor/execScan.c,
src/backend/executor/execTuples.c,
src/backend/executor/execUtils.c, src/backend/executor/functions.c,
src/backend/executor/nodeAgg.c, src/backend/executor/nodeGroup.c,
src/backend/executor/nodeHash.c,
src/backend/executor/nodeHashjoin.c,
src/backend/executor/nodeIndexscan.c,
src/backend/executor/nodeLimit.c,
src/backend/executor/nodeMaterial.c,
src/backend/executor/nodeMergejoin.c,
src/backend/executor/nodeNestloop.c,
src/backend/executor/nodeResult.c,
src/backend/executor/nodeSeqscan.c,
src/backend/executor/nodeSetOp.c,
src/backend/executor/nodeSubplan.c,
src/backend/executor/nodeSubqueryscan.c,
src/backend/executor/nodeTidscan.c, src/backend/executor/spi.c,
src/backend/lib/bit.c, src/backend/libpq/auth.c,
src/backend/libpq/be-fsstubs.c, src/backend/libpq/crypt.c,
src/backend/libpq/password.c, src/backend/libpq/pqcomm.c,
src/backend/libpq/pqpacket.c, src/backend/libpq/pqsignal.c,
src/backend/main/main.c, src/backend/nodes/copyfuncs.c,
src/backend/nodes/equalfuncs.c, src/backend/nodes/list.c,
src/backend/nodes/makefuncs.c, src/backend/nodes/nodeFuncs.c,
src/backend/nodes/outfuncs.c, src/backend/nodes/print.c,
src/backend/nodes/read.c, src/backend/nodes/readfuncs.c,
src/backend/optimizer/geqo/geqo_eval.c,
src/backend/optimizer/geqo/geqo_main.c,
src/backend/optimizer/path/allpaths.c,
src/backend/optimizer/path/clausesel.c,
src/backend/optimizer/path/costsize.c,
src/backend/optimizer/path/indxpath.c,
src/backend/optimizer/path/joinpath.c,
src/backend/optimizer/path/joinrels.c,
src/backend/optimizer/path/pathkeys.c,
src/backend/optimizer/path/_deadcode/predmig.c,
src/backend/optimizer/plan/createplan.c,
src/backend/optimizer/plan/initsplan.c,
src/backend/optimizer/plan/planmain.c,
src/backend/optimizer/plan/planner.c,
src/backend/optimizer/plan/setrefs.c,
src/backend/optimizer/plan/subselect.c,
src/backend/optimizer/prep/prepkeyset.c,
src/backend/optimizer/prep/prepqual.c,
src/backend/optimizer/prep/preptlist.c,
src/backend/optimizer/prep/prepunion.c,
src/backend/optimizer/util/clauses.c,
src/backend/optimizer/util/joininfo.c,
src/backend/optimizer/util/pathnode.c,
src/backend/optimizer/util/plancat.c,
src/backend/optimizer/util/tlist.c,
src/backend/optimizer/util/var.c, src/backend/parser/analyze.c,
src/backend/parser/keywords.c, src/backend/parser/parse_clause.c,
src/backend/parser/parse_coerce.c, src/backend/parser/parse_expr.c,
src/backend/parser/parse_func.c, src/backend/parser/parse_node.c,
src/backend/parser/parse_oper.c,
src/backend/parser/parse_relation.c,
src/backend/parser/parse_target.c, src/backend/parser/parse_type.c,
src/backend/parser/parser.c, src/backend/port/strtol.c,
src/backend/port/beos/sem.c, src/backend/port/beos/shm.c,
src/backend/port/beos/support.c, src/backend/port/darwin/sem.c,
src/backend/port/dynloader/aix.c, src/backend/port/dynloader/aix.h,
src/backend/port/dynloader/beos.c,
src/backend/port/dynloader/darwin.c,
src/backend/port/dynloader/darwin.h,
src/backend/port/dynloader/hpux.c,
src/backend/port/dynloader/solaris.h, src/backend/port/qnx4/shm.c,
src/backend/postmaster/postmaster.c, src/backend/regex/engine.c,
src/backend/regex/regcomp.c, src/backend/regex/regexec.c,
src/backend/rewrite/rewriteDefine.c,
src/backend/rewrite/rewriteHandler.c,
src/backend/rewrite/rewriteManip.c,
src/backend/rewrite/rewriteRemove.c,
src/backend/rewrite/rewriteSupport.c,
src/backend/storage/buffer/buf_init.c,
src/backend/storage/buffer/buf_table.c,
src/backend/storage/buffer/bufmgr.c,
src/backend/storage/buffer/localbuf.c,
src/backend/storage/buffer/s_lock.c,
src/backend/storage/file/buffile.c, src/backend/storage/file/fd.c,
src/backend/storage/ipc/ipc.c, src/backend/storage/ipc/ipci.c,
src/backend/storage/ipc/shmem.c,
src/backend/storage/ipc/shmqueue.c,
src/backend/storage/ipc/sinval.c,
src/backend/storage/ipc/sinvaladt.c,
src/backend/storage/ipc/spin.c,
src/backend/storage/large_object/inv_api.c,
src/backend/storage/lmgr/deadlock.c,
src/backend/storage/lmgr/lmgr.c, src/backend/storage/lmgr/lock.c,
src/backend/storage/lmgr/proc.c,
src/backend/storage/page/bufpage.c, src/backend/storage/smgr/md.c,
src/backend/storage/smgr/smgr.c, src/backend/tcop/dest.c,
src/backend/tcop/fastpath.c, src/backend/tcop/postgres.c,
src/backend/tcop/pquery.c, src/backend/tcop/utility.c,
src/backend/tioga/tgRecipe.c, src/backend/tioga/tgRecipe.h,
src/backend/utils/adt/acl.c, src/backend/utils/adt/arrayfuncs.c,
src/backend/utils/adt/ascii.c, src/backend/utils/adt/bool.c,
src/backend/utils/adt/cash.c, src/backend/utils/adt/date.c,
src/backend/utils/adt/datetime.c, src/backend/utils/adt/datum.c,
src/backend/utils/adt/float.c, src/backend/utils/adt/format_type.c,
src/backend/utils/adt/formatting.c,
src/backend/utils/adt/geo_ops.c,
src/backend/utils/adt/inet_net_ntop.c, src/backend/utils/adt/int.c,
src/backend/utils/adt/int8.c, src/backend/utils/adt/like.c,
src/backend/utils/adt/mac.c, src/backend/utils/adt/misc.c,
src/backend/utils/adt/nabstime.c, src/backend/utils/adt/network.c,
src/backend/utils/adt/not_in.c, src/backend/utils/adt/numeric.c,
src/backend/utils/adt/numutils.c, src/backend/utils/adt/oid.c,
src/backend/utils/adt/oracle_compat.c,
src/backend/utils/adt/pg_locale.c,
src/backend/utils/adt/pg_lzcompress.c,
src/backend/utils/adt/quote.c, src/backend/utils/adt/regexp.c,
src/backend/utils/adt/regproc.c,
src/backend/utils/adt/ri_triggers.c,
src/backend/utils/adt/ruleutils.c,
src/backend/utils/adt/selfuncs.c, src/backend/utils/adt/sets.c,
src/backend/utils/adt/tid.c, src/backend/utils/adt/timestamp.c,
src/backend/utils/adt/varbit.c, src/backend/utils/adt/varchar.c,
src/backend/utils/adt/varlena.c,
src/backend/utils/cache/catcache.c,
src/backend/utils/cache/fcache.c, src/backend/utils/cache/inval.c,
src/backend/utils/cache/lsyscache.c,
src/backend/utils/cache/relcache.c,
src/backend/utils/cache/syscache.c,
src/backend/utils/cache/temprel.c, src/backend/utils/error/elog.c,
src/backend/utils/error/exc.c, src/backend/utils/fmgr/dfmgr.c,
src/backend/utils/fmgr/fmgr.c, src/backend/utils/hash/dynahash.c,
src/backend/utils/hash/pg_crc.c, src/backend/utils/init/globals.c,
src/backend/utils/init/miscinit.c,
src/backend/utils/init/postinit.c, src/backend/utils/mb/conv.c,
src/backend/utils/mb/liketest.c, src/backend/utils/mb/palloc.c,
src/backend/utils/mb/utftest.c, src/backend/utils/mb/wchar.c,
src/backend/utils/misc/database.c, src/backend/utils/misc/guc.c,
src/backend/utils/misc/ps_status.c, src/backend/utils/mmgr/aset.c,
src/backend/utils/mmgr/mcxt.c, src/backend/utils/mmgr/portalmem.c,
src/backend/utils/sort/tuplesort.c,
src/backend/utils/sort/tuplestore.c, src/bin/pg_dump/common.c,
src/bin/pg_dump/pg_backup.h, src/bin/pg_dump/pg_backup_archiver.c,
src/bin/pg_dump/pg_backup_archiver.h,
src/bin/pg_dump/pg_backup_custom.c, src/bin/pg_dump/pg_backup_db.c,
src/bin/pg_dump/pg_backup_db.h, src/bin/pg_dump/pg_backup_files.c,
src/bin/pg_dump/pg_backup_null.c, src/bin/pg_dump/pg_backup_tar.c,
src/bin/pg_dump/pg_backup_tar.h, src/bin/pg_dump/pg_dump.c,
src/bin/pg_dump/pg_dump.h, src/bin/pg_dump/pg_restore.c,
src/bin/pg_id/pg_id.c, src/bin/pg_passwd/pg_passwd.c,
src/bin/psql/command.c, src/bin/psql/copy.c,
src/bin/psql/describe.c, src/bin/psql/help.c,
src/bin/psql/large_obj.c, src/bin/psql/mainloop.c,
src/bin/psql/print.c, src/bin/psql/prompt.c,
src/bin/psql/startup.c, src/bin/psql/tab-complete.c,
src/include/c.h, src/include/fmgr.h, src/include/miscadmin.h,
src/include/postgres.h, src/include/postgres_ext.h,
src/include/access/gist.h, src/include/access/hash.h,
src/include/access/heapam.h, src/include/access/htup.h,
src/include/access/istrat.h, src/include/access/itup.h,
src/include/access/nbtree.h, src/include/access/printtup.h,
src/include/access/rtree.h, src/include/access/strat.h,
src/include/access/transam.h, src/include/access/tupmacs.h,
src/include/access/tuptoaster.h, src/include/access/xact.h,
src/include/access/xlog.h, src/include/access/xlogdefs.h,
src/include/access/xlogutils.h, src/include/catalog/catalog.h,
src/include/catalog/catversion.h, src/include/catalog/heap.h,
src/include/catalog/index.h, src/include/catalog/indexing.h,
src/include/catalog/pg_aggregate.h, src/include/catalog/pg_amop.h,
src/include/catalog/pg_attribute.h, src/include/catalog/pg_class.h,
src/include/catalog/pg_control.h,
src/include/catalog/pg_database.h,
src/include/catalog/pg_largeobject.h,
src/include/catalog/pg_operator.h, src/include/catalog/pg_proc.h,
src/include/catalog/pg_rewrite.h, src/include/catalog/pg_type.h,
src/include/commands/command.h, src/include/commands/comment.h,
src/include/commands/dbcommands.h, src/include/commands/sequence.h,
src/include/commands/trigger.h, src/include/commands/vacuum.h,
src/include/executor/execFlatten.h,
src/include/executor/executor.h, src/include/executor/hashjoin.h,
src/include/executor/nodeHash.h, src/include/lib/dllist.h,
src/include/libpq/auth.h, src/include/libpq/hba.h,
src/include/libpq/libpq.h, src/include/libpq/pqcomm.h,
src/include/mb/pg_wchar.h, src/include/nodes/execnodes.h,
src/include/nodes/memnodes.h, src/include/nodes/nodes.h,
src/include/nodes/parsenodes.h, src/include/nodes/plannodes.h,
src/include/nodes/primnodes.h, src/include/nodes/relation.h,
src/include/optimizer/clauses.h, src/include/optimizer/geqo.h,
src/include/optimizer/geqo_pool.h,
src/include/optimizer/pathnode.h, src/include/optimizer/paths.h,
src/include/optimizer/plancat.h, src/include/optimizer/planmain.h,
src/include/optimizer/prep.h, src/include/optimizer/restrictinfo.h,
src/include/parser/parse_clause.h,
src/include/parser/parse_coerce.h, src/include/parser/parse_func.h,
src/include/parser/parse_node.h, src/include/parser/parse_oper.h,
src/include/parser/parse_relation.h, src/include/port/beos.h,
src/include/port/darwin.h, src/include/port/freebsd.h,
src/include/port/netbsd.h, src/include/port/openbsd.h,
src/include/port/osf.h, src/include/port/solaris.h,
src/include/port/win.h, src/include/port/darwin/sem.h,
src/include/regex/regex.h, src/include/regex/utils.h,
src/include/rewrite/rewriteManip.h,
src/include/rewrite/rewriteSupport.h,
src/include/storage/buf_internals.h, src/include/storage/bufmgr.h,
src/include/storage/bufpage.h, src/include/storage/ipc.h,
src/include/storage/itemid.h, src/include/storage/itemptr.h,
src/include/storage/large_object.h, src/include/storage/lmgr.h,
src/include/storage/lock.h, src/include/storage/proc.h,
src/include/storage/relfilenode.h, src/include/storage/shmem.h,
src/include/storage/sinvaladt.h, src/include/storage/smgr.h,
src/include/storage/spin.h, src/include/tcop/tcopprot.h,
src/include/utils/acl.h, src/include/utils/array.h,
src/include/utils/ascii.h, src/include/utils/builtins.h,
src/include/utils/catcache.h, src/include/utils/date.h,
src/include/utils/datum.h, src/include/utils/elog.h,
src/include/utils/fcache.h, src/include/utils/fmgrtab.h,
src/include/utils/geo_decls.h, src/include/utils/guc.h,
src/include/utils/hsearch.h, src/include/utils/inet.h,
src/include/utils/lsyscache.h, src/include/utils/memutils.h,
src/include/utils/nabstime.h, src/include/utils/numeric.h,
src/include/utils/palloc.h, src/include/utils/pg_crc.h,
src/include/utils/pg_locale.h, src/include/utils/portal.h,
src/include/utils/ps_status.h, src/include/utils/rel.h,
src/include/utils/syscache.h, src/include/utils/temprel.h,
src/include/utils/timestamp.h, src/include/utils/tuplestore.h,
src/include/utils/varbit.h, src/interfaces/cli/example1.c,
src/interfaces/cli/example2.c, src/interfaces/cli/sqlcli.h,
src/interfaces/ecpg/include/ecpgerrno.h,
src/interfaces/ecpg/include/ecpglib.h,
src/interfaces/ecpg/include/sqlca.h,
src/interfaces/ecpg/lib/connect.c, src/interfaces/ecpg/lib/data.c,
src/interfaces/ecpg/lib/descriptor.c,
src/interfaces/ecpg/lib/error.c, src/interfaces/ecpg/lib/execute.c,
src/interfaces/ecpg/lib/extern.h,
src/interfaces/ecpg/lib/typename.c,
src/interfaces/ecpg/preproc/descriptor.c,
src/interfaces/ecpg/preproc/ecpg.c,
src/interfaces/ecpg/preproc/ecpg_keywords.c,
src/interfaces/ecpg/preproc/extern.h,
src/interfaces/ecpg/preproc/keywords.c,
src/interfaces/ecpg/preproc/type.c,
src/interfaces/libpgeasy/halt.c,
src/interfaces/libpgeasy/libpgeasy.h,
src/interfaces/libpgeasy/examples/pginsert.c,
src/interfaces/libpgeasy/examples/pgnulltest.c,
src/interfaces/libpgeasy/examples/pgwordcount.c,
src/interfaces/libpgtcl/pgtcl.c,
src/interfaces/libpgtcl/pgtclCmds.c,
src/interfaces/libpgtcl/pgtclCmds.h,
src/interfaces/libpq/fe-auth.c, src/interfaces/libpq/fe-connect.c,
src/interfaces/libpq/fe-misc.c, src/interfaces/libpq/fe-print.c,
src/interfaces/libpq/libpq-fe.h, src/interfaces/libpq/libpq-int.h,
src/interfaces/odbc/bind.c, src/interfaces/odbc/bind.h,
src/interfaces/odbc/columninfo.c, src/interfaces/odbc/columninfo.h,
src/interfaces/odbc/connection.c, src/interfaces/odbc/connection.h,
src/interfaces/odbc/convert.c, src/interfaces/odbc/convert.h,
src/interfaces/odbc/dlg_specific.c,
src/interfaces/odbc/dlg_specific.h, src/interfaces/odbc/drvconn.c,
src/interfaces/odbc/environ.c, src/interfaces/odbc/environ.h,
src/interfaces/odbc/execute.c, src/interfaces/odbc/gpps.c,
src/interfaces/odbc/gpps.h, src/interfaces/odbc/info.c,
src/interfaces/odbc/iodbc.h, src/interfaces/odbc/isql.h,
src/interfaces/odbc/isqlext.h, src/interfaces/odbc/lobj.c,
src/interfaces/odbc/lobj.h, src/interfaces/odbc/misc.c,
src/interfaces/odbc/misc.h, src/interfaces/odbc/multibyte.c,
src/interfaces/odbc/multibyte.h, src/interfaces/odbc/options.c,
src/interfaces/odbc/parse.c, src/interfaces/odbc/pgtypes.c,
src/interfaces/odbc/pgtypes.h, src/interfaces/odbc/psqlodbc.c,
src/interfaces/odbc/psqlodbc.h, src/interfaces/odbc/qresult.c,
src/interfaces/odbc/qresult.h, src/interfaces/odbc/resource.h,
src/interfaces/odbc/results.c, src/interfaces/odbc/setup.c,
src/interfaces/odbc/socket.c, src/interfaces/odbc/socket.h,
src/interfaces/odbc/statement.c, src/interfaces/odbc/statement.h,
src/interfaces/odbc/tuple.c, src/interfaces/odbc/tuple.h,
src/interfaces/odbc/tuplelist.c, src/interfaces/odbc/tuplelist.h,
src/interfaces/perl5/ppport.h, src/interfaces/python/pgmodule.c,
src/pl/plperl/plperl.c, src/pl/plperl/ppport.h,
src/pl/plpgsql/src/pl_comp.c, src/pl/plpgsql/src/pl_exec.c,
src/pl/plpgsql/src/pl_funcs.c, src/pl/plpgsql/src/pl_handler.c,
src/pl/plpgsql/src/plpgsql.h, src/pl/tcl/pltcl.c,
src/test/examples/testlo.c, src/test/regress/regress.c,
src/tools/entab/halt.c, src/tutorial/beard.c, src/tutorial/funcs.c,
src/tutorial/funcs_new.c, src/utils/dllinit.c: pgindent run. Make
it all clean.
2001-03-21 14:09 petere
* doc/src/sgml/libpq.sgml: correction
2001-03-21 11:26 inoue
* src/interfaces/odbc/win32.mak: The attached patch fixes win32.mak
which got broken by the Multibyte mod :-(, and tidies it up a
little as well.
Regards, Dave.
2001-03-21 05:13 vadim
* src/backend/storage/buffer/bufmgr.c: Check bufHdr->cntxDirty and
call StartBufferIO in BufferSync() *before* acquiring shlock on
buffer context. This way we should be protected against conflicts
with FlushRelationBuffers. (Seems we never do excl lock and then
StartBufferIO for the same buffer, so there should be no deadlock
here, - but we'd better check this very soon).
2001-03-21 04:35 inoue
* src/interfaces/odbc/multibyte.c: a fix from Eiji Tokuya.
2001-03-20 18:35 scrappy
* configure, configure.in, ChangeLogs/ChangeLog-7.1beta6-7.1RC1:
well, here goes our first Release Candidate for 7.1 *cross fingers*
2001-03-20 17:31 momjian
* src/backend/utils/misc/ps_status.c: Fix 'ps' WAIT status display
bug on setproctitle() platforms, cleared by Tom Lane.
2001-03-20 17:15 momjian
* doc/: FAQ_japanese, src/FAQ/FAQ_japanese.html: Update Japanese
FAQ.
2001-03-20 15:54 tgl
* doc/src/sgml/ref/: create_table_as.sgml, select.sgml,
select_into.sgml: Recommend CREATE TABLE AS in preference to SELECT
INTO. Remove the (inadequate anyway) mention of SELECT INTO from
the main SELECT ref page. Point out that SELECT INTO means
something else in plpgsql and ecpg.
2001-03-19 22:08 tgl
* contrib/intarray/: README.intarray, _int.c, data/test__int.data,
expected/_int.out: Repair intarray's problems with TOASTed input,
avoid scribbling on source data, improve split algorithm for
intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
2001-03-19 19:18 tgl
* doc/FAQ_HPUX: Mention that parallel regress script needs to be
run under ksh not sh on HPUX.
2001-03-19 19:09 tgl
* src/test/regress/README, doc/src/sgml/regress.sgml: Discuss
LOCALE differences as a reason for regression test failure.
2001-03-19 17:29 tgl
* src/backend/utils/mmgr/aset.c: Tweak out-of-memory error messages
to include the request size, so that it's easier to tell whether a
bug report is talking about progressive memory exhaustion or a
wacko requested chunk size.
2001-03-19 17:27 tgl
* src/backend/: regex/regerror.c, regex/regex.3,
utils/adt/regexp.c: Make regular-expression error messages a tad
less obscure, per gripe from Josh Berkus.
2001-03-19 16:57 momjian
* src/interfaces/jdbc/README: Update Peter Mount's email address in
README.
2001-03-19 11:20 petere
* doc/src/sgml/ref/ecpg-ref.sgml: Add missing TO.
2001-03-19 11:19 petere
* doc/src/sgml/: backup.sgml, installation.sgml: Add note about
saving large objects during upgrade.
2001-03-18 21:35 pjw
* src/bin/pg_dump/: pg_backup.h, pg_backup_archiver.c,
pg_backup_archiver.h, pg_backup_custom.c, pg_backup_db.c,
pg_backup_db.h, pg_backup_files.c, pg_backup_null.c,
pg_backup_tar.c, pg_backup_tar.h, pg_dump.c, pg_restore.c: - Added
CVS headers to files
- Avoid forcing table name to lower case in FixupBlobXrefs
- Removed fmtId calls for all ArchiveEntry name fields. This fixes
quoting problems in trigger enable/disable code for mixed case
table names, and avoids commands like 'pg_restore -t '"TblA"'
2001-03-18 18:36 tgl
* contrib/intarray/_int.c: Restore include-file updates, and fix
some of the more glaring macro sloppiness (insufficient
parenthesization, etc). It still fails regress test for me,
however.
2001-03-18 18:35 tgl
* contrib/intarray/Makefile: Restore Peter's makefile fixes.
2001-03-18 15:27 tgl
* src/bin/pg_ctl/pg_ctl.sh: Give postmaster enough time to update
the pidfile before checking to see if it's been updated. Skip the
whole mess if we didn't see any old pidfile.
2001-03-18 15:18 tgl
* src/: backend/access/transam/transam.c,
backend/access/transam/varsup.c, backend/access/transam/xlog.c,
backend/storage/ipc/sinval.c, include/access/transam.h,
include/access/xlog.h, include/catalog/pg_control.h: Remove NEXTXID
xlog record type to avoid three-way deadlock risk. NEXTXID isn't
really necessary, per previous discussion in pghackers, but I
mulishy insisted we should put it in anyway. Mea culpa.
2001-03-18 15:13 tgl
* src/backend/storage/lmgr/lock.c: When we add 'waiting' to the
ps_status display, there should be a space in front of it. Improve
comments a little.
2001-03-18 13:32 tgl
* src/backend/port/qnx4/: ipc.h, shm.h: Considering the BeOS port
didn't compile without IPC_STAT and shm_nattch, I'm betting the
QNX4 port does not either ...
2001-03-18 13:22 tgl
* src/: include/port/beos.h, backend/port/beos/shm.c,
backend/port/beos/support.c, backend/utils/init/miscinit.c: Patches
from Cyril Velter to make shared-memory-conflict-detection code
work in BeOS port.
2001-03-17 22:45 pjw
* src/bin/pg_dump/pg_backup_archiver.c: Fixed but in
_enableTriggersIfNecessary introduced by previous patches by me
which caused segfault in a data-only retore with BLOBs
2001-03-17 21:25 tgl
* src/bin/pg_dump/pg_backup_custom.c: Fix coredump due to writing
one more byte than we'd allocated.
2001-03-17 19:30 tgl
* src/backend/access/transam/xlog.c: Make sure ControlFile
logId/logSeg don't go backwards (barely possible given a slow
backend, if we update unconditionally as the code did before).
2001-03-17 16:59 momjian
* contrib/intarray/: Makefile, README.intarray, _int.c,
_int.sql.in, bench/create_test.pl, expected/_int.out, sql/_int.sql:
Update contrib intarray to Jan 25 version.
2001-03-17 15:54 tgl
* src/backend/access/transam/xlog.c: Rearrange XLogFileInit so that
control-file spinlock is not held while filling the new log file
with zeroes, only while renaming it into place. This should
prevent problems with 'stuck spinlock' errors under heavy load.
2001-03-17 13:15 petere
* HISTORY: Reformat the "major changes" to 72 or so columns.
2001-03-17 13:08 petere
* doc/src/sgml/plsql.sgml: Repair.
2001-03-17 11:27 petere
* doc/src/sgml/ref/: createdb.sgml, pg_dump.sgml, pg_restore.sgml,
pgaccess-ref.sgml, postgres-ref.sgml, vacuumdb.sgml: Tuning for
docbook2man.
2001-03-16 20:53 thomas
* doc/src/sgml/plsql.sgml: New updates from Roberto Mello sent
privately today due to email troubles.
2001-03-16 17:12 petere
* doc/FAQ_MSWIN: Make note that version 1.1.8 doesn't work.
2001-03-16 16:49 scrappy
* ChangeLogs/ChangeLog-7.1beta5-to-7.1beta6:
Generated Changelog since last Beta ...
2001-04-12 05:49 darcy
* src/interfaces/python/pgdb.py: I just noticed the beta comment.
That's not actually true any more so I removed it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment