Tom Lane
9e936693a9
Fix free space map to correctly track the total amount of FSM space needed
...
even when a single relation requires more than max_fsm_pages pages. Also,
make VACUUM emit a warning in this case, since it likely means that VACUUM
FULL or other drastic corrective measure is needed. Per reports from Jeff
Frost and others of unexpected changes in the claimed max_fsm_pages need.
2006-09-21 20:31:22 +00:00
Tom Lane
bfd1ffa948
Change patternsel (LIKE/regex selectivity estimation) so that if there
...
is a large enough histogram, it will use the number of matches in the
histogram to derive a selectivity estimate, rather than the admittedly
pretty bogus heuristics involving examining the pattern contents. I set
'large enough' at 100, but perhaps we should change that later. Also
apply the same technique in contrib/ltree's <@ and @> estimator. Per
discussion with Stefan Kaltenbrunner and Matteo Beccati.
2006-09-20 19:50:21 +00:00
Tom Lane
1246d797e4
Rename xml_valid() to xml_is_well_formed(), but provide a temporary
...
alias with the old name for backwards compatibility. Per discussion,
the old name is actively wrong because validity and well-formedness
have different meanings in XML.
2006-09-16 16:18:11 +00:00
Tom Lane
ac733df61b
Fix some more uses of str[n]casecmp that should be pg_str[n]casecmp.
2006-09-16 13:31:40 +00:00
Tom Lane
aab964b311
Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.
2006-09-15 21:35:30 +00:00
Bruce Momjian
a86e70b8f8
Remove sslinfo copyright with author permission, keep author attribution.
...
Victor Wagner
2006-09-14 20:50:51 +00:00
Tatsuo Ishii
ea21eea6a8
Change "tps" to "scale" to avoid confusion
...
Fix bug with handling default scaling factor in the default
scenarios
2006-09-13 00:39:19 +00:00
Teodor Sigaev
67e7f0ab34
Add uninstall script
2006-09-12 16:11:44 +00:00
Tom Lane
d3f54c7907
Spell readme file's name correctly, per buildfarm reports.
2006-09-12 14:47:24 +00:00
Peter Eisentraut
e79380e5ae
Small fix for the README install for contrib/sslinfo.
...
Dave Page
2006-09-12 11:46:11 +00:00
Tom Lane
7ce2ff2d22
Move xml2's PG_MODULE_MAGIC block to the right source file, per Michael Fuhr.
2006-09-11 15:30:32 +00:00
Tom Lane
41dcc65c0e
Rename the uninstall scripts for contrib/lo and contrib/tsearch2 to
...
match the convention that foo's uninstall script is uninstall_foo.sql.
Also, stop installing lo_test.sql, which really ought to be made into
a regression test anyway (though it's unclear how to avoid a dependency
on the current OID counter...)
2006-09-11 15:14:46 +00:00
Tom Lane
9fc4c6b20b
Fix omissions in contrib uninstall scripts. Michael Fuhr
2006-09-11 02:10:26 +00:00
Tom Lane
4ee24cbb55
Install a cleaner solution to the AIX libpq linking problem, as per
...
an earlier discussion. Centralize assumptions about what libpq depends
on in one place in Makefile.global. I am unconvinced that this list
is complete, but since ecpg seems to have gotten along with just these
entries, we'll try it this way and see what happens.
2006-09-10 22:07:02 +00:00
Tom Lane
723af8e67a
Fix dblink build for --enable-nls or --enable-openssl on AIX.
...
Per Chris Browne.
2006-09-10 21:38:26 +00:00
Tom Lane
5e08e49637
contrib/isn updates from Jeremy Kronuz.
2006-09-10 20:45:17 +00:00
Tom Lane
684ad6a92f
Rename contrib contains/contained-by operators to @> and <@, per discussion.
2006-09-10 17:36:52 +00:00
Tom Lane
dff84dc762
Add contrib/isn module for ISBN/ISSN/EAN13/etc product numbers, and
...
remove the old isbn_issn module which is about to be obsoleted by EAN13.
contrib/isn is by Germán Méndez Bravo. Our thanks to Garrett A. Wollman
for having written the original isbn_issn module.
2006-09-09 04:07:52 +00:00
Tom Lane
389870b256
Be more wary about which LIBS elements to pull into sslinfo link.
...
Per buildfarm results.
2006-09-06 18:30:17 +00:00
Teodor Sigaev
34ec0c81af
Fix compiler warnings on 64-bit boxes: difference between
...
pointers are int64, but warnings are emitted for position info in
error messages in parser, so, just cast it to int32
2006-09-06 07:22:14 +00:00
Tom Lane
433caead84
Fix sslinfo so it builds on Darwin.
2006-09-05 23:15:02 +00:00
Tom Lane
94ec712cd2
Silence compiler warning about signed vs unsigned chars.
2006-09-05 23:07:16 +00:00
Tom Lane
6b41d642e3
Silence compiler warnings about incompatible function pointer types.
2006-09-05 23:02:28 +00:00
Tom Lane
7d4838dca8
Remove pgcrypto functions that were deprecated and slated for removal.
...
Marko Kreen
2006-09-05 21:26:48 +00:00
Teodor Sigaev
febc10de2d
Fix markup and license.
2006-09-05 18:39:08 +00:00
Teodor Sigaev
642194ba0c
Add hstore contrib module.
...
Per discussion
http://archives.postgresql.org/pgsql-hackers/2006-08/msg01409.php
2006-09-05 18:00:58 +00:00
Tom Lane
af7d257e21
Remove contrib modules that have been migrated to pgfoundry: adddepend,
...
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface,
tips.
2006-09-05 17:20:29 +00:00
Tom Lane
5a248cd2e4
Bring sslinfo Makefile up to speed for VPATH and pgxs builds.
2006-09-04 22:22:36 +00:00
Peter Eisentraut
6dc920de59
sslinfo contrib module - information about current SSL certificate
...
Author: Victor Wagner <vitus@cryptocom.ru>
2006-09-04 15:07:46 +00:00
Bruce Momjian
70bc947dc9
Update Japanese readme for pgstattuple.
2006-09-04 03:49:05 +00:00
Tom Lane
c9a6490991
Clean up some leftover problems in pgstattuple: remove unwanted and
...
unportable elog(NOTICE) report, fix install/uninstall sequence.
Itagaki Takahiro
2006-09-04 02:03:04 +00:00
Bruce Momjian
0c4f2894f9
Use '' rather than \' for literal single quotes in strings in
...
/contrib/tsearch2.
Teodor Sigaev
2006-09-02 22:03:30 +00:00
Joe Conway
52a3ed9fac
Added async query capability. Original patch by
...
Kai Londenberg, modified by Joe Conway
2006-09-02 21:11:15 +00:00
Bruce Momjian
74924d29fa
Add functions to /contrib/pgstattuple that show index statistics and
...
index page contents.
Satoshi Nagayasu
2006-09-02 17:05:29 +00:00
Teodor Sigaev
72a3582522
Add description of tsvector type layout
2006-08-29 13:57:34 +00:00
Teodor Sigaev
3a214ab0f1
Remove pos comparison in silly_cmp_tsvector(): it is not a semantically significant
2006-08-29 13:39:20 +00:00
Teodor Sigaev
9711782628
Fix incorrect length of lexemes in silly_cmp_tsvector()
2006-08-29 13:31:54 +00:00
Bruce Momjian
32883a5d3c
Add blank line.
2006-08-25 23:45:02 +00:00
Bruce Momjian
ad9674043a
Add 'feedback' section heading to xml2.
2006-08-25 23:43:11 +00:00
Teodor Sigaev
74dbba701f
Fix regression tests: after changing comparing function
...
order is changed.
2006-08-25 07:39:08 +00:00
Teodor Sigaev
8f91e2b607
Fix compare bug for tsvector: problem was in aligment. Per Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> and Phil Frost <indigo@bitglue.com>
2006-08-24 17:37:34 +00:00
Bruce Momjian
6935652c34
Update XML2 documentation for xpath_table().
...
John Gray
2006-08-24 01:41:06 +00:00
Tatsuo Ishii
66541c5aa5
Fix pgbench to handle empty lines in script files as documented.
...
patches contributed by Itagaki Takahiro.
2006-08-15 13:05:30 +00:00
Teodor Sigaev
e7d490f91d
Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com>
2006-08-08 15:45:18 +00:00
Teodor Sigaev
6d54320002
fix bug about modifying value in shared buffer,
...
what was a reason to corrupt index.
Thank to Mario Weilguni <mweilguni@sime.com> to
discover a bug.
2006-08-07 17:39:04 +00:00
Neil Conway
63d3f5e593
Fix references to the Options section in the pgcrypto documentation.
...
Patch from Michael Fuhr.
2006-08-05 00:29:11 +00:00
Tom Lane
09d3670df3
Change the relation_open protocol so that we obtain lock on a relation
...
(table or index) before trying to open its relcache entry. This fixes
race conditions in which someone else commits a change to the relation's
catalog entries while we are in process of doing relcache load. Problems
of that ilk have been reported sporadically for years, but it was not
really practical to fix until recently --- for instance, the recent
addition of WAL-log support for in-place updates helped.
Along the way, remove pg_am.amconcurrent: all AMs are now expected to support
concurrent update.
2006-07-31 20:09:10 +00:00
Tatsuo Ishii
68dfef040b
Fix memory allocation bug in pgbench.
...
patches submitted by ITAGAKI Takahiro.
2006-07-31 05:15:14 +00:00
Tatsuo Ishii
46d9c2ec8f
Change the delta val from 0 and 10000 to -5000 and 5000 per recent
...
discussion in hackers list. Also enhance predefined benchmark
scenarios to reflect the scaling factor parameter flexibly.
2006-07-28 22:58:26 +00:00
Tom Lane
5f0473534f
Fix incorrect function return code in cube_cmp and cube_dim;
...
update regression expected files to what I think is correct.
2006-07-27 21:55:09 +00:00