cd39718446
Document how to identify an invalid index after a failed CREATE INDEX
...
CONCURRENTLY.
Gregory Stark
2007-04-03 22:38:35 +00:00
9c9b619473
Remove the CheckpointStartLock in favor of having backends show whether they
...
are in their commit critical sections via flags in the ProcArray. Checkpoint
can watch the ProcArray to determine when it's safe to proceed. This is
a considerably better solution to the original problem of race conditions
between checkpoint and transaction commit: it speeds up commit, since there's
one less lock to fool with, and it prevents the problem of checkpoint being
delayed indefinitely when there's a constant flow of commits. Heikki, with
some kibitzing from Tom.
2007-04-03 16:34:36 +00:00
fb4279e99c
Done:
...
> o -Allow PL/PythonU to return boolean rather than 1/0
2007-04-03 15:51:36 +00:00
bfe8b89e41
Allow pl/pythonu >= version 2.3 to return boolean, rather than 1/0.
...
Marko Kreen
2007-04-03 15:50:58 +00:00
749167cf2a
Allow PL/PythonU to compile on Python 2.5. Change needed because of API
...
changes in Python.
Marko Kreen
2007-04-03 13:37:22 +00:00
9665dd92b8
Update comment for new thread_test location.
2007-04-03 12:55:23 +00:00
b3005276eb
Decouple the values of TOAST_TUPLE_THRESHOLD and TOAST_MAX_CHUNK_SIZE.
...
Add the latter to the values checked in pg_control, since it can't be changed
without invalidating toast table content. This commit in itself shouldn't
change any behavior, but it lays some necessary groundwork for experimentation
with these toast-control numbers.
Note: while TOAST_TUPLE_THRESHOLD can now be changed without initdb, some
thought still needs to be given to needs_toast_table() in toasting.c before
unleashing random changes.
2007-04-03 04:14:26 +00:00
4fea0ca8f3
Update:
...
< * Add transaction_idle_timeout GUC so locks are not held for long
> * Add idle_in_transaction_timeout GUC so locks are not held for long
2007-04-03 04:12:00 +00:00
d542bde900
Update:
...
< * Add idle_timeout GUC so locks are not held for log periods of time
> * Add transaction_idle_timeout GUC so locks are not held for long
> periods of time
2007-04-03 02:17:11 +00:00
401bc9cfcb
Add:
...
> * Allow all data types to cast to and from TEXT
>
> http://archives.postgresql.org/pgsql-hackers/2007-04/msg00017.php
>
>
2007-04-03 01:25:12 +00:00
f4cc73731d
Add:
...
>
> * Add idle_timeout GUC so locks are not held for log periods of time
2007-04-03 01:21:06 +00:00
aa8fb12498
Add URL for:
...
o Allow UPDATE tab SET ROW (col, ...) = (SELECT...)
<
> http://archives.postgresql.org/pgsql-hackers/2007-03/msg00865.php
2007-04-03 01:16:24 +00:00
133d1d4f45
Add URL for:
...
o Allow commenting of variables in postgresql.conf to restore them
to defaults
> http://archives.postgresql.org/pgsql-patches/2007-03/msg00180.php
2007-04-02 23:25:20 +00:00
5d8a23403f
Add URL for:
...
o Allow a warm standby system to also allow read-only
statements
[pitr]
> http://archives.postgresql.org/pgsql-hackers/2007-03/msg00050.php
2007-04-02 22:50:19 +00:00
17285959c1
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-03/msg00024.php
2007-04-02 22:49:03 +00:00
3a7d66b48a
Add:
...
> o Have timestamp subtraction not call justify_hours()?
>
> http://archives.postgresql.org/pgsql-sql/2006-10/msg00059.php
>
< o Add overflow checking to timestamp and interval arithmetic
> o Add overflow checking to timestamp and interval arithmetic
2007-04-02 22:46:10 +00:00
f16f89a616
Allow NOTIFY/LISTEN/UNLISTEN to only take relation names, not
...
schema.relation, because the notify code only honors the relation name.
schema.relation will now generate a syntax error.
2007-04-02 22:20:53 +00:00
325feaef7f
Check length of enum literals on definition and input to make sure they will fit in a name field and not cause syscache errors.
2007-04-02 22:14:17 +00:00
ffb27446cc
Pl/python -> Pl/PythonU:
...
< o Add table function support to pltcl, plpython
> o Add table function support to pltcl, plpythonu
< o Add PL/Python tracebacks
> o Add PL/PythonU tracebacks
< o Allow PL/Python to return boolean rather than 1/0
> o Allow PL/PythonU to return boolean rather than 1/0
2007-04-02 21:28:10 +00:00
5c706f1c98
Add:
...
> * Fix to_date()-related functions to consistently issue errors
>
> http://archives.postgresql.org/pgsql-hackers/2007-02/msg00915.php
>
2007-04-02 21:25:34 +00:00
ecd12df117
Add:
...
>
> o Allow PL/Python to return boolean rather than 1/0
>
> http://archives.postgresql.org/pgsql-patches/2007-01/msg00596.php
>
2007-04-02 21:10:53 +00:00
d6bac1e8e9
Add item:
...
>
> * Consider reducing memory used for shared buffer reference count
>
> http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php
2007-04-02 20:43:40 +00:00
3e8ff14506
Add URL for:
...
o Allow RETURN to return row or record functions
> o Allow RETURN to return row or record functions
> http://archives.postgresql.org/pgsql-patches/2006-08/msg00397.php
> http://archives.postgresql.org/pgsql-hackers/2006-09/msg00388.php
2007-04-02 20:10:16 +00:00
9a527f1848
Fix check_sql_fn_retval to allow the case where a SQL function declared to
...
return void ends with a SELECT, if that SELECT has a single result that is
also of type void. Without this, it's hard to write a void function that
calls another void function. Per gripe from Peter.
Back-patch as far as 8.0.
2007-04-02 18:49:29 +00:00
cac01fc038
Done:
...
< * Support a data type with specific enumerated values (ENUM)
<
< http://archives.postgresql.org/pgsql-hackers/2006-08/msg00979.php
<
> * -Support a data type with specific enumerated values (ENUM)
2007-04-02 17:18:44 +00:00
bf56e8a79f
> o Add PQexecf() that allows complex parameter substitution
...
>
> http://archives.postgresql.org/pgsql-hackers/2007-03/msg01803.php
2007-04-02 17:15:39 +00:00
626b4416b9
Put documentation on XML data type and functions in better positions. Add
...
some index terms.
2007-04-02 15:27:02 +00:00
b7d3a84539
xcopy can only deal with forward-slashed paths when it's quoted - needed
...
for "vcregress check" to work.
Per report from Dave Page.
2007-04-02 12:11:26 +00:00
9477f12ea8
Fix caching of unsuccessful initialization of parser or configuration.
...
Per report from Listmail <lists@peufeu.com >
2007-04-02 11:42:04 +00:00
57690c6803
Support enum data types. Along the way, use macros for the values of
...
pg_type.typtype whereever practical. Tom Dunstan, with some kibitzing
from Tom Lane.
2007-04-02 03:49:42 +00:00
a482a3e58b
Update catversion for new XML mapping functions
2007-04-01 09:56:02 +00:00
b0fe9c20e9
Update SQL conformance for SQL to XML mappings
2007-04-01 09:42:57 +00:00
0b75afda92
Mapping schemas and databases to XML and XML Schema.
...
Refactor and document the remaining mapping code.
2007-04-01 09:00:26 +00:00
ae8072a404
Complete cleaning
2007-04-01 08:56:58 +00:00
335feca441
Add some instrumentation to the bgwriter, through the stats collector.
...
New view pg_stat_bgwriter, and the functions required to build it.
2007-03-30 18:34:56 +00:00
f9ce21f94c
Update Japanese FAQ.
...
Jun Kuwamura
2007-03-30 03:46:53 +00:00
2ebfe9a818
Update SSL description for when SSL root.crt/server.crt is required;
...
add link to libpq SSL does from server docs.
Backpatch to 8.2.X.
2007-03-30 03:19:02 +00:00
8875d0987d
Fix oversight in coding of _bt_start_vacuum: we can't assume that the LWLock
...
will be released by transaction abort before _bt_end_vacuum gets called.
If either of these "can't happen" errors actually happened, we'd freeze up
trying to acquire an already-held lock. Latest word is that this does
not explain Martin Pitt's trouble report, but it still looks like a bug.
2007-03-30 00:12:59 +00:00
452427d0fd
pg_char_to_encoding() was redundant in initdb because
...
pg_valid_server_encoding() returns the same result if the encoding is
valid.
ITAGAKI Takahiro
2007-03-29 22:46:42 +00:00
31f0bacb44
Add to:
...
* Reduce storage space for small NUMERICs
> http://archives.postgresql.org/pgsql-patches/2007-02/msg00505.php
2007-03-29 21:44:39 +00:00
84045144e7
Add:
...
> * Reduce storage space for small NUMERICs
>
> http://archives.postgresql.org/pgsql-hackers/2007-02/msg01331.php
>
2007-03-29 21:43:34 +00:00
81622ac36e
Install include files
2007-03-29 20:48:26 +00:00
418834f60d
Update:
...
< o Add more logical syntax CLUSTER table USING index;
> o Add more logical syntax CLUSTER table USING index;
2007-03-29 20:24:34 +00:00
9456a60f52
Update item:
...
o Add more logical syntax CLUSTER table USING index;
< o Add more logical syntax CLUSTER table ORDER BY index;
> o Add more logical syntax CLUSTER table USING index;
2007-03-29 20:23:56 +00:00
972e20b429
exec_parse_message neglected to copy parameter type array into the
...
required memory context when handling client-specified parameter types
for an unnamed statement. Per report from Kris Jurka.
2007-03-29 19:10:10 +00:00
96b171903d
Make ECPG regression tests use native threading instead of pthreads, now that
...
ecpglib supports it.
Change configure (patch from Bruce) and msvc build system to no longer require
pthreads on win32, since all parts of postgresql can be thread-safe using the
native platform functions.
2007-03-29 15:30:52 +00:00
ddcb5bbf76
- Added patch by Magnus Hagander <magnus@hagander.net> to use native
...
win32 threads.
- Fixed regression tests to run threading tests.
2007-03-29 12:02:24 +00:00
fba8113c1b
Teach CLUSTER to skip writing WAL if not needed (ie, not using archiving)
...
--- Simon.
Also, code review and cleanup for the previous COPY-no-WAL patches --- Tom.
2007-03-29 00:15:39 +00:00
4591fb1aa8
Code cleanup for the new regexp UDFs: we can hardcode the OID and some
...
properties of the "text" type, and then simplify the code accordingly.
Patch from Jeremy Drake.
2007-03-28 22:59:37 +00:00
74b667ad42
Replace 4-clause licensed blf.[ch] with blowfish implementation
...
from PuTTY with is under minimal BSD/MIT license. Marko Kreen.
2007-03-28 22:48:58 +00:00