Bruce Momjian
b011c5ff6a
Add URLs for:
...
* Add SQL:2003 WITH RECURSIVE (hierarchical) queries to SELECT
> http://archives.postgresql.org/pgsql-patches/2008-01/msg00105.php
> http://archives.postgresql.org/pgsql-patches/2008-03/msg00327.php
2008-04-03 01:56:04 +00:00
Bruce Momjian
afa2a9ec9c
Remove due to survey/discussion:
...
<
< * Prefix command-line utilities like createuser with 'pg_'
<
< http://archives.postgresql.org/pgsql-hackers/2007-06/msg00025.php
<
2008-04-02 02:11:47 +00:00
Tom Lane
e2a8804330
Support EXECUTE USING in plpgsql.
...
Pavel Stehule, with some improvements by myself.
2008-04-01 03:51:09 +00:00
Tom Lane
d5466e38f0
Add SPI-level support for executing SQL commands with one-time-use plans,
...
that is commands that have out-of-line parameters but the plan is prepared
assuming that the parameter values are constants. This is needed for the
plpgsql EXECUTE USING patch, but will probably have use elsewhere.
This commit includes the SPI functions and documentation, but no callers
nor regression tests. The upcoming EXECUTE USING patch will provide
regression-test coverage. I thought committing this separately made
sense since it's logically a distinct feature.
2008-04-01 03:09:30 +00:00
Tom Lane
3405f2b925
Use error message wordings for permissions checks on .pgpass and SSL private
...
key files that are similar to the one for the postmaster's data directory
permissions check. (I chose to standardize on that one since it's the most
heavily used and presumably best-wordsmithed by now.) Also eliminate explicit
tests on file ownership in these places, since the ensuing read attempt must
fail anyway if it's wrong, and there seems no value in issuing the same error
message for distinct problems. (But I left in the explicit ownership test in
postmaster.c, since it had its own error message anyway.) Also be more
specific in the documentation's descriptions of these checks. Per a gripe
from Kevin Hunter.
2008-03-31 02:43:14 +00:00
Tom Lane
b65a509746
Show database access privileges in psql's \l command. For \l+, also show
...
database size, when available to the current user.
Andrew Gilligan
2008-03-30 18:10:20 +00:00
Neil Conway
2169e42bef
Enable 64-bit integer datetimes by default, per previous discussion.
...
This requires a working 64-bit integer type. If such a type cannot
be found, "--disable-integer-datetimes" can be used to switch
back to the previous floating point-based datetime implementation.
2008-03-30 04:08:15 +00:00
Bruce Momjian
2b350bc585
Done:
...
> * -Add ability to trigger on TRUNCATE
2008-03-28 15:18:42 +00:00
Heikki Linnakangas
958db06181
Clarify documentation on PITR and warm standby on the fact that the standby
...
restore_command should report failure on non-existent .backup and .history
files. Tidy up some related text along the way.
Patch by Markus Bertheau, with some editing by Simon Riggs and myself.
2008-03-28 15:00:28 +00:00
Bruce Momjian
da215f05ec
Add to TODO:
...
>
> o Add CASE capability to language (already in SQL)
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00696.php
>
>
2008-03-28 03:29:49 +00:00
Bruce Momjian
79262016a3
Add:
...
> * Allow one transaction to see tuples using the snapshot of another
> transaction
>
> This would assist multiple backends in working together.
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00400.php
2008-03-28 02:36:04 +00:00
Tom Lane
7692d8d5b7
Support statement-level ON TRUNCATE triggers. Simon Riggs
2008-03-28 00:21:56 +00:00
Bruce Momjian
107b3d0c23
Add to TODO:
...
>
> * Consider being smarter about memory and external files used during
> sorts
>
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg01101.php
> http://archives.postgresql.org/pgsql-hackers/2007-12/msg00045.php
2008-03-27 20:37:43 +00:00
Bruce Momjian
de44ecf860
Add URL for:
...
* Consider allowing control of upper/lower case folding of unquoted
identifiers
> http://archives.postgresql.org/pgsql-hackers/2008-03/msg00849.php
2008-03-27 20:31:04 +00:00
Bruce Momjian
39627b1ae6
Remove ipcclean utility command --- didn't work on all Unixes and on
...
Windows. Users should use their operating system tools instead.
2008-03-27 17:24:16 +00:00
Tom Lane
2d013c41a3
Fix bad spelling and worse grammar in recent doc commits. Propagate
...
pg_dump --ignore-version comments into pg_dumpall and pg_restore pages.
2008-03-26 16:34:47 +00:00
Bruce Momjian
9469d083e5
Improve documentation for odd array slice behavior.
2008-03-26 14:43:20 +00:00
Bruce Momjian
c22de3989b
Strengthen warnings about using pg_dump's -i option.
2008-03-26 14:32:22 +00:00
Bruce Momjian
530659fac8
Update TODO:
...
< o Consider invalidating the cache or keeping seperate cached
< copies when search_path changes
> o Consider keeping seperate cached copies when search_path changes
2008-03-26 02:39:46 +00:00
Bruce Momjian
924fbc6eb8
Added to TODO:
...
>
> * Consider transaction start/end performance improvements
>
> http://archives.postgresql.org/pgsql-hackers/2007-07/msg00948.php
> http://archives.postgresql.org/pgsql-hackers/2008-03/msg00361.php
2008-03-26 01:49:51 +00:00
Neil Conway
c111a7211f
Update documentation for recent DTrace changes. Patch from Robert Lor.
2008-03-25 22:50:27 +00:00
Tom Lane
220db7ccd8
Simplify and standardize conversions between TEXT datums and ordinary C
...
strings. This patch introduces four support functions cstring_to_text,
cstring_to_text_with_len, text_to_cstring, and text_to_cstring_buffer, and
two macros CStringGetTextDatum and TextDatumGetCString. A number of
existing macros that provided variants on these themes were removed.
Most of the places that need to make such conversions now require just one
function or macro call, in place of the multiple notational layers that used
to be needed. There are no longer any direct calls of textout or textin,
and we got most of the places that were using handmade conversions via
memcpy (there may be a few still lurking, though).
This commit doesn't make any serious effort to eliminate transient memory
leaks caused by detoasting toasted text objects before they reach
text_to_cstring. We changed PG_GETARG_TEXT_P to PG_GETARG_TEXT_PP in a few
places where it was easy, but much more could be done.
Brendan Jurd and Tom Lane
2008-03-25 22:42:46 +00:00
Bruce Momjian
f948197b40
Done:
...
> * -Avoid tuple some tuple copying in sort routines
2008-03-25 20:18:18 +00:00
Bruce Momjian
76cf067ae4
Update TODO wording:
...
* Simplify integer cross-data-type operators
2008-03-25 13:09:39 +00:00
Alvaro Herrera
ab20a8465a
Reword Win32 rint() item, per Tom.
2008-03-25 12:55:38 +00:00
Alvaro Herrera
7726f6f337
Add URLs to previous discussions, per Simon.
2008-03-25 12:50:47 +00:00
Bruce Momjian
82694e2920
Add to TODO:
...
>
> * Add SQL-standard array_agg() and unnest() array functions
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg01017.php
>
2008-03-25 02:58:09 +00:00
Bruce Momjian
d30ccbe2ae
Add to pl/pgsql TODO:
...
>
> o Consider invalidating the cache or keeping seperate cached
> copies when search_path changes
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg01009.php
2008-03-25 02:47:49 +00:00
Bruce Momjian
52346dadeb
Add to TODO:
...
>
> * Add more cross-data-type operators
>
> http://archives.postgresql.org/pgsql-bugs/2008-01/msg00189.php
2008-03-25 02:41:21 +00:00
Bruce Momjian
c0e6ee3716
Add to TODO:
...
> * Detect deadlocks involving LockBufferForCleanup()
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00873.php
2008-03-25 02:38:34 +00:00
Bruce Momjian
697b0829b3
Add to psql TODO:
...
>
> o Improve display if enums
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00826.php
>
>
2008-03-25 02:33:37 +00:00
Bruce Momjian
62c39d6dad
Add to TODO:
...
>
> o Fix port/rint.c to be spec-compliant
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00808.php
2008-03-25 02:23:43 +00:00
Bruce Momjian
2f31c72225
Add to TODO:
...
>
> * Consider sorting entries before inserting into btree index
>
> http://archives.postgresql.org/pgsql-general/2008-01/msg01010.php
2008-03-25 02:17:17 +00:00
Bruce Momjian
43253b2152
Add to TODO:
...
>
> * Improve detection of shared memory segments being used by other
> FreeBSD jails
>
> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00656.php
2008-03-25 02:11:22 +00:00
Bruce Momjian
e8b350cee3
Add to TODO:
...
>
> * Move pgfoundry's xlogdump to /contrib and have it rely more closely
> on the WAL backend code
>
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg00035.php
>
2008-03-25 00:42:23 +00:00
Bruce Momjian
3c8cbbd313
Add to TODO:
...
>
> * Have resource managers report the duration of their status changes
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg01468.php
2008-03-25 00:28:54 +00:00
Bruce Momjian
751f3d2f19
Add to TODO:
...
>
> * Be more aggressive about creating WAL files
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg01325.php
2008-03-25 00:14:53 +00:00
Bruce Momjian
a24d3fdddd
Add:
...
> o Prevent concurrent CREATE TABLE table1 from sometimes returning
> a cryptic error message
>
> http://archives.postgresql.org/pgsql-bugs/2007-10/msg00169.php
2008-03-25 00:11:48 +00:00
Bruce Momjian
aa8f1a565c
Add to TODO:
...
>
> * Have /contrib/dblink reuse unnamed connections
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg00895.php
2008-03-25 00:07:12 +00:00
Bruce Momjian
9cee80911b
Add to TODO:
...
> * Remove old-style routines for manipulating tuples
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg00851.php
2008-03-25 00:05:10 +00:00
Bruce Momjian
ab61bc6f57
Add to TODO:
...
>
> * Create three versions of libpgport to simplify client code
>
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg00154.php
>
2008-03-25 00:02:03 +00:00
Bruce Momjian
a689b20b67
Add to TODO:
...
>
> * Fix regular expression bug when using complex back-references
>
> http://archives.postgresql.org/pgsql-bugs/2007-10/msg00000.php
2008-03-25 00:00:30 +00:00
Bruce Momjian
cc0d744281
Add to TODO:
...
>
> * Allow xml arrays to be cast to other data types
>
> http://archives.postgresql.org/pgsql-hackers/2007-09/msg00981.php
> http://archives.postgresql.org/pgsql-hackers/2007-10/msg00231.php
> http://archives.postgresql.org/pgsql-hackers/2007-11/msg00471.php
>
2008-03-24 23:46:21 +00:00
Bruce Momjian
3da2a4b899
Add to TODO:
...
>
> * Research reducing deTOASTing in more places
>
> http://archives.postgresql.org/pgsql-hackers/2007-09/msg00895.php
2008-03-24 18:24:30 +00:00
Tom Lane
05fc744b96
Add a new ereport auxiliary function errdetail_log(), which works the same as
...
errdetail except the string goes only to the server log, replacing the normal
errdetail there. This provides a reasonably clean way of dealing with error
details that are too security-sensitive or too bulky to send to the client.
This commit just adds the infrastructure --- actual uses to follow.
2008-03-24 18:08:47 +00:00
Bruce Momjian
7feabcbf7f
Add URL for:
...
* SMP scalability improvements
> http://archives.postgresql.org/pgsql-hackers/2007-09/msg00206.php
2008-03-24 17:48:07 +00:00
Bruce Momjian
4c9ea732ac
Add URL to:
...
* SMP scalability improvements
> http://archives.postgresql.org/pgsql-hackers/2008-03/msg00361.php
2008-03-24 17:41:16 +00:00
Bruce Momjian
504e896260
Add to TODO:
...
>
> * SMP scalability improvements
>
> http://archives.postgresql.org/pgsql-hackers/2007-07/msg00439.php
2008-03-24 17:29:35 +00:00
Bruce Momjian
3eabcdb820
Add URL:
...
* Allow statistics last vacuum/analyze execution times to be displayed
without requiring stats_row_level to be enabled
>
> http://archives.postgresql.org/pgsql-docs/2007-04/msg00028.php
>
2008-03-24 16:11:27 +00:00
Bruce Momjian
67f686c550
Add to TODO:
...
> * Improve reporting of UNION type mismatches
>
> http://archives.postgresql.org/pgsql-hackers/2007-04/msg00944.php
> http://archives.postgresql.org/pgsql-hackers/2008-03/msg00597.php
2008-03-24 16:05:45 +00:00