Commit Graph

5545 Commits

Author SHA1 Message Date
Magnus Hagander
e6e78187ef msvc build actually needs Bison 2.2 or later, not 2.1. Or 1.875 as before. 2007-03-17 17:11:41 +00:00
Magnus Hagander
15f4842d70 Add note that diff is required for regression tests. 2007-03-17 14:30:00 +00:00
Magnus Hagander
51d7741db1 Add new columns for tuple statistics on a database level to
pg_stat_database.
2007-03-16 17:57:36 +00:00
Magnus Hagander
348b621894 Show aggregate return types in psql \da output.
Greg Sabino Mullane
2007-03-16 08:28:01 +00:00
Tom Lane
95f6d2d209 Make use of plancache module for SPI plans. In particular, since plpgsql
uses SPI plans, this finally fixes the ancient gotcha that you can't
drop and recreate a temp table used by a plpgsql function.

Along the way, clean up SPI's API a little bit by declaring SPI plan
pointers as "SPIPlanPtr" instead of "void *".  This is cosmetic but
helps to forestall simple programming mistakes.  (I have changed some
but not all of the callers to match; there are still some "void *"'s
in contrib and the PL's.  This is intentional so that we can see if
anyone's compiler complains about it.)
2007-03-15 23:12:07 +00:00
Tom Lane
0169c354bf Arrange to install a "posixrules" entry in our timezone database, so that
POSIX-style timezone specs that don't exactly match any database entry will
be treated as having correct USA DST rules.  Also, document that this can
be changed if you want to use some other DST rules with a POSIX zone spec.

We could consider changing localtime.c's TZDEFRULESTRING, but since that
facility can only deal with one DST transition rule, it seems fairly useless
now; might as well just plan to override it using a "posixrules" entry.

Backpatch as far as 8.0.  There isn't much we can do in 7.x ... either your
libc gets it right, or it doesn't.
2007-03-14 17:38:06 +00:00
Tom Lane
68a6e5e877 Fix broken markup, strange tab width. 2007-03-14 00:15:26 +00:00
Magnus Hagander
be40754e91 Rewrite win32 install documentation (it's not client only anymore, and it's
now complete). Update for the MSVC6/Borland support now being only libpq.
Move most of the information about full MSVC build from README file into
documentation.
2007-03-13 16:03:36 +00:00
Peter Eisentraut
02284e224c Minor edits 2007-03-06 09:59:22 +00:00
Peter Eisentraut
f12f220e5a Add more information about avoiding Linux OOM killer.
by Toru SHIMOGAKI
2007-03-06 09:54:23 +00:00
Bruce Momjian
a535cdf130 Revert temp_tablespaces because of coding problems, per Tom. 2007-03-06 02:06:15 +00:00
Bruce Momjian
37fc8a667e Remove timeline for 8.3 release, now on web site. 2007-03-05 18:04:03 +00:00
Bruce Momjian
0763a56501 Add lo_truncate() to backend and libpq for large object truncation.
Kris Jurka
2007-03-03 19:52:47 +00:00
Bruce Momjian
e52c4a6e26 Add GUC log_lock_waits to log long wait times.
Simon Riggs
2007-03-03 18:46:40 +00:00
Bruce Momjian
f52019cf80 Done:
> 	o -Allow psql \pset boolean variables to set to fixed values, rather
2007-03-03 17:24:04 +00:00
Bruce Momjian
df910a52a6 Allow \pset and \x, \t to use boolean constants on/off, rather than just
toggle.

Chad Wagner
2007-03-03 17:19:11 +00:00
Bruce Momjian
bb8b5b83da Update license wording in FAQ_DEV. 2007-03-03 16:12:37 +00:00
Bruce Momjian
b7f73bedc8 Add URLs for:
* Add REPLACE or UPSERT command that does UPDATE, or on failure, INSERT
  [merge]
2007-03-03 03:08:46 +00:00
Tom Lane
61c3e5b248 Make log_min_error_statement put LOG level at the same priority as
log_min_messages does; and arrange to suppress the duplicative output
that would otherwise result from log_statement and log_duration messages.
Bruce Momjian and Tom Lane.
2007-03-02 23:37:23 +00:00
Bruce Momjian
1a7f6302bc HTML markup fix. 2007-03-02 21:03:55 +00:00
Bruce Momjian
4c644ed7b0 Fix HTML markup. 2007-03-02 21:03:11 +00:00
Bruce Momjian
23ef7b6cf4 in FAQ_DEV, mention we don't want non-BSD-compatible licensed patches. 2007-03-02 17:51:56 +00:00
Tom Lane
50acd427a5 Fix broken markup, improve wording. 2007-03-02 06:01:01 +00:00
Tom Lane
fb276438b6 Suppress useless searches for unused line pointers in PageAddItem. To do
this, add a 16-bit "flags" field to page headers by stealing some bits from
pd_tli.  We use one flag bit as a hint to indicate whether there are any
unused line pointers; the remaining 15 are available for future use.

This is a cut-down form of an idea proposed by Hiroki Kataoka in July 2005.
At the time it was rejected because the original patch increased the size of
page headers and it wasn't clear that the benefit outweighed the distributed
cost.  The flag-bit approach gets most of the benefit without requiring an
increase in the page header size.

Heikki Linnakangas and Tom Lane
2007-03-02 00:48:44 +00:00
Bruce Momjian
d1ce4f7396 Add language about rights given by posting a patch:
<li>PostgreSQL is licensed under a BSD license.  By posting a patch
    to the public PostgreSQL mailling lists, you are giving the PostgreSQL
    Global Development Group the non-revokable right to distribute your
    patch under the BSD license.  If you use code that is available under
    some other license that is BSD compatible (eg. public domain), please
    note that in your email submission.</li>
2007-02-28 17:28:09 +00:00
Tom Lane
234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).
Get rid of VARATT_SIZE and VARATT_DATA, which were simply redundant with
VARSIZE and VARDATA, and as a consequence almost no code was using the
longer names.  Rename the length fields of struct varlena and various
derived structures to catch anyplace that was accessing them directly;
and clean up various places so caught.  In itself this patch doesn't
change any behavior at all, but it is necessary infrastructure if we hope
to play any games with the representation of varlena headers.
Greg Stark and Tom Lane
2007-02-27 23:48:10 +00:00
Bruce Momjian
0459b591fc Update release timeline to use unnumber lists HTML. 2007-02-27 23:12:51 +00:00
Bruce Momjian
a5f96f69cb Update DEV FAQ for CVS/SVN issue.
Robert Treat
2007-02-27 21:07:20 +00:00
Bruce Momjian
1449e6f981 Update upgrade FAQ info. 2007-02-23 19:06:22 +00:00
Bruce Momjian
7031dd6869 Add psql \prompt capability.
Chad Wagner
2007-02-23 18:20:59 +00:00
Tom Lane
eab6b8b27e Turn the rangetable used by the executor into a flat list, and avoid storing
useless substructure for its RangeTblEntry nodes.  (I chose to keep using the
same struct node type and just zero out the link fields for unneeded info,
rather than making a separate ExecRangeTblEntry type --- it seemed too
fragile to have two different rangetable representations.)

Along the way, put subplans into a list in the toplevel PlannedStmt node,
and have SubPlan nodes refer to them by list index instead of direct pointers.
Vadim wanted to do that years ago, but I never understood what he was on about
until now.  It makes things a *whole* lot more robust, because we can stop
worrying about duplicate processing of subplans during expression tree
traversals.  That's been a constant source of bugs, and it's finally gone.

There are some consequent simplifications yet to be made, like not using
a separate EState for subplans in the executor, but I'll tackle that later.
2007-02-22 22:00:26 +00:00
Bruce Momjian
849000c782 Remove extra tab. 2007-02-21 23:22:42 +00:00
Bruce Momjian
7c656baf15 Remove tabs from SGML reference files, so their addition can be detected
in the future.
2007-02-21 23:21:12 +00:00
Bruce Momjian
8c98fd6e7f Update upgrade wording. 2007-02-21 22:54:11 +00:00
Bruce Momjian
526b1d6979 Update FAQ about minor updates. 2007-02-21 19:48:02 +00:00
Bruce Momjian
9bc6af8026 Update Japanese FAQ.
Jun Kuwamura
2007-02-21 17:23:49 +00:00
Bruce Momjian
bded8fdd8d Update URL in German FAQ for bug form, per Schima, Fabian 2007-02-21 16:49:37 +00:00
Bruce Momjian
28ebe6b5d0 Update Chinese FAQs to have two versions, a traditional Chinese version (Taiwan)
and a Simplified version (China (PRC)).

Backpatch to 8.2.X.

Daojing.Zhou
2007-02-21 16:42:36 +00:00
Bruce Momjian
c1958e5bd4 Fix typo, per Dave Page. 2007-02-21 16:09:01 +00:00
Bruce Momjian
3986d713ac Update minor release text. 2007-02-21 16:08:05 +00:00
Bruce Momjian
6765df9174 Add configure --enable-profiling to enable GCC profiling. Patches from
Korry Douglas and Nikhil S
2007-02-21 15:12:39 +00:00
Bruce Momjian
879caf1369 Update upgrade text. 2007-02-21 15:07:35 +00:00
Bruce Momjian
f8e9fb2d87 Update URL for set-returning functions. 2007-02-21 03:50:57 +00:00
Andrew Dunstan
afc7e0d848 Allow pltcl args to spi_prepare and plpython args to plpy.prepare to be standard type aliases as well as those known in pg_type. Similar to recent change in plperl. 2007-02-21 03:27:32 +00:00
Bruce Momjian
80ab3e0d34 Add URL for:
o Allow row and record variables to be set to NULL constants,
        and allow NULL tests on such variables
2007-02-21 01:08:58 +00:00
Bruce Momjian
4816b0f452 Add:
>
> * Consider decreasing the amount of memory used by PrivateRefCount
>
>   http://archives.postgresql.org/pgsql-hackers/2006-11/msg00797.php
>   http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php
>
2007-02-20 23:39:03 +00:00
Bruce Momjian
57352df66d Fix markup. 2007-02-20 23:14:19 +00:00
Bruce Momjian
a64e85eb68 Add:
> * Increase locking when DROPing objects so dependent objects cannot
>   get dropped while the DROP operation is happening
>
>   http://archives.postgresql.org/pgsql-hackers/2007-01/msg00937.php
2007-02-20 22:29:28 +00:00
Bruce Momjian
6e6dab8c87 Add URL for:
o Allow UPDATE/DELETE WHERE CURRENT OF cursor
> 	  http://archives.postgresql.org/pgsql-hackers/2007-01/msg01014.php
2007-02-20 22:23:05 +00:00
Bruce Momjian
916ecf2d5d Add:
>
> * Add missing operators for geometric data types
>
>   Some geometric types do not have the full suite of geometric operators,
>   e.g. box @> point
>
2007-02-20 21:22:35 +00:00