OSDN Git Service

pg-rex/syncrep.git
21 years agoAdd:
Bruce Momjian [Mon, 23 Jun 2003 04:31:25 +0000 (04:31 +0000)]
Add:

> * Exit postmaster if postgresql.conf can not be opened

21 years agoAdd:
Bruce Momjian [Mon, 23 Jun 2003 04:00:10 +0000 (04:00 +0000)]
Add:

* Allow SSL-enabled clients to turn off SSL transfers

21 years agoAdd:
Bruce Momjian [Mon, 23 Jun 2003 03:52:24 +0000 (03:52 +0000)]
Add:

> * Change CVS $Id$ to $PostgreSQL$

21 years agoRevise hash join and hash aggregation code to use the same datatype-
Tom Lane [Sun, 22 Jun 2003 22:04:55 +0000 (22:04 +0000)]
Revise hash join and hash aggregation code to use the same datatype-
specific hash functions used by hash indexes, rather than the old
not-datatype-aware ComputeHashFunc routine.  This makes it safe to do
hash joining on several datatypes that previously couldn't use hashing.
The sets of datatypes that are hash indexable and hash joinable are now
exactly the same, whereas before each had some that weren't in the other.

21 years agoFix some index entries.
Tom Lane [Sun, 22 Jun 2003 16:17:01 +0000 (16:17 +0000)]
Fix some index entries.

21 years agoAdjust chapter ordering in Internals part to something that seems more
Tom Lane [Sun, 22 Jun 2003 16:16:44 +0000 (16:16 +0000)]
Adjust chapter ordering in Internals part to something that seems more
reasonable.

21 years agoAdded missing terminating '\0' char for data put into char *.
Michael Meskes [Sun, 22 Jun 2003 11:00:48 +0000 (11:00 +0000)]
Added missing terminating '\0' char for data put into char *.

21 years agoRemove a lot of desperately obsolete material (which was all out of sight,
Tom Lane [Sun, 22 Jun 2003 05:48:26 +0000 (05:48 +0000)]
Remove a lot of desperately obsolete material (which was all out of sight,
out of mind, because it'd been commented out years ago).  Try to bring the
remains up to a reasonable level of currency, and give it all approximately
the same high level of abstraction.

21 years agoAdd question mark to item:
Bruce Momjian [Sun, 22 Jun 2003 05:04:52 +0000 (05:04 +0000)]
Add question mark to item:

<   from making invalid dates valid
>   from making invalid dates valid?

21 years agoAdd:
Bruce Momjian [Sun, 22 Jun 2003 05:01:17 +0000 (05:01 +0000)]
Add:

> * Allow current datestyle to restrict dates;  prevent month/day swapping
>   from making invalid dates valid
> * Prevent month/day swapping of ISO dates to make invalid dates valid

21 years agoAdd pgtest script.
Bruce Momjian [Sun, 22 Jun 2003 04:22:57 +0000 (04:22 +0000)]
Add pgtest script.

21 years agoUse libpq's new logic to get the server version, instead of doing it ourselves.
Tom Lane [Sun, 22 Jun 2003 00:56:58 +0000 (00:56 +0000)]
Use libpq's new logic to get the server version, instead of doing it ourselves.

21 years agoBring the libpq example programs into the 21st century.
Tom Lane [Sun, 22 Jun 2003 00:29:29 +0000 (00:29 +0000)]
Bring the libpq example programs into the 21st century.

21 years agoGet rid of extraneous newline in PQendcopy error output (was causing
Tom Lane [Sat, 21 Jun 2003 23:25:38 +0000 (23:25 +0000)]
Get rid of extraneous newline in PQendcopy error output (was causing
regression test diffs...).

21 years agoUpdate libpq to make new features of FE/BE protocol available to
Tom Lane [Sat, 21 Jun 2003 21:51:35 +0000 (21:51 +0000)]
Update libpq to make new features of FE/BE protocol available to
client applications.  Some editorial work on libpq.sgml, too.

21 years agoFix some markup problems.
Tom Lane [Sat, 21 Jun 2003 19:33:36 +0000 (19:33 +0000)]
Fix some markup problems.

21 years agoFix for extended-query protocol: in event of error, backend was issuing
Tom Lane [Fri, 20 Jun 2003 21:58:02 +0000 (21:58 +0000)]
Fix for extended-query protocol: in event of error, backend was issuing
a ReadyForQuery (Z message) immediately and then another one after the
Sync message arrives.  Suppress the first one to make it work per spec.

21 years agoSynced with backend.
Michael Meskes [Fri, 20 Jun 2003 15:16:06 +0000 (15:16 +0000)]
Synced with backend.

21 years agoJust another Informix compatibility change. They uses "free" for cursors as wellafter...
Michael Meskes [Fri, 20 Jun 2003 13:36:34 +0000 (13:36 +0000)]
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.

21 years agoJust another ecpg todo done.
Michael Meskes [Fri, 20 Jun 2003 13:20:09 +0000 (13:20 +0000)]
Just another ecpg todo done.

21 years agoSorry, missed a file.
Michael Meskes [Fri, 20 Jun 2003 12:01:46 +0000 (12:01 +0000)]
Sorry, missed a file.

21 years agoAllow constants in using clauses.
Michael Meskes [Fri, 20 Jun 2003 12:00:59 +0000 (12:00 +0000)]
Allow constants in using clauses.

21 years agoWe neglected to set conn->raddr.salen, leading to breakage of CANCEL
Tom Lane [Fri, 20 Jun 2003 04:09:12 +0000 (04:09 +0000)]
We neglected to set conn->raddr.salen, leading to breakage of CANCEL
and probably other stuff.

21 years agoDisallow dollar sign in operator names, instead allow it as a non-first
Tom Lane [Thu, 19 Jun 2003 23:22:40 +0000 (23:22 +0000)]
Disallow dollar sign in operator names, instead allow it as a non-first
character in identifiers.  The first change eliminates the current need
to put spaces around parameter references, as in "x<=$2".  The second
change improves compatibility with Oracle and some other RDBMSes.  This
was discussed and agreed to back in January, but did not get done.

21 years agoFixed fetch into char * and added missing prototype for an Informix function.
Michael Meskes [Thu, 19 Jun 2003 09:52:11 +0000 (09:52 +0000)]
Fixed fetch into char * and added missing prototype for an Informix function.

21 years agoMove thread checking code farther down in conflgure.
Bruce Momjian [Wed, 18 Jun 2003 16:04:15 +0000 (16:04 +0000)]
Move thread checking code farther down in conflgure.

21 years agoChange clusterdb and vacuumdb into C programs.
Peter Eisentraut [Wed, 18 Jun 2003 12:19:11 +0000 (12:19 +0000)]
Change clusterdb and vacuumdb into C programs.

21 years agoMake FLOAT(p) measure the precision p in bits, not decimal digits, to
Tom Lane [Tue, 17 Jun 2003 23:12:36 +0000 (23:12 +0000)]
Make FLOAT(p) measure the precision p in bits, not decimal digits, to
match the SQL standard.  Document FLOAT and FLOAT(p) notations in
datatype.sgml.  Per recent pghackers discussion.

21 years agoMore information schema views.
Peter Eisentraut [Tue, 17 Jun 2003 18:00:48 +0000 (18:00 +0000)]
More information schema views.

21 years agoAdd missing file to clean target.
Peter Eisentraut [Tue, 17 Jun 2003 17:58:54 +0000 (17:58 +0000)]
Add missing file to clean target.

21 years agoFixed several more parsing bugs.
Michael Meskes [Tue, 17 Jun 2003 07:28:22 +0000 (07:28 +0000)]
Fixed several more parsing bugs.

21 years agoFix error line numbers reported for errors in plpgsql_parse_word and
Tom Lane [Tue, 17 Jun 2003 04:35:03 +0000 (04:35 +0000)]
Fix error line numbers reported for errors in plpgsql_parse_word and
siblings.

21 years agoFix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not
Tom Lane [Mon, 16 Jun 2003 18:56:45 +0000 (18:56 +0000)]
Fix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not
work at all, and neither case behaved sanely for negative intervals.

21 years agoFixed two small bugs.
Michael Meskes [Mon, 16 Jun 2003 16:58:11 +0000 (16:58 +0000)]
Fixed two small bugs.

21 years agoAllow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals,
Tom Lane [Mon, 16 Jun 2003 02:03:38 +0000 (02:03 +0000)]
Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals,
silently resolving them to type TEXT.  This is comparable to what we
do when faced with UNKNOWN in CASE, UNION, and other contexts.  It gets
rid of this and related annoyances:
select distinct f1, '' from int4_tbl;
ERROR:  Unable to identify an ordering operator '<' for type unknown
This was discussed many moons ago, but no one got round to fixing it.

21 years agoAdjust nestloop-with-inner-indexscan plan generation so that we catch
Tom Lane [Sun, 15 Jun 2003 22:51:45 +0000 (22:51 +0000)]
Adjust nestloop-with-inner-indexscan plan generation so that we catch
some cases of redundant clauses that were formerly not caught.  We have
to special-case this because the clauses involved never get attached to
the same join restrictlist and so the existing logic does not notice
that they are redundant.

21 years agoReplace cryptic 'Unknown kind of return type' messages with something
Tom Lane [Sun, 15 Jun 2003 17:59:10 +0000 (17:59 +0000)]
Replace cryptic 'Unknown kind of return type' messages with something
hopefully a little more useful.

21 years agoCause GROUP BY clause to adopt ordering operators from ORDER BY when
Tom Lane [Sun, 15 Jun 2003 16:42:08 +0000 (16:42 +0000)]
Cause GROUP BY clause to adopt ordering operators from ORDER BY when
both clauses specify the same targets, rather than always using the
default ordering operator.  This allows 'GROUP BY foo ORDER BY foo DESC'
to be done with only one sort step.

21 years agoindex() -> strchr().
Tom Lane [Sun, 15 Jun 2003 16:21:39 +0000 (16:21 +0000)]
index() -> strchr().

21 years agoTypo in version number.
Michael Meskes [Sun, 15 Jun 2003 12:06:50 +0000 (12:06 +0000)]
Typo in version number.

21 years agoSome minor changes for new version numbering.
Michael Meskes [Sun, 15 Jun 2003 11:10:09 +0000 (11:10 +0000)]
Some minor changes for new version numbering.

21 years agoUpdating ECPG todo items.
Michael Meskes [Sun, 15 Jun 2003 10:34:10 +0000 (10:34 +0000)]
Updating ECPG todo items.

21 years agoEcpg cleanups for prototypes.
Bruce Momjian [Sun, 15 Jun 2003 04:56:45 +0000 (04:56 +0000)]
Ecpg cleanups for prototypes.

21 years agoRun autoconf/autoheader for ecpg change.
Bruce Momjian [Sun, 15 Jun 2003 04:09:18 +0000 (04:09 +0000)]
Run autoconf/autoheader for ecpg change.

21 years agoMake ecpg thread safe.
Bruce Momjian [Sun, 15 Jun 2003 04:07:58 +0000 (04:07 +0000)]
Make ecpg thread safe.

Lee Kindness

21 years agoMove thread os defines into template files.
Bruce Momjian [Sat, 14 Jun 2003 19:21:42 +0000 (19:21 +0000)]
Move thread os defines into template files.

21 years agoHandle threading in two more gethostbyname calls.
Bruce Momjian [Sat, 14 Jun 2003 18:20:33 +0000 (18:20 +0000)]
Handle threading in two more gethostbyname calls.

21 years agoMake libpq thread-safe with configure --with-threads option.
Bruce Momjian [Sat, 14 Jun 2003 17:49:54 +0000 (17:49 +0000)]
Make libpq thread-safe with configure --with-threads option.

Lee Kindness

21 years agoAdd thread.c for libpq threading, and hook it into libpq/configure.
Bruce Momjian [Sat, 14 Jun 2003 14:35:42 +0000 (14:35 +0000)]
Add thread.c for libpq threading, and hook it into libpq/configure.

21 years agoAdd --with-threads configure option to control threaded libpq.
Bruce Momjian [Fri, 13 Jun 2003 23:10:08 +0000 (23:10 +0000)]
Add --with-threads configure option to control threaded libpq.

21 years ago- Enable FETCH without INTO.
Michael Meskes [Fri, 13 Jun 2003 10:50:58 +0000 (10:50 +0000)]
- Enable FETCH without INTO.
- Compatibility functions for INFORMIX handling of DECLARE statement.

21 years agoOkay, recognize freebsd 2.* and 3.* too.
Tom Lane [Fri, 13 Jun 2003 02:21:03 +0000 (02:21 +0000)]
Okay, recognize freebsd 2.* and 3.* too.

21 years agoExpect FreeBSD 5.* to have standard float arithmetic.
Tom Lane [Fri, 13 Jun 2003 01:50:50 +0000 (01:50 +0000)]
Expect FreeBSD 5.* to have standard float arithmetic.

21 years agoFix broken markup.
Tom Lane [Thu, 12 Jun 2003 18:34:06 +0000 (18:34 +0000)]
Fix broken markup.

21 years agoAdd thread-enable compile variables into libpq.
Bruce Momjian [Thu, 12 Jun 2003 17:31:50 +0000 (17:31 +0000)]
Add thread-enable compile variables into libpq.

21 years agoFix SQL function executor for case where last command of a function is
Tom Lane [Thu, 12 Jun 2003 17:29:26 +0000 (17:29 +0000)]
Fix SQL function executor for case where last command of a function is
not a SELECT.  We didn't use to allow that, but we do now.

21 years ago<sys/socket.h> requires <sys/types.h> to already have been included
Tom Lane [Thu, 12 Jun 2003 16:05:10 +0000 (16:05 +0000)]
<sys/socket.h> requires <sys/types.h> to already have been included
on some platforms.

21 years agoMention need for swap on Linux, and kill -9.
Bruce Momjian [Thu, 12 Jun 2003 15:58:19 +0000 (15:58 +0000)]
Mention need for swap on Linux, and kill -9.

21 years agoDocument default Linux autocommit behavior, and show workaround.
Bruce Momjian [Thu, 12 Jun 2003 15:31:02 +0000 (15:31 +0000)]
Document default Linux autocommit behavior, and show workaround.

21 years agoInstall all header files.
Michael Meskes [Thu, 12 Jun 2003 12:52:24 +0000 (12:52 +0000)]
Install all header files.

21 years agoAttached is the complete diff against current CVS.
Bruce Momjian [Thu, 12 Jun 2003 08:15:29 +0000 (08:15 +0000)]
Attached is the complete diff against current CVS.
Compiles on BCC 5.5 and VC++ 6.0 (with warnings).

Karl Waclawek

21 years agoBack out patch that got bundled into another patch.
Bruce Momjian [Thu, 12 Jun 2003 08:11:07 +0000 (08:11 +0000)]
Back out patch that got bundled into another patch.

21 years agoNew patch with corrected README attached.
Bruce Momjian [Thu, 12 Jun 2003 08:02:57 +0000 (08:02 +0000)]
New patch with corrected README attached.

Also quickly added mention that it may be a qualified schema name.

Rod Taylor

21 years agoAttached is a patch that enhances the output of psql's HTML mode.
Bruce Momjian [Thu, 12 Jun 2003 07:52:51 +0000 (07:52 +0000)]
Attached is a patch that enhances the output of psql's HTML mode.
The output now validates as HTML 4.01 Strict, XHTML 1.0 strict,
and XHTML 1.1 (assuming you wrap it in a valid html/body document).

It also wraps the output of PGRES_COMMAND_OK if the HTML tag is on,
for full compliance: this is why html_escaped_print has to be
externalized.

Greg Sabino Mullane greg@turnstep.com

21 years agoBrief note about sequence cache not being cleared in other backends.
Bruce Momjian [Thu, 12 Jun 2003 07:49:43 +0000 (07:49 +0000)]
Brief note about sequence cache not being cleared in other backends.

Actually clear the cache in the backend making the alteration.  This
follows in the footsteps of setval().

Rod Taylor

21 years agoIPv6 cleanups.
Bruce Momjian [Thu, 12 Jun 2003 07:36:51 +0000 (07:36 +0000)]
IPv6 cleanups.

Kurt Roeckx
Andrew Dunstan

21 years agoBack out this patch because it is patched inside a later patch.
Bruce Momjian [Thu, 12 Jun 2003 07:00:57 +0000 (07:00 +0000)]
Back out this patch because it is patched inside a later patch.

---------------------------------------------------------------------------

here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:

. address/maskbits, or
. address netmask (as now)

If the patch is accepted I will submit a documentation patch to cover
it.

This is submitted by agreement with Kurt Roeckx, who has worked on a
patch that covers this and other IPv6 issues.

21 years agoI succeeded by fixing up setup.py:
Bruce Momjian [Thu, 12 Jun 2003 02:15:09 +0000 (02:15 +0000)]
I succeeded by fixing up setup.py:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
--- setup.py~   Tue Mar 19 08:21:14 2002
+++ setup.py    Wed May 14 15:10:30 2003
@@ -30,8 +30,8 @@
        optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ]
        data_files = [ 'libpq.dll' ]
 else:
-       include_dirs=['/usr/include/pgsql']
-       library_dirs=['usr/lib/pgsql']
+       include_dirs=['../../include','../libpq','/usr/include/pgsql']
+       library_dirs=['../libpq','/usr/lib/pgsql']
        optional_libs=['pq']
        data_files = []
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

George Young

21 years agoHere is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
Bruce Momjian [Thu, 12 Jun 2003 02:12:58 +0000 (02:12 +0000)]
Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:

. address/maskbits, or
. address netmask (as now)

If the patch is accepted I will submit a documentation patch to cover
it.

This is submitted by agreement with Kurt Roeckx, who has worked on a
patch that covers this and other IPv6 issues.

Andrew Dunstan

21 years agoAdd Linux restart --- Slawomir Sudnik
Bruce Momjian [Thu, 12 Jun 2003 02:02:24 +0000 (02:02 +0000)]
Add Linux restart --- Slawomir Sudnik
Add "-l $PGLOG" for restart --- Darko Prenosil

21 years agoUp to now, SerializableSnapshot and QuerySnapshot are malloc'ed and
Bruce Momjian [Thu, 12 Jun 2003 01:42:21 +0000 (01:42 +0000)]
Up to now, SerializableSnapshot and QuerySnapshot are malloc'ed and
free'd for every transaction or statement, respectively.  This patch
puts these data structures into static memory, thus saving a few CPU
cycles and two malloc calls per transaction or (in isolation level
READ COMMITTED) per query.

Manfred Koizar

21 years agopsql: tab completion for \encoding
Bruce Momjian [Thu, 12 Jun 2003 01:38:08 +0000 (01:38 +0000)]
psql: tab completion for \encoding

Ian Barwick

21 years agoThis patch updates pg_autovacuum in several ways:
Bruce Momjian [Thu, 12 Jun 2003 01:36:44 +0000 (01:36 +0000)]
This patch updates pg_autovacuum in several ways:
* A few bug fixes
* fixes solaris compile and crash issue
* decouple vacuum analyze and analyze thresholds
* detach from tty (dameonize)
* improved logging layout
* more conservative default configuration
* improved, expanded and updated README

please apply and 1st convenience, or before code freeze which ever comes
first :-)

At this point I think I have brought pg_autovacuum and its client side
design as far as I think it should go.  It works, keeping file sizes in
check, helps performance and give the administrator a fair amount
flexibility in configuring it.

Next up is to do the FSM based design that is integrated into the back
end.

p.s. Thanks to Christopher Browne for his help.

Matthew T. O'Connor

21 years agoI found the libpq function PGunescapeBytea a little slow. It was taking a
Bruce Momjian [Thu, 12 Jun 2003 01:17:19 +0000 (01:17 +0000)]
I found the libpq function PGunescapeBytea a little slow. It was taking a
minute and a half to decode a 500Kb on a fairly fast machine. I think the
culprit is sscanf.

I attach a patch that replaces the function with one used to perform the same
task in pyPgSQL (a Python interface to PostgreSQL). This code was written by
Billy Allie, author of pyPgSQL. I've changed a few variable names to match
those in the original code and removed a bit of Pythonness.

Billy has kindly looked at the code and points out that it is slightly
stricter than the original implementation and if it encounters an invalid
bytea such as '\12C' it drops the unescape '\' and outputs '12C'.

The code is licensed by the author under a BSD license.

I've performed limited testing of the function by putting JPEGs into
PostgreSQL, extracting them using them using the new function and diffing
against the original files.

The new function is significantly faster on my machine with the JPEGs being
decoded in less than a second. I attach a modified libpq example program that
I used for my testing.

Ben Lamb.

21 years agoThis patch extracts page buffer pooling and the simple
Bruce Momjian [Wed, 11 Jun 2003 22:37:46 +0000 (22:37 +0000)]
This patch extracts page buffer pooling and the simple
least-recently-used strategy from clog.c into slru.c.  It doesn't
change any visible behaviour and passes all regression tests plus a
TruncateCLOG test done manually.

Apart from refactoring I made a little change to SlruRecentlyUsed,
formerly ClogRecentlyUsed:  It now skips incrementing lru_counts, if
slotno is already the LRU slot, thus saving a few CPU cycles.  To make
this work, lru_counts are initialised to 1 in SimpleLruInit.

SimpleLru will be used by pg_subtrans (part of the nested transactions
project), so the main purpose of this patch is to avoid future code
duplication.

Manfred Koizar

21 years agoAdd add_missing_from GUC variable.
Bruce Momjian [Wed, 11 Jun 2003 22:13:22 +0000 (22:13 +0000)]
Add add_missing_from GUC variable.

Nigel J. Andrews

21 years agoDone:
Bruce Momjian [Wed, 11 Jun 2003 21:39:00 +0000 (21:39 +0000)]
Done:

* -Add config variable to prevent auto-adding missing FROM-clause tables

21 years agoUpdate expected file to match new _int.sql.
Tom Lane [Wed, 11 Jun 2003 19:43:36 +0000 (19:43 +0000)]
Update expected file to match new _int.sql.

21 years agoAdd missing intarray files.
Bruce Momjian [Wed, 11 Jun 2003 19:31:05 +0000 (19:31 +0000)]
Add missing intarray files.

21 years agoMake "log_min_duration_statement" SUSET --- will be adjusted with new
Bruce Momjian [Wed, 11 Jun 2003 18:49:00 +0000 (18:49 +0000)]
Make "log_min_duration_statement" SUSET --- will be adjusted with new
USERLIMIT patch.

21 years agoChanges:
Bruce Momjian [Wed, 11 Jun 2003 18:44:15 +0000 (18:44 +0000)]
Changes:
1 intarray: bugfix for int[]-int[] operation
2 intarray: split _int.c to several files (_int.c now is unused)
3 ntarray (gist__intbig_ops opclass): use special type for index storage
4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize
GiST's
penalty and picksplit interface functions, now use Hemming distance.

Teodor Sigaev

21 years agoFix brain damage in deciding which python input converter to use.
Tom Lane [Wed, 11 Jun 2003 18:33:39 +0000 (18:33 +0000)]
Fix brain damage in deciding which python input converter to use.

21 years agoAdd log_min_duration_statement.
Bruce Momjian [Wed, 11 Jun 2003 18:01:14 +0000 (18:01 +0000)]
Add log_min_duration_statement.

Christopher Kings-Lynne

21 years agopg_dump and pg_restore were stripping quotes and downcasing some but
Tom Lane [Wed, 11 Jun 2003 16:29:42 +0000 (16:29 +0000)]
pg_dump and pg_restore were stripping quotes and downcasing some but
not all SQL identifiers taken from command line arguments.  We decided
years ago that that was a bad idea: identifiers taken from the command
line should be treated as literally correct.  Remove the inconsistent
code that has crept in recently.  Also fix pg_dump so that the combination
of --schema and --table does what you'd expect, namely dump exactly one
table from exactly one schema.  Per gripe from Deepak Bhole of Red Hat.

21 years agoUpdate anonymous-CVS instructions.
Tom Lane [Wed, 11 Jun 2003 15:28:55 +0000 (15:28 +0000)]
Update anonymous-CVS instructions.

21 years agoWell, the discussion about SSL a bit back perked my interest and I did
Bruce Momjian [Wed, 11 Jun 2003 15:05:50 +0000 (15:05 +0000)]
Well, the discussion about SSL a bit back perked my interest and I did
some reading on the subject.

1) PostgreSQL uses ephemeral keying, for its connections (good thing)

2) PostgreSQL doesn't set the cipher list that it allows (bad thing,
   fixed)

3) PostgreSQL's renegotiation code wasn't text book correct (could be
   bad, fixed)

4) The rate of renegotiating was insanely low (as Tom pointed out, set
   to a more reasonable level)

I haven't checked around much to see if there are any other SSL bits
that need some review, but I'm doing some OpenSSL work right now
and'll send patches for improvements along the way (if I find them).
At the very least, the changes in this patch will make security folks
happier for sure.  The constant renegotiation of sessions was likely a
boon to systems that had bad entropy gathering means (read: Slowaris
/dev/rand|/dev/urand != ANDIrand).  The new limit for renegotiations
is 512MB which should be much more reasonable.

Sean Chittenden

21 years agoDuring looking stuff up for a discussion on -general, I realized that
Bruce Momjian [Wed, 11 Jun 2003 15:02:25 +0000 (15:02 +0000)]
During looking stuff up for a discussion on -general, I realized that
I'd placed the check for newly created matching pk rows for on update no
action earlier than it needed to be so that it'd check even when the key
values hadn't changed.  This patch moves it to after checking for NULLs
in the old row and comparing the values since the select's probably more
expensive.

Stephan Szabo

21 years agoAdd missing DLLIMPORT for cpu_index_tuple_cost to
Bruce Momjian [Wed, 11 Jun 2003 15:01:15 +0000 (15:01 +0000)]
Add missing DLLIMPORT for cpu_index_tuple_cost to
src/include/optimizer/cost.h.

This is required to compile the PostGIS extension module with Cygwin
http://postgis.refractions.net

Norman Vine

21 years agoNow that I look, that link doesn't belong there at all, does it?
Tom Lane [Wed, 11 Jun 2003 14:14:50 +0000 (14:14 +0000)]
Now that I look, that link doesn't belong there at all, does it?

21 years agoFix busted markup.
Tom Lane [Wed, 11 Jun 2003 14:07:00 +0000 (14:07 +0000)]
Fix busted markup.

21 years agoRemove platform-specific executable; does not belong in distribution.
Tom Lane [Wed, 11 Jun 2003 14:02:57 +0000 (14:02 +0000)]
Remove platform-specific executable; does not belong in distribution.

21 years agoRepresent grant options in the information schema.
Peter Eisentraut [Wed, 11 Jun 2003 09:23:55 +0000 (09:23 +0000)]
Represent grant options in the information schema.

21 years agoAdd Rendezvous support to postmaster, from Chris Campbell
Bruce Momjian [Wed, 11 Jun 2003 06:56:07 +0000 (06:56 +0000)]
Add Rendezvous support to postmaster, from Chris Campbell

21 years agoMake sure a variable is no longer referenced when it is removed.
Michael Meskes [Wed, 11 Jun 2003 06:39:13 +0000 (06:39 +0000)]
Make sure a variable is no longer referenced when it is removed.
Fixed counting bug in parsing "->" operator.
Removed that silly debugging function I accidently committed last night.

21 years agoDocument the -h client flag can use a socket directory as well as a host
Bruce Momjian [Wed, 11 Jun 2003 05:13:12 +0000 (05:13 +0000)]
Document the -h client flag can use a socket directory as well as a host
name.

21 years agoRemove lock* GUC variables from postgresql.conf.
Bruce Momjian [Wed, 11 Jun 2003 05:04:51 +0000 (05:04 +0000)]
Remove lock* GUC variables from postgresql.conf.

Document why certain GUC variables aren't in postgresql.conf.

21 years agoFixed some bugs.
Michael Meskes [Tue, 10 Jun 2003 17:46:43 +0000 (17:46 +0000)]
Fixed some bugs.

21 years agoFix uninitialized memory bug
Tatsuo Ishii [Tue, 10 Jun 2003 09:07:15 +0000 (09:07 +0000)]
Fix uninitialized memory bug
Add support for PGHOST, PGPORT, PGUSER environment variables

21 years agofreeaddrinfo2() does need two parameters after all, per comment by
Tom Lane [Mon, 9 Jun 2003 17:59:19 +0000 (17:59 +0000)]
freeaddrinfo2() does need two parameters after all, per comment by
Kurt Roeckx.  Add some documentation to try to prevent others from
repeating my mistake.

21 years agoMake bison version test actually work ...
Tom Lane [Mon, 9 Jun 2003 03:41:47 +0000 (03:41 +0000)]
Make bison version test actually work ...