Tom Lane
d287818eb5
Adjust pgstatindex() to give correct answers for indexes larger than
...
2^31 blocks. Also fix pg_relpages() for the same case.
Tatsuhito Kasahara
2008-03-21 03:23:30 +00:00
Tom Lane
6b0706ac33
Arrange for an explicit cast applied to an ARRAY[] constructor to be applied
...
directly to all the member expressions, instead of the previous implementation
where the ARRAY[] constructor would infer a common element type and then we'd
coerce the finished array after the fact. This has a number of benefits,
one being that we can allow an empty ARRAY[] construct so long as its
element type is specified by such a cast.
Brendan Jurd, minor fixes by me.
2008-03-20 21:42:48 +00:00
Tom Lane
68528d37bb
Support a --no-tablespaces option in pg_dump/pg_dumpall/pg_restore, so that
...
dumps can be loaded into databases without the same tablespaces that the
source had. The option acts by suppressing all "SET default_tablespace"
commands, and also CREATE TABLESPACE commands in pg_dumpall's case.
Gavin Roy, with documentation and minor fixes by me.
2008-03-20 17:36:58 +00:00
Tom Lane
5507b22dfc
Support ALTER TYPE RENAME. Petr Jelinek
2008-03-19 18:38:30 +00:00
Tatsuo Ishii
49639a7b2c
Add -M (query mode) option per ITAGAKI Takahiro
2008-03-19 03:33:21 +00:00
Tatsuo Ishii
8436f9a036
Add libpq new API lo_import_with_oid() which is similar to lo_import()
...
except that lob's oid can be specified.
2008-03-19 00:39:33 +00:00
Bruce Momjian
2f2b58d642
Spit items:
...
* Experiment with multi-threaded backend better I/O utilization
This would allow a single query to make use of multiple I/O channels
simultaneously. One idea is to create a background reader that can
pre-fetch sequential and index scan pages needed by other backends.
This could be expanded to allow concurrent reads from multiple devices
in a partitioned table.
* Experiment with multi-threaded backend better CPU utilization
This would allow several CPUs to be used for a single query, such as
for sorting or query execution.
2008-03-18 23:35:21 +00:00
Bruce Momjian
8426b5640e
Update TODO description:
...
* Speed WAL recovery by allowing more than one page to be prefetched
This should be done utilizing the same infrastructure used for
prefetching in general to avoid introducing complex error-prone code
in WAL replay.
2008-03-18 23:32:57 +00:00
Bruce Momjian
433c5238bf
Add to TODO:
...
>
> * Consider not storing a NULL bitmap on disk if all the NULLs are
> trailing
>
> http://archives.postgresql.org/pgsql-hackers/2007-12/msg00624.php
> http://archives.postgresql.org/pgsql-patches/2007-12/msg00109.php
>
2008-03-18 18:40:42 +00:00
Peter Eisentraut
8c87cc370f
Catch all errors in for and while loops in makefiles. Don't ignore any
...
errors in any commands, including in various clean targets that have so far
been handled inconsistently. make -i is available to ignore all errors in
a consistent and official way.
2008-03-18 16:24:50 +00:00
Magnus Hagander
184c42d20d
cvsweb lives on anoncvs.postgresql.org these days.
2008-03-18 16:05:07 +00:00
Magnus Hagander
c4a195c200
Wiki page about cvs now lives in the main wiki, the one
...
on developer.postgresql.org is going away.
2008-03-18 16:02:27 +00:00
Bruce Momjian
db81819c4f
Add TODO URLs for:
...
o Allow UPDATE tab SET ROW (col, ...) = (SELECT...)
> http://archives.postgresql.org/pgsql-patches/2007-04/msg00315.php
> http://archives.postgresql.org/pgsql-patches/2008-03/msg00237.php
2008-03-18 15:30:59 +00:00
Bruce Momjian
7e2be4e513
Add URLs for :
...
* Speed WAL recovery by allowing more than one page to be prefetched
This involves having a separate process that can be told which pages
the recovery process will need in the near future.
> http://archives.postgresql.org/pgsql-general/2007-12/msg00683.php
> http://archives.postgresql.org/pgsql-hackers/2007-12/msg00497.php
<
2008-03-18 03:59:45 +00:00
Bruce Momjian
a2f1827dfd
Add TODO:
...
> o Recreate pg_xlog/archive_status/ if it doesn't exist after
> restoring from a PITR backup
>
> http://archives.postgresql.org/pgsql-hackers/2007-12/msg00487.php
2008-03-18 02:37:05 +00:00
Bruce Momjian
9706f54d5d
Add to TODO:
...
>
> * Consider Cartesian joins when both relations are needed to form an
> indexscan qualification for a third relation
>
> http://archives.postgresql.org/pgsql-performance/2007-12/msg00090.php
2008-03-18 00:43:01 +00:00
Bruce Momjian
ec62bdff06
Add URL for:
...
o Allow COPY to report error lines and continue
This requires the use of a savepoint before each COPY line is
processed, with ROLLBACK on COPY failure.
> http://archives.postgresql.org/pgsql-hackers/2007-12/msg00572.php
2008-03-18 00:23:41 +00:00
Bruce Momjian
3777cde067
Add to TODO:
...
>
> * Allow SSL key file permission checks to be optionally disabled when
> sharing SSL keys with other applications
>
> http://archives.postgresql.org/pgsql-bugs/2007-12/msg00069.php
2008-03-17 23:56:30 +00:00
Bruce Momjian
b1f0cdaf84
Add:
...
>
> * Reduce BIT data type overhead using short varlena headers
>
> http://archives.postgresql.org/pgsql-general/2007-12/msg00273.php
2008-03-17 23:49:33 +00:00
Bruce Momjian
9970141794
Add to TODO:
...
> * Reduce file system activity overhead of statistics file pgstat.stat
>
> http://archives.postgresql.org/pgsql-general/2007-12/msg00106.php
>
2008-03-17 23:32:21 +00:00
Bruce Momjian
e56dfc778d
Add to TODO:
...
> * Consider if CommandCounterIncrement() can avoid its
> AcceptInvalidationMessages() call
>
> http://archives.postgresql.org/pgsql-committers/2007-11/msg00585.php
2008-03-17 22:59:01 +00:00
Bruce Momjian
c10b0a7a73
Add URL for:
...
* Add SQL:2003 WITH RECURSIVE (hierarchical) queries to SELECT
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg01334.php
2008-03-17 22:54:23 +00:00
Bruce Momjian
187e884a6a
Add:
...
>
> o Remove pre-7.3 pg_dump code that assumes pg_depend does not exit
2008-03-17 22:53:02 +00:00
Bruce Momjian
cd66b94637
Add URL for:
...
* Improve text search error messages
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg01146.php
2008-03-17 22:45:20 +00:00
Bruce Momjian
0b5eaef2e3
Added to TODO:
...
> * Improve text search error messages
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg00966.php
>
>
> * Fix /contrib/ltree operator
>
> http://archives.postgresql.org/pgsql-bugs/2007-11/msg00044.php
2008-03-17 22:34:23 +00:00
Bruce Momjian
5db762ef00
Add TODO:
...
>
> o Fix server restart problem when the server was shutdown during
> a PITR backup
>
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg00800.php
>
2008-03-17 21:49:11 +00:00
Bruce Momjian
3a1e7b24a7
Adjust TODO spacing.
2008-03-17 21:45:14 +00:00
Bruce Momjian
3ff83c333e
Add TODO URL for:
...
* Consider increasing the number of default statistics target, and
reduce statistics target overhead
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg01066.php
2008-03-17 21:09:30 +00:00
Bruce Momjian
f09f055d32
Add:
...
>
> o Allow Kerberos to disable stripping of realms so we can
> check the username@realm against multiple realms
>
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg00009.php
2008-03-17 18:22:44 +00:00
Bruce Momjian
a7c58abeb1
Done:
...
> o -During index creation, pre-sort the tuples to improve build speed
2008-03-17 01:46:42 +00:00
Tom Lane
ff213239c5
Add a note to the CREATE INDEX reference page about the impact of
...
maintenance_work_mem and effective_cache_size on index creation speed.
2008-03-16 23:57:51 +00:00
Alvaro Herrera
4844529ce4
Fix duplicate word, per Guillaume Lelarge.
2008-03-14 17:28:23 +00:00
Tom Lane
be5d6df346
Update release notes for 8.3.1 and 8.2.7 releases.
2008-03-13 23:47:49 +00:00
Bruce Momjian
f4bce7e086
Add URL for:
...
* Do async I/O for faster random read-ahead of data
Async I/O allows multiple I/O requests to be sent to the disk with
results coming back asynchronously.
> http://archives.postgresql.org/pgsql-performance/2007-09/msg00255.php
2008-03-13 01:56:46 +00:00
Bruce Momjian
0d540b097c
Add psql TODO:
...
< * Include the symbolic SQLSTATE name in verbose error reports
<
< http://archives.postgresql.org/pgsql-general/2007-09/msg00438.php
2008-03-12 20:50:22 +00:00
Bruce Momjian
4fed6e3ffd
Add to TODO:
...
> * Expire published xmin for read-only and idle transactions
>
> http://archives.postgresql.org/pgsql-hackers/2007-09/msg00343.php
2008-03-12 20:19:46 +00:00
Tom Lane
033eb1581b
Fix LISTEN/NOTIFY race condition reported by Laurent Birtz, by postponing
...
pg_listener modifications commanded by LISTEN and UNLISTEN until the end
of the current transaction. This allows us to hold the ExclusiveLock on
pg_listener until after commit, with no greater risk of deadlock than there
was before. Aside from fixing the race condition, this gets rid of a
truly ugly kludge that was there before, namely having to ignore
HeapTupleBeingUpdated failures during NOTIFY. There is a small potential
incompatibility, which is that if a transaction issues LISTEN or UNLISTEN
and then looks into pg_listener before committing, it won't see any resulting
row insertion or deletion, where before it would have. It seems unlikely
that anyone would be depending on that, though.
This patch also disallows LISTEN and UNLISTEN inside a prepared transaction.
That case had some pretty undesirable properties already, such as possibly
allowing pg_listener entries to be made for PIDs no longer present, so
disallowing it seems like a better idea than trying to maintain the behavior.
2008-03-12 20:11:46 +00:00
Bruce Momjian
1c228fa5ab
Add:
...
>
> * Consider a special data type for regular expressions
>
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg01067.php
2008-03-12 19:41:23 +00:00
Bruce Momjian
582f32fd45
Back out text search change to TODO.
2008-03-12 19:40:01 +00:00
Bruce Momjian
4f72bc7fce
Update TODO:
...
* Add array_accum() and array_to_set() functions for arrays
The standards specify array_agg() and UNNEST.
http://archives.postgresql.org/pgsql-hackers/2007-08/msg00464.php
2008-03-12 19:32:07 +00:00
Bruce Momjian
3a27ad1b81
Add URL for:
...
* Consider a simplified API for full text searches
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg01067.php
2008-03-12 19:30:59 +00:00
Bruce Momjian
0a81e99384
Add for Win32 TODO:
...
>
> o Convert MSVC build system to remove most batch files
>
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg00961.php
2008-03-12 19:28:03 +00:00
Bruce Momjian
8522e59e13
Add URL for:
...
* Add REINDEX CONCURRENTLY, like CREATE INDEX CONCURRENTLY
> http://archives.postgresql.org/pgsql-performance/2007-08/msg00289.php
2008-03-12 19:15:25 +00:00
Bruce Momjian
a690d09aab
Add for Win32 TODO:
...
> o Diagnose problem where shared memory can sometimes not be
> attached by postmaster children
>
> http://archives.postgresql.org/pgsql-general/2007-08/msg01377.php
>
2008-03-12 18:33:54 +00:00
Bruce Momjian
ef34846cd1
Add to TODO:
...
>
> * Remove use of MAKE_PTR and MAKE_OFFSET macros
>
> http://archives.postgresql.org/pgsql-general/2007-08/msg01510.php
2008-03-12 18:32:29 +00:00
Bruce Momjian
c7302beb58
Add to TODO:
...
>
> * Add array_accum() and array_to_set() functions for arrays
>
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg00464.php
2008-03-12 15:14:50 +00:00
Bruce Momjian
3030f18a1b
Add URL for:
...
* Improve speed with indexes
For large table adjustments during VACUUM FULL, it is faster to cluster
or reindex rather than update the index. Also, index updates can bloat
the index.
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg00307.php
2008-03-12 01:48:08 +00:00
Bruce Momjian
ab2ff36465
Add:
...
>
> * Allow domains to be cast
>
> http://archives.postgresql.org/pgsql-hackers/2003-06/msg01206.php
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg00289.php
2008-03-12 01:40:09 +00:00
Bruce Momjian
232c4b4038
Add:
...
>
> * Consider simplifying how memory context resets handle child contexts
>
> http://archives.postgresql.org/pgsql-patches/2007-08/msg00067.php
2008-03-12 01:35:00 +00:00
Bruce Momjian
381e4cde45
Add URL for:
...
> http://archives.postgresql.org/pgsql-hackers/2007-08/msg00082.php
2008-03-12 01:21:25 +00:00