Commit Graph

17019 Commits

Author SHA1 Message Date
Bruce Momjian d27471fe0a Add from Joe Conway:
> 	o Modify array literal representation to handle array index lower bound
> 	  of other than one
>
183d185
<
2004-02-12 23:27:52 +00:00
Bruce Momjian 565606654a Add CVS ID tags to port/win32/files. 2004-02-12 20:37:34 +00:00
Bruce Momjian e850e30fc8 Jan:
someone asked me about the FK deadlock fix, mentioned in the 7.3.3
release notes as 3rd change:

     http://www.postgresql.org/docs/current/static/release-7-3-3.html

Actually, that fix was available with 7.4, not 7.3. Don't know if we can
retroactively change the release-notes though.
2004-02-12 20:17:34 +00:00
Tom Lane da99cce7cd Avoid delaying postmaster shutdown by up to 10 seconds on platforms
where signals do not terminate sleep() delays.
2004-02-12 20:07:26 +00:00
Bruce Momjian 4a1c29f87e Improve \? wording, remove 'internal'. 2004-02-12 19:58:16 +00:00
Peter Eisentraut c60128e54b Translation updates 2004-02-12 19:19:32 +00:00
Bruce Momjian 6a13bdd8f3 Add bitmap discussion to performance TODO.detail. 2004-02-12 18:13:29 +00:00
Bruce Momjian 2b721d3d41 Remove TODO.detail files that contained useless or very old information.
Update TODO accordingly.
2004-02-12 18:11:54 +00:00
Bruce Momjian 5de02e283f Done:
<
<
< Reporting
< =========
<
< * Show location of syntax error in query [yacc]
2004-02-12 18:11:16 +00:00
Bruce Momjian b3efb9f037 File not needed:
.< * Improve speed with indexes (perhaps recreate index instead) [vacuum]
> * Improve speed with indexes (perhaps recreate index instead)
369c369
<   lock and truncate table [vacuum]
>   lock and truncate table
371c371
<   rather than in /contrib [vacuum]
>   rather than in /contrib
2004-02-12 18:09:43 +00:00
Bruce Momjian b8369db5fc Mostly done:
< * Allow better handling of numeric constants, type conversion [typeconv]
2004-02-12 18:05:51 +00:00
Bruce Momjian f66f437fac File not needed:
< * Add replication of distributed databases [replication]
> * Add replication of distributed databases
2004-02-12 18:01:20 +00:00
Bruce Momjian b23d694544 Remove:
< 	o http://gborg.postgresql.org/project/pgreplication/projdisplay.php
2004-02-12 17:59:50 +00:00
Bruce Momjian db55d7a212 Merge files:
< * Allow persistent backends [persistent]
> * Allow persistent backends [pool]
397c397
<   connection pooling
>   connection pooling [pool]
2004-02-12 17:51:03 +00:00
Bruce Momjian b4c0b196fb Not needed:
<   float4, numeric/decimal too [optimizer]
>   float4, numeric/decimal too
422c422
< * Missing optimizer selectivities for date, r-tree, etc. [optimizer]
> * Missing optimizer selectivities for date, r-tree, etc
2004-02-12 17:38:50 +00:00
Bruce Momjian b3fbb4b801 Not needed:
< * Delay fsync() when other backends are about to commit too [fsync]
> * Delay fsync() when other backends are about to commit too
2004-02-12 17:32:38 +00:00
Bruce Momjian ebf4bb7f2e Not needed:
< * Add MATCH PARTIAL referential integrity [foreign]
> * Add MATCH PARTIAL referential integrity
2004-02-12 17:31:09 +00:00
Bruce Momjian de4b486eed Remove crossdb content. 2004-02-12 17:23:30 +00:00
Bruce Momjian fbfc9dc20b Add, dblink doesn't do this:
> * Allow cross-db queries with transaction sematics
2004-02-12 17:22:39 +00:00
Bruce Momjian 329207e817 Done, mostly by dblink, I think:
< * Allow queries across multiple databases [crossdb]
2004-02-12 17:21:41 +00:00
Bruce Momjian 209e866a5a Fix typo:
On Mon, 2004-01-26 at 21:28, Peter Eisentraut wrote:
> Christophe Combelles wrote:
> > At the bottom of this doc file :
> > file:///usr/share/doc/postgresql-doc/html/tutorial-createdb.html
> > "and it also happens that that user always has permission"
> >                       ---- x2
> The first "that" serves as a conjuction, the second one serves as an
> article.  Looks correct to me.

A better workaround for the sentence would be something like:

        "and it also happens that the user always has permission"

Looks easier to read, I think.

Enver ALTIN (a.k.a. skyblue)
2004-02-12 16:38:04 +00:00
Bruce Momjian 43d37a81dd Add:
<
> * Allow substring/replace() to get/set bit values
2004-02-12 16:05:15 +00:00
Jan Wieck fc65a3e1fd Fixed bug where FlushRelationBuffers() did call StrategyInvalidateBuffer()
for already empty buffers because their buffer tag was not cleard out
when the buffers have been invalidated before.

Also removed the misnamed BM_FREE bufhdr flag and replaced the checks,
which effectively ask if the buffer is unpinned, with checks against the
refcount field.

Jan
2004-02-12 15:06:56 +00:00
Bruce Momjian 76f02b51b6 Remove URL for specific pljava implementation:
< 	o Allow Java server-side programming, http://pljava.sourceforge.net
< 	  [java]
> 	o Allow Java server-side programming [java]
2004-02-12 14:41:13 +00:00
Tom Lane 7bed6df184 Check only live tuples for OID validity, to avoid issues after ALTER
TABLE.  Per recent discussion.
2004-02-12 05:39:55 +00:00
Jan Wieck 1ecd035b31 Added hints about the reason, why the command string in
the view pg_stat_activity is missing, as per Bruces suggestion.

Jan
2004-02-12 01:44:22 +00:00
Tom Lane c3c09be34b Commit the reasonably uncontroversial parts of J.R. Nield's PITR patch, to
wit: Add a header record to each WAL segment file so that it can be reliably
identified.  Avoid splitting WAL records across segment files (this is not
strictly necessary, but makes it simpler to incorporate the header records).
Make WAL entries for file creation, deletion, and truncation (as foreseen but
never implemented by Vadim).  Also, add support for making XLOG_SEG_SIZE
configurable at compile time, similarly to BLCKSZ.  Fix a couple bugs I
introduced in WAL replay during recent smgr API changes.  initdb is forced
due to changes in pg_control contents.
2004-02-11 22:55:26 +00:00
Tom Lane 0cb117eb33 Repair some problems in bgwriter start/stop logic. In particular, don't
allow the bgwriter to start before the startup subprocess has finished
... it tends to crash otherwise.  (The same problem may have existed for
the checkpointer, I'm not entirely sure.)  Remove some code that was
redundant because the bgwriter is handled as a member of the backend list.
2004-02-11 22:25:02 +00:00
Bruce Momjian 3b6bf0c07d Add:
> 	o Disallow dropping of an inherited constraint
2004-02-11 22:04:35 +00:00
Bruce Momjian c6f0559371 Check and set thread-safe functions separately, rather than as a single
variable.

Remove thread locking for non-thread-safe functions, instead throw a
compile error.

Platforms will have to re-run tools/thread to record their thread
safety.
2004-02-11 21:44:06 +00:00
Bruce Momjian 15b330b648 Properly set NEED_REENTRANT_FUNCS for threaded libpq/ecpg.
Without this patch, no thread locking or *_r functions were being used.
2004-02-11 17:29:01 +00:00
Bruce Momjian ac4ad7bf2c Does not apply anymore:
< * Make blind writes go through the file descriptor cache
2004-02-11 17:04:04 +00:00
Tom Lane 94a67cce7e No need to link libpq into these programs ... 2004-02-10 23:24:13 +00:00
Neil Conway e29d8f3c34 SGML markup improvements. 2004-02-10 20:51:39 +00:00
Tom Lane 127ea18f48 Add configure support for determining UINT64_FORMAT, the appropriate
snprintf format for uint64 items.
2004-02-10 19:55:45 +00:00
Bruce Momjian feed7cf1c1 More clearly describe why PQinSend returns false for non-threaded libpq. 2004-02-10 15:21:24 +00:00
Bruce Momjian fd44e2fb14 Add URL for most current version. 2004-02-10 15:16:36 +00:00
Tom Lane 0eb6951915 Repair missing inclusions of -lintl for shared libraries. 2004-02-10 07:26:25 +00:00
Tom Lane d1587f1f5b Looks like we need <unistd.h> for select() on Darwin. 2004-02-10 04:23:03 +00:00
Tom Lane 58f337a343 Centralize implementation of delay code by creating a pg_usleep()
subroutine in src/port/pgsleep.c.  Remove platform dependencies from
miscadmin.h and put them in port.h where they belong.  Extend recent
vacuum cost-based-delay patch to apply to VACUUM FULL, ANALYZE, and
non-btree index vacuuming.

By the way, where is the documentation for the cost-based-delay patch?
2004-02-10 03:42:45 +00:00
Tom Lane 87bd956385 Restructure smgr API as per recent proposal. smgr no longer depends on
the relcache, and so the notion of 'blind write' is gone.  This should
improve efficiency in bgwriter and background checkpoint processes.
Internal restructuring in md.c to remove the not-very-useful array of
MdfdVec objects --- might as well just use pointers.
Also remove the long-dead 'persistent main memory' storage manager (mm.c),
since it seems quite unlikely to ever get resurrected.
2004-02-10 01:55:27 +00:00
Neil Conway f06e79525a Win32 signals cleanup. Patch by Magnus Hagander, with input from Claudio
Natoli and Bruce Momjian (and some cosmetic fixes from Neil Conway).
Changes:

    - remove duplicate signal definitions from pqsignal.h

    - replace pqkill() with kill() and redefine kill() in Win32

    - use ereport() in place of fprintf() in some error handling in
      pqsignal.c

    - export pg_queue_signal() and make use of it where necessary

    - add a console control handler for Ctrl-C and similar handling
      on Win32

    - do WaitForSingleObjectEx() in CHECK_FOR_INTERRUPTS() on Win32;
      query cancelling should now work on Win32

    - various other fixes and cleanups
2004-02-08 22:28:57 +00:00
Bruce Momjian 04e82e5008 Add mention of the developer's FAQ. 2004-02-08 03:16:31 +00:00
Bruce Momjian 9534fd73d8 Add mention of PostgreSQL as a community project. 2004-02-08 03:09:12 +00:00
Bruce Momjian 9f361350d7 Add PITR web page:
< * Point-in-time data recovery using backup and write-ahead log
< * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
> * Point-in-time data recovery using backup and write-ahead log,
>   http://momjian.postgresql.org/main/writings/pgsql/project/pitr.html
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/project/win32.html
2004-02-08 01:17:09 +00:00
Tom Lane 2d330199c4 Add missing dependency, per Wade Klaver. 2004-02-07 07:20:12 +00:00
Jan Wieck f425b605f4 Cost based vacuum delay feature.
Jan
2004-02-06 19:36:18 +00:00
Joe Conway 687d7cf355 Documentation for generate_series() functions committed a few days ago. 2004-02-05 22:54:36 +00:00
Jan Wieck 8d09e25693 Backing out the background writer sync() option.
Jan
2004-02-04 01:24:53 +00:00
Neil Conway e66fcce672 Use memmove() rather than memcpy() in set_var_from_var(). If this function
is asked to assign a variable to itself, it will result in doing a
memcpy() on an entirely-overlapping memory range, which results in
undefined behavior according to ANSI C. That said, it is unlikely to
actually do anything bad on any sane libc, but this keeps valgrind quiet.
2004-02-04 01:11:47 +00:00