69a785b8bf
Implement SQL-spec RETURNS TABLE syntax for functions.
...
(Unlike the original submission, this patch treats TABLE output parameters
as being entirely equivalent to OUT parameters -- tgl)
Pavel Stehule
2008-07-18 03:32:53 +00:00
a8fb90cf2d
Add URL for:
...
* Implement SQL:2003 window functions
> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00232.php
2008-07-18 02:03:28 +00:00
ba38e363ac
Add to TODO:
...
>
> * Reduce locking requirements for creating a trigger
>
> http://archives.postgresql.org/pgsql-hackers/2008-06/msg00635.php
>
2008-07-17 01:34:33 +00:00
9a3118d454
Add URL for:
...
* Implement SQL:2003 window functions
>
> http://archives.postgresql.org/pgsql-hackers/2008-06/msg00380.php
>
2008-07-16 21:03:45 +00:00
6563e9e2e8
Add a "provariadic" column to pg_proc to eliminate the remarkably expensive
...
need to deconstruct proargmodes for each pg_proc entry inspected by
FuncnameGetCandidates(). Fixes function lookup performance regression
caused by yesterday's variadic-functions patch.
In passing, make pg_proc.probin be NULL, rather than a dummy value '-',
in cases where it is not actually used for the particular type of function.
This should buy back some of the space cost of the extra column.
2008-07-16 16:55:24 +00:00
9c8f74917d
Add to TODO:
...
>
> o Add external tool to auto-tune some postgresql.conf parameters
>
> http://archives.postgresql.org/pgsql-hackers/2008-06/msg00000.php
>
2008-07-16 15:30:19 +00:00
d89737d31c
Support "variadic" functions, which can accept a variable number of arguments
...
so long as all the trailing arguments are of the same (non-array) type.
The function receives them as a single array argument (which is why they
have to all be the same type).
It might be useful to extend this facility to aggregates, but this patch
doesn't do that.
This patch imposes a noticeable slowdown on function lookup --- a follow-on
patch will fix that by adding a redundant column to pg_proc.
Pavel Stehule
2008-07-16 01:30:23 +00:00
2c773296f8
Add array_fill() to create arrays initialized with a value.
...
Pavel Stehule
2008-07-16 00:48:54 +00:00
2fa42cc9ee
Fix alignment of SGML array docs.
2008-07-15 18:24:59 +00:00
bd53eb4b05
Add Swedish_Sweden.1252 Windows locale example to docs.
2008-07-15 17:45:03 +00:00
d3c94b2d84
Add to TODO:
...
>
> o Reduce PITR WAL file size by removing full page writes and
> by removing trailing bytes to improve compression
2008-07-15 15:03:41 +00:00
13e835932b
Add TODO:
...
>
> * Consider decreasing the I/O caused by updating tuple hint bits
>
> http://archives.postgresql.org/pgsql-hackers/2008-05/msg00847.php
>
2008-07-15 13:55:20 +00:00
db13b7d61f
Done:
...
> o -Have psql show current values for a sequence
2008-07-15 03:17:51 +00:00
da0a9f1d5a
Clarify that locale names on Windows are more verbose.
...
Report from Martin Saschek
2008-07-15 01:35:23 +00:00
e39a3dfa86
Add to TODO:
...
> * Improve ability to modify views via ALTER TABLE
>
> http://archives.postgresql.org/pgsql-hackers/2008-05/msg00691.php
2008-07-14 22:57:21 +00:00
b1845753d2
Done:
...
< * Add temporal versions of generate_series()
> * -Add temporal versions of generate_series()
2008-07-14 20:54:18 +00:00
85df9057e1
Add URL for:
...
* Consider allowing control of upper/lower case folding of unquoted
identifiers
> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00415.php
2008-07-14 17:54:54 +00:00
aab30f3abc
Done, per Simon:
...
< o Fix server restart problem when the server was shutdown during
> o -Fix server restart problem when the server was shutdown during
2008-07-14 17:16:13 +00:00
6f6d863258
Create a type-specific typanalyze routine for tsvector, which collects stats
...
on the most common individual lexemes in place of the mostly-useless default
behavior of counting duplicate tsvectors. Future work: create selectivity
estimation functions that actually do something with these stats.
(Some other things we ought to look at doing: using the Lossy Counting
algorithm in compute_minimal_stats, and using the element-counting idea for
stats on regular arrays.)
Jan Urbanski
2008-07-14 00:51:46 +00:00
45efb09a01
Fix a couple of stray misuses of "binary compatible".
2008-07-12 16:20:06 +00:00
27cb66fdfe
Multi-column GIN indexes. Teodor Sigaev
2008-07-11 21:06:29 +00:00
e3afbb3504
Allow binary-coercible types for cast function arguments and return types.
...
Document return type of cast functions.
Also change documentation to prefer the term "binary coercible" in its
present sense instead of the previous term "binary compatible".
2008-07-11 07:02:43 +00:00
7a97abe818
Add unchangeable GUC "variables" segment_size, wal_block_size, and
...
wal_segment_size to make those configuration parameters available to clients,
in the same way that block_size was previously exposed. Bernd Helmle, with
comments from Abhijit Menon-Sen and some further tweaking by me.
2008-07-10 22:08:17 +00:00
76c3c59bd1
Added documentation for function xmlagg.
2008-07-07 16:11:35 +00:00
c63147d6f0
Add a function pg_get_keywords() to let clients find out the set of keywords
...
known to the SQL parser. Dave Page
2008-07-03 20:58:47 +00:00
b11c1876ed
Don't print the name of the database in psql \z.
2008-07-03 15:59:55 +00:00
0a8f6b797a
Fix psql's \d and allied commands to work with all server versions back to 7.4.
...
Guillaume Lelarge, with some additional fixes by me.
2008-07-03 03:37:17 +00:00
1e797d29c3
Documentation patch by Kevin L. McBride explaining GUC lock variables,
...
which are available if LOCK_DEBUG is defined.
2008-07-01 21:49:04 +00:00
03c4e793e8
Add URL for:
...
* Add database and transaction-level triggers
2008-07-01 18:26:30 +00:00
16812e339c
Add to TODO:
...
> * Fix TRUNCATE ... RESTART IDENTITY so its affect on sequences is rolled
> back on transaction abort
2008-07-01 18:09:09 +00:00
5ce521f648
Add psql TODO:
...
> o Add "auto" expanded mode that outputs in expanded format if
> "wrapped" mode can't wrap the output to the screen width
>
> http://archives.postgresql.org/pgsql-hackers/2008-05/msg00417.php
>
2008-06-30 19:45:15 +00:00
c96d5df53e
Add psql TODO item:
...
> o Add option to wrap column values at whitespace boundaries,
> rather than chopping them at a fixed width.
> Currently, "wrapped" format chops values into fixed
> widths. Perhaps the word wrapping could use the same
> algorithm documented in the W3C specification.
> http://archives.postgresql.org/pgsql-hackers/2008-05/msg00404.php
> http://www.w3.org/TR/CSS21/tables.html#auto-table-layout
2008-06-30 19:41:37 +00:00
995fb74202
Turn PGBE_ACTIVITY_SIZE into a GUC variable, track_activity_query_size.
...
As the buffer could now be a lot larger than before, and copying it could
thus be a lot more expensive than before, use strcpy instead of memcpy to
copy the query string, as was already suggested in comments. Also, only copy
the PgBackendStatus struct and string if the slot is in use.
Patch by Thomas Lee, with some changes by me.
2008-06-30 10:58:47 +00:00
f95b5334a7
Mention actual function names in documentation of how to pass binary
...
values to libpq.
2008-06-27 02:44:31 +00:00
5d747ddd75
Add to TODO:
...
>
> * Fix system views like pg_stat_all_tables to use set-returning
> functions, rather than views of per-column functions
2008-06-27 02:38:29 +00:00
8530c82fc4
Clarify plpgsql documentation by not treating IF THEN ELSE IF ... as a
...
truly distinct version of IF. Per suggestion from Marko Kreen.
2008-06-27 01:52:59 +00:00
68057055f6
Use SGML table to show backslash string escapes, rather than have them
...
appear in a paragraph.
Andy Anderson
2008-06-26 22:24:42 +00:00
476fad2d91
Add MERGE TODO URL:
...
> http://archives.postgresql.org/pgsql-hackers/2008-04/msg01890.php
2008-06-26 19:18:37 +00:00
46dd4db31e
Add TODO about security:
...
* Improve server security options
http://archives.postgresql.org/pgsql-hackers/2008-04/msg01875.php
http://archives.postgresql.org/pgsql-hackers/2008-05/msg00000.php
2008-06-26 03:58:00 +00:00
9c1d897b94
More FAQ URL updates from Curtis Gallant.
2008-06-26 03:54:28 +00:00
54b9a968ed
Update FAQ URLs as suggested by Curtis Gallant.
2008-06-26 03:02:27 +00:00
1fc2fbe51f
Add to TODO:
...
>
> * Improve LDAP authentication configuration options
>
> http://archives.postgresql.org/pgsql-hackers/2008-04/msg01745.php
2008-06-26 02:53:19 +00:00
124c22d5fd
Remove use of postmaster.opts.default by pg_ctl.
2008-06-26 01:12:20 +00:00
3dc59beae2
TODO item done:
...
< o Prevent pg_dump/pg_restore from being affected by
> o -Prevent pg_dump/pg_restore from being affected by
2008-06-24 15:53:24 +00:00
815aa2c8e8
Add TODO:
...
>
> o Allow COPY to report errors sooner
>
> http://archives.postgresql.org/pgsql-hackers/2008-04/msg01169.php
2008-06-23 22:42:32 +00:00
2047021fdb
Add URL for Merge.
2008-06-23 22:23:54 +00:00
d34cf008a9
Backup wording improvement.
...
Joshua D. Drake
2008-06-23 22:15:17 +00:00
fe0dbfe6f3
Add to TODO:
...
> * Allow custom variables to appear in pg_settings()
2008-06-23 22:12:20 +00:00
c09174fb95
Add item:
...
* Implement a module capability for loading /contrib-style extensions
http://archives.postgresql.org/pgsql-patches/2008-04/msg00164.php
2008-06-23 21:35:35 +00:00
2296e29998
Add libpq comment about how to determine the format used for passing
...
binary values.
Add comments to libpq C function for parameter passing.
2008-06-23 21:10:49 +00:00