Peter Eisentraut
626b4416b9
Put documentation on XML data type and functions in better positions. Add
...
some index terms.
2007-04-02 15:27:02 +00:00
Magnus Hagander
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
Teodor Sigaev
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
Tom Lane
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
Peter Eisentraut
a482a3e58b
Update catversion for new XML mapping functions
2007-04-01 09:56:02 +00:00
Peter Eisentraut
b0fe9c20e9
Update SQL conformance for SQL to XML mappings
2007-04-01 09:42:57 +00:00
Peter Eisentraut
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
Peter Eisentraut
ae8072a404
Complete cleaning
2007-04-01 08:56:58 +00:00
Magnus Hagander
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
Bruce Momjian
f9ce21f94c
Update Japanese FAQ.
...
Jun Kuwamura
2007-03-30 03:46:53 +00:00
Bruce Momjian
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
Tom Lane
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
Bruce Momjian
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
Bruce Momjian
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
Bruce Momjian
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
Magnus Hagander
81622ac36e
Install include files
2007-03-29 20:48:26 +00:00
Bruce Momjian
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
Bruce Momjian
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
Tom Lane
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
Magnus Hagander
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
Michael Meskes
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
Tom Lane
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
Neil Conway
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
Neil Conway
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
Alvaro Herrera
7d4c9a5793
Add the "recheck" logic to autovacuum worker code. The worker first builds
...
its table list and then rechecks pgstat before vacuuming each table to
verify that no one has vacuumed the table in the meantime.
In the current autovacuum world this only means that a worker will not
vacuum a table that a user has vacuumed manually after the worker started.
When support for multiple autovacuum workers is introduced, this will reduce
the probability of simultaneous workers on the same database doing redundant
work.
2007-03-28 22:17:12 +00:00
Magnus Hagander
685badd213
Fix compiler warnings in ereport messages on mingw.
...
ITAGAKI Takahiro
2007-03-28 08:06:11 +00:00
Bruce Momjian
553c7aeebf
Add URL for:
...
* Automatically create rules on views so they are updateable, per SQL99
> http://archives.postgresql.org/pgsql-patches/2006-08/msg00255.php
2007-03-28 02:17:45 +00:00
Tom Lane
0565579c5b
Fix uninitialized-variable bug.
2007-03-28 01:28:34 +00:00
Tom Lane
bf94076348
Fix array coercion expressions to ensure that the correct volatility is
...
seen by code inspecting the expression. The best way to do this seems
to be to drop the original representation as a function invocation, and
instead make a special expression node type that represents applying
the element-type coercion function to each array element. In this way
the element function is exposed and will be checked for volatility.
Per report from Guillaume Smet.
2007-03-27 23:21:12 +00:00
Magnus Hagander
87564ffc6a
Install import libraries used to link to libpq, ecpg and the backend.
2007-03-27 21:47:10 +00:00
Alvaro Herrera
f1a596bdfb
Cosmetic changes: rename some struct fields, and move the fetching of pgstat
...
table entries to a separate routine. Don't pass the pgstat database entry to
do_autovacuum; rather, have it fetch it by itself.
2007-03-27 20:36:03 +00:00
Bruce Momjian
1678e16cb3
Remove item due to lack of interest:
...
< * %Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
< pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
<
< These would be for application use, not for use by pg_dump.
<
2007-03-27 17:27:01 +00:00
Bruce Momjian
d3afd68051
Add:
...
>
> * Allow configuration of backend priorities via the operating system
>
> Though backend priorities make priority inversion during lock
> waits possible, research shows that this is not a huge problem.
> http://archives.postgresql.org/pgsql-general/2007-02/msg00493.php
2007-03-27 15:36:40 +00:00
Bruce Momjian
b8f856512e
Fix typo in Makefile.
...
Marko Kreen
2007-03-27 14:29:51 +00:00
Tom Lane
856b87c294
Fix typo, ensable -> enable, per Steve Gieseking.
2007-03-27 03:25:28 +00:00
Bruce Momjian
06d5fddfbf
Add documentation for pulling the CVS repository using rsync, and
...
mention cvsup last.
2007-03-27 01:45:22 +00:00
Bruce Momjian
64652e8632
Update:
...
* Improve dead row detection during multi-statement transactions usage
2007-03-26 23:48:43 +00:00
Bruce Momjian
997b3c1b5d
Add:
...
> * Increase the number of rows recognized as dead during multi-statement
> transactions
>
> http://archives.postgresql.org/pgsql-patches/2007-03/msg00358.php
>
2007-03-26 23:47:53 +00:00
Bruce Momjian
87d82561c5
Remove Andrew Yu copyright, with permission from author.
2007-03-26 21:51:15 +00:00
Bruce Momjian
9dd3ec6c3b
Remove advertising clause from Berkeley BSD-licensed files, per
...
instructions from Berkeley.
2007-03-26 21:44:11 +00:00
Bruce Momjian
357be8c974
Properly fix PORTNAME in configure.
2007-03-26 21:30:56 +00:00
Bruce Momjian
0b1e4f8530
User PORTNAME for win32 tests, rather than $template, for consistency.
2007-03-26 19:46:56 +00:00
Tom Lane
b581b85406
Fix seriously broken markup for libpq-envars cross-references.
2007-03-26 17:23:37 +00:00
Tom Lane
55a7cf80a0
Allow non-superuser database owners to create procedural languages.
...
A DBA is allowed to create a language in his database if it's marked
"tmpldbacreate" in pg_pltemplate. The factory default is that this is set
for all standard trusted languages, but of course a superuser may adjust
the settings. In service of this, add the long-foreseen owner column to
pg_language; renaming, dropping, and altering owner of a PL now follow
normal ownership rules instead of being superuser-only.
Jeremy Drake, with some editorialization by Tom Lane.
2007-03-26 16:58:41 +00:00
Teodor Sigaev
66daeb074b
Add checking of end of line in parsing stopword list. Thanks to sharp eyes of Tom lane
2007-03-26 13:57:07 +00:00
Teodor Sigaev
debb3aa8e9
Fix stopword and synonym files parsing bug in MSVC build, per report from
...
Magnus Hagander. Also, now it ignores space symbol after stopwords.
2007-03-26 12:25:35 +00:00
Tatsuo Ishii
a6fbd2f12a
Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL
...
and GB18030. patches from ITAGAKI Takahiro.
2007-03-26 11:15:13 +00:00
Tom Lane
7ee8fd9113
Seems some people have been forgetting to run autoheader.
2007-03-26 02:38:22 +00:00
Tom Lane
66bbc2fdd5
Add -lcrypto as one of the possible link dependencies of libkrb5.
...
Per report from Jim Rosenberg. This possibly should get back-patched,
but I'm a bit suspicious of it still because of the lack of prior reports.
2007-03-26 02:37:17 +00:00
Tom Lane
287ed68dd2
Remove assertion that constraint_exclusion risks wrong answers if
...
table constraints are changed; this is no longer true now that we
have a plan invalidation mechanism.
2007-03-26 01:41:57 +00:00