Commit Graph

  • 0b1e4f8530 User PORTNAME for win32 tests, rather than $template, for consistency. Bruce Momjian 2007-03-26 19:46:56 +00:00
  • a467a7a910 Fix seriously broken markup for libpq-envars cross-references. Tom Lane 2007-03-26 17:23:45 +00:00
  • b581b85406 Fix seriously broken markup for libpq-envars cross-references. Tom Lane 2007-03-26 17:23:37 +00:00
  • 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. Tom Lane 2007-03-26 16:58:41 +00:00
  • 66daeb074b Add checking of end of line in parsing stopword list. Thanks to sharp eyes of Tom lane Teodor Sigaev 2007-03-26 13:57:07 +00:00
  • debb3aa8e9 Fix stopword and synonym files parsing bug in MSVC build, per report from Magnus Hagander. Also, now it ignores space symbol after stopwords. Teodor Sigaev 2007-03-26 12:25:35 +00:00
  • c442dc28d6 Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:59:37 +00:00
  • a96f58cc7d Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:53:50 +00:00
  • 6a3bacff65 Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:46:25 +00:00
  • 96283327f3 Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:43:09 +00:00
  • 07fe2417ab Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:35:42 +00:00
  • a6fbd2f12a Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL and GB18030. patches from ITAGAKI Takahiro. Tatsuo Ishii 2007-03-26 11:15:13 +00:00
  • 7ee8fd9113 Seems some people have been forgetting to run autoheader. Tom Lane 2007-03-26 02:38:22 +00:00
  • 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. Tom Lane 2007-03-26 02:37:17 +00:00
  • 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. Tom Lane 2007-03-26 01:41:57 +00:00
  • dc1b8cea93 Fix plancache's invalidation callback to do the right thing for a SI reset event, namely invalidate everything. This oversight probably explains the rare failures that some buildfarm machines have been showing for the plancache regression test. Tom Lane 2007-03-26 00:36:19 +00:00
  • 1cc97d175c Make _SPI_execute_plan pass the query source string down to ProcessUtility if possible. I had left this undone in the first pass at the API change for ProcessUtility, but forgot to revisit it after the plancache changes made it possible to do it. Tom Lane 2007-03-25 23:42:43 +00:00
  • bf8236526b Remove the prohibition on executing cursor commands through SPI_execute. Vadim had included this restriction in the original design of the SPI code, but I'm darned if I can see a reason for it. Tom Lane 2007-03-25 23:27:59 +00:00
  • e85a01df67 Clean up the representation of special snapshots by including a "method pointer" in every Snapshot struct. This allows removal of the case-by-case tests in HeapTupleSatisfiesVisibility, which should make it a bit faster (I didn't try any performance tests though). More importantly, we are no longer violating portable C practices by assuming that small integers are distinct from all pointer values, and HeapTupleSatisfiesDirty no longer has a non-reentrant API involving side-effects on a global variable. Tom Lane 2007-03-25 19:45:14 +00:00
  • 75c6519ff6 Add new encoding EUC_JIS_2004 and SHIFT_JIS_2004, along with new conversions among EUC_JIS_2004, SHIFT_JIS_2004 and UTF-8. catalog version has been bump up. Tatsuo Ishii 2007-03-25 11:56:04 +00:00
  • 7b4726e6c3 Add: Bruce Momjian 2007-03-25 02:21:19 +00:00
  • b72426d351 Add: Bruce Momjian 2007-03-24 23:12:34 +00:00
  • 8ca1571665 Support for installing NLS files, and update support to use gettext from gnuwin32. Magnus Hagander 2007-03-24 22:16:49 +00:00
  • 720a9cc0e5 Document that LDAP URLs should be double-quoted in pg_hba.conf because commas are often present in the URL. Bruce Momjian 2007-03-24 21:46:25 +00:00
  • 36d35a14df Document that LDAP URLs should be double-quoted in pg_hba.conf because commas are often present in the URL. Bruce Momjian 2007-03-24 21:46:23 +00:00
  • 1e0cba90fd Fix broken markup. Tom Lane 2007-03-24 16:46:28 +00:00
  • 5e37b4cb1a Install contrib sql and readme files Magnus Hagander 2007-03-24 15:28:48 +00:00
  • ecfb932a5a Properly parse the name of contrib modules that aren't named the same way as their directory (notably xml2/pgxml and intarray/_int) Magnus Hagander 2007-03-24 14:13:27 +00:00
  • e019bbc9e8 Set the node properly, per Tom. Alvaro Herrera 2007-03-23 21:57:10 +00:00
  • a0abe87f1c Separate the code to start a new worker into its own function. The code is exactly the same, modulo whitespace. Alvaro Herrera 2007-03-23 21:45:17 +00:00
  • 6287eb7adc Separate fetch of pg_autovacuum tuple into its own function. Alvaro Herrera 2007-03-23 21:23:13 +00:00
  • 8aaecaf809 We no longer need to palloc the VacuumStmt node; keeping it on the stack is simpler. Alvaro Herrera 2007-03-23 20:56:39 +00:00
  • 23a41573c4 Adjust DatumGetBool macro so that it isn't fooled by garbage in the Datum to the left of the actual bool value. While in most cases there won't be any, our support for old-style user-defined functions violates the C spec to the extent of calling functions that might return char or short through a function pointer declared to return "char *", which we then coerce to Datum. It is not surprising that the result might contain garbage high-order bits ... what is surprising is that we didn't see such cases long ago. Per report from Magnus. Tom Lane 2007-03-23 20:24:41 +00:00
  • 547b6e537a Fix plancache so that any required replanning is done with the same search_path that was active when the plan was first made. To do this, improve namespace.c to support a stack of "override" search path settings (we must have a stack since nested replan events are entirely possible). This facility replaces the "special namespace" hack formerly used by CREATE SCHEMA, and should be able to support per-function search path settings as well. Tom Lane 2007-03-23 19:53:52 +00:00
  • 4c35ec53a9 Allow 4 bytes UTF-8 (UCS-4 range 00010000-001FFFFF) This is necessary to support JIS X 0213 <--> UTF-8 conversion. Tatsuo Ishii 2007-03-23 13:51:30 +00:00
  • 6b77e3a8cc Forgot commit: support for special-cases in pgcrypto Magnus Hagander 2007-03-23 10:05:34 +00:00
  • 3024b0aa94 Support for running contribcheck on msvc Magnus Hagander 2007-03-23 09:57:55 +00:00
  • e69f7f450c Generate SQL files for /contrib (based on .sql.in) Magnus Hagander 2007-03-23 09:53:33 +00:00
  • fb8155d0d2 Add define to exclude configured libraries, to be able to easily build a stripped down version of libpq. To be used by the installer. Magnus Hagander 2007-03-23 08:43:51 +00:00
  • 1ca6ab1c78 Remove headers for old sysv shmem emulation that I forgot. Also remove headers for old sysv semaphore emulation that were forgotten when that was changed about a year ago. Magnus Hagander 2007-03-23 08:30:55 +00:00
  • 1e2bfb5811 Cleanup for procarray.c. Bruce Momjian 2007-03-23 03:16:39 +00:00
  • 404c00434c Add: Bruce Momjian 2007-03-22 20:55:19 +00:00
  • 9c51b922b6 Add comment that pg_dump 'append' format is used only by pg_dump, per Dave Page. Bruce Momjian 2007-03-22 20:47:12 +00:00
  • 760b988f9d Add to TODO: Bruce Momjian 2007-03-22 20:38:42 +00:00
  • ea3b212fee Commit newest version of xmlpath(). Bruce Momjian 2007-03-22 20:26:30 +00:00
  • f317a03734 In pg_dump, strcasecmp -> pg_strcasecmp. Bruce Momjian 2007-03-22 20:18:49 +00:00
  • e651bcf3f6 Add xmlpath() to evaluate XPath expressions, with namespaces support. Bruce Momjian 2007-03-22 20:14:58 +00:00
  • 4f896dac17 Arrange for PreventTransactionChain to reject commands submitted as part of a multi-statement simple-Query message. This bug goes all the way back, but unfortunately is not nearly so easy to fix in existing releases; it is only the recent ProcessUtility API change that makes it fixable in HEAD. Per report from William Garrison. Tom Lane 2007-03-22 19:55:04 +00:00
  • 686956375a Allow the pgstat process to restart immediately after a receiving SIGQUIT signal, rather than waiting for PGSTAT_RESTART_INTERVAL. Bruce Momjian 2007-03-22 19:53:31 +00:00
  • a4127b713d Allow DROP TABLESPACE to succeed (with a warning) if the pg_tblspc symlink doesn't exist. This allows DROP to be used to clean out the pg_tablespace catalog entry in a situation where a previous DROP attempt failed before committing but after having removed the directories and symlink. Tom Lane 2007-03-22 19:51:44 +00:00
  • 832b6d00e9 Properly enforce pg_dump -F formation options; only single letter or full words support, per report from Mark Stosberg. Bruce Momjian 2007-03-22 19:42:02 +00:00
  • 8f65c02f33 Remove the currently unused FRONTEND case in dllist.c. This allows the usage of palloc instead of malloc, which means a list can be freed simply by deleting the memory context that contains it. Alvaro Herrera 2007-03-22 18:57:52 +00:00
  • fc565cfc7b Fix parser bug on Windows with UTF8 encoding and C locale, the reason was sizeof(wchar_t) = 2 instead of 4. Teodor Sigaev 2007-03-22 15:59:09 +00:00
  • bb8998a475 Fix parser bug on Windows with UTF8 encoding and C locale, the reason was sizeof(wchar_t) = 2 instead of 4. Teodor Sigaev 2007-03-22 15:58:24 +00:00
  • c68a631ce7 Remove tabs in SGML files. Bruce Momjian 2007-03-22 15:46:56 +00:00
  • 183c12e0d7 Remove tabs from SGML file. Bruce Momjian 2007-03-22 15:45:56 +00:00
  • d55227f01b Forgot to add file needed for PL regression tests Magnus Hagander 2007-03-22 13:43:02 +00:00
  • 54d20024c1 Fix some problems with selectivity estimation for partial indexes. Tom Lane 2007-03-21 22:18:12 +00:00
  • 2b49e5d3cb Add: Bruce Momjian 2007-03-21 21:25:46 +00:00
  • 5fc7ba76dd Remove TODO item, not wanted: Bruce Momjian 2007-03-21 21:21:21 +00:00
  • 17fdd7833e Add documentation about vcregress. Magnus Hagander 2007-03-21 19:22:52 +00:00
  • bebbea0c1e Add URL for: Bruce Momjian 2007-03-21 16:43:31 +00:00
  • e8a85e6f84 Add support for running regression tests on procedural languages Magnus Hagander 2007-03-21 16:21:40 +00:00
  • 3c5d5f070a Properly return exitcode when regression tests fails. Magnus Hagander 2007-03-21 15:39:03 +00:00
  • 18d82d03b5 Native shared memory implementation for win32. Uses same underlying tech as before, but not the sysv emulation layer. Magnus Hagander 2007-03-21 14:39:23 +00:00
  • 3b765dba78 Add URL for: Bruce Momjian 2007-03-21 00:33:08 +00:00
  • c45fa5598b In FAQ, reference upgrade info via URL. Bruce Momjian 2007-03-20 17:43:57 +00:00
  • d89b968319 Not done, reverted: Bruce Momjian 2007-03-20 16:36:20 +00:00
  • e7bb07ea13 Done: Bruce Momjian 2007-03-20 16:32:42 +00:00
  • 9eb78beeae Add three new regexp functions: regexp_matches, regexp_split_to_array, and regexp_split_to_table. These functions provide access to the capture groups resulting from a POSIX regular expression match, and provide the ability to split a string on a POSIX regular expression, respectively. Patch from Jeremy Drake; code review by Neil Conway, additional comments and suggestions from Tom and Peter E. Neil Conway 2007-03-20 05:45:00 +00:00
  • 5e96b04a7c Bumping catversion due to changes to pg_trigger and pg_rewrite. Jan Wieck 2007-03-20 03:53:26 +00:00
  • 0fe16500d3 Changes pg_trigger and extend pg_rewrite in order to allow triggers and rules to be defined with different, per session controllable, behaviors for replication purposes. Jan Wieck 2007-03-19 23:38:32 +00:00
  • e927f8f14e Remove last line of patch license, per Zeugswetter Andreas: Bruce Momjian 2007-03-19 16:53:03 +00:00
  • e28e318c65 Further buildfarm experience shows that actually we can't run the plancache test in parallel with the rules test at all, because the former wants to create a couple of temp views, which can sometimes show up in the latter's output. Let's try it in the next parallel group instead. Tom Lane 2007-03-19 16:44:41 +00:00
  • 60e67c1632 Fix 8.2 breakage of domains over array types, and add a regression test case to cover it. Per report from Anton Pikhteryev. Tom Lane 2007-03-19 16:30:40 +00:00
  • 9bc933b212 Fix 8.2 breakage of domains over array types, and add a regression test case to cover it. Per report from Anton Pikhteryev. Tom Lane 2007-03-19 16:30:32 +00:00
  • 79929fff76 Add URL for: Bruce Momjian 2007-03-19 15:50:48 +00:00
  • 00c56bb7f8 Add URL for: Bruce Momjian 2007-03-19 15:24:17 +00:00
  • 62df7c31c0 ecpglib requires libpgport, per Andrew Dunstan Magnus Hagander 2007-03-19 09:34:09 +00:00
  • 584b6dc2d5 Fix ecpg/preproc makefile for parallel builds: parser.o must depend on preproc.h, else make may try to build it before preproc.h is ready. Per failures seen here and in buildfarm. Tom Lane 2007-03-18 17:57:34 +00:00
  • 7221b4fa50 Code cleanup: mark some variables with the "const" modifier, when they are initialized with a string literal. Patch from Stefan Huehner. Neil Conway 2007-03-18 16:50:44 +00:00
  • b9954fbb4e Code cleanup for function prototypes: change two K&R-style prototypes to ANSI-style, and change "()" -> "(void)". Patch from Stefan Huehner. Neil Conway 2007-03-18 05:36:50 +00:00
  • 582e22a8c3 Simplified sortby rule Michael Meskes 2007-03-17 19:27:12 +00:00
  • d3e131e062 - Changed some whitespacing in connect statement. - Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>. - Synced parser and keyword lists. - Copied two token parsing from backend parser to ecpg parser. - Also added a test case for this. Michael Meskes 2007-03-17 19:25:24 +00:00
  • e6e78187ef msvc build actually needs Bison 2.2 or later, not 2.1. Or 1.875 as before. Magnus Hagander 2007-03-17 17:11:41 +00:00
  • 15f4842d70 Add note that diff is required for regression tests. Magnus Hagander 2007-03-17 14:30:00 +00:00
  • 7bb40f9b82 Add cvs tags to msvc build files, along with a (very short) comment about what each script does. Magnus Hagander 2007-03-17 14:01:01 +00:00
  • 4554ee362c Oops, forgot to remove the old genbki script. Magnus Hagander 2007-03-17 13:54:34 +00:00
  • 08bb618561 Turn most vc build scripts into modules instead of scripts, and just have skeleton scripts calling them. To make it easier for the buildfarm (or other "outside callers") to use these modules directly. Magnus Hagander 2007-03-17 13:50:42 +00:00
  • adf06f6931 SPI_cursor_open failed to enforce that only read-only queries could be executed in read_only mode. This could lead to various relatively-subtle failures, such as an allegedly stable function returning non-stable results. Bug goes all the way back to the introduction of read-only mode in 8.0. Per report from Gaetano Mendola. Tom Lane 2007-03-17 03:16:03 +00:00
  • 6c15622595 SPI_cursor_open failed to enforce that only read-only queries could be executed in read_only mode. This could lead to various relatively-subtle failures, such as an allegedly stable function returning non-stable results. Bug goes all the way back to the introduction of read-only mode in 8.0. Per report from Gaetano Mendola. Tom Lane 2007-03-17 03:15:55 +00:00
  • 32311dfaa0 SPI_cursor_open failed to enforce that only read-only queries could be executed in read_only mode. This could lead to various relatively-subtle failures, such as an allegedly stable function returning non-stable results. Bug goes all the way back to the introduction of read-only mode in 8.0. Per report from Gaetano Mendola. Tom Lane 2007-03-17 03:15:47 +00:00
  • cdf8b56d54 SPI_cursor_open failed to enforce that only read-only queries could be executed in read_only mode. This could lead to various relatively-subtle failures, such as an allegedly stable function returning non-stable results. Bug goes all the way back to the introduction of read-only mode in 8.0. Per report from Gaetano Mendola. Tom Lane 2007-03-17 03:15:38 +00:00
  • e88a7ad774 Ooops, got only one of the two ArrayExpr variants correct in first cut at exprTypmod support. Also, experimentation shows that we need to label the type of Const nodes that are numeric with a specific typmod. Tom Lane 2007-03-17 01:15:55 +00:00
  • 0f4ff460c4 Fix up the remaining places where the expression node structure would lose available information about the typmod of an expression; namely, Const, ArrayRef, ArrayExpr, and EXPR and ARRAY SubLinks. In the ArrayExpr and SubLink cases it wasn't really the data structure's fault, but exprTypmod() being lazy. This seems like a good idea in view of the expected increase in typmod usage from Teodor's work to allow user-defined types to have typmods. In particular this responds to the concerns we had about eliminating the special-purpose hack that exprTypmod() used to have for BPCHAR Consts. We can now tell whether or not such a Const has been cast to a specific length, and report or display properly if so. Tom Lane 2007-03-17 00:11:05 +00:00
  • 51d7741db1 Add new columns for tuple statistics on a database level to pg_stat_database. Magnus Hagander 2007-03-16 17:57:36 +00:00
  • c4fdfb8de3 Fix race condition in parallel regression tests. The new plancache test was expecting there to be no regular table named 'foo', but it turns out the rules test transiently creates one, so that plancache would sometimes fail. I couldn't reproduce that in quite a few tries here, but several buildfarm machines have shown the failure. Fix by renaming plancache's temp table to something nonconflicting. Tom Lane 2007-03-16 16:11:49 +00:00
  • 009dac8ed4 Fix uninitialized value in pgstatindex leading to invalid values being reported in some cases. Report and patch from Tatsuhito Kasahara. Alvaro Herrera 2007-03-16 15:06:46 +00:00
  • c9d3b8f5d2 Fix uninitialized value in pgstatindex leading to invalid values being reported in some cases. Report and patch from Tatsuhito Kasahara. Alvaro Herrera 2007-03-16 15:06:43 +00:00
  • f6e3313fea Remove undocumented support for copy syntax from before 7.3. Update comments to reflect syntax actually supported, e.g. by including CSV params. Andrew Dunstan 2007-03-16 13:41:21 +00:00