Commit Graph

  • 7d7806d0a2 Translation updates Dennis Bjorklund 2004-06-25 11:22:58 +00:00
  • bc4c2ac44f Swedish translation of pg_ctl. Dennis Bjorklund 2004-06-25 09:49:36 +00:00
  • fbe4b75515 Make pg_ctl possible to translate. Strings marked for translation has to be complete sentences. Dennis Bjorklund 2004-06-25 08:49:28 +00:00
  • dcd97c01a2 Translation updates Dennis Bjorklund 2004-06-25 08:13:49 +00:00
  • 4e2801bcf5 Translation updates Dennis Bjorklund 2004-06-25 07:43:19 +00:00
  • d0f1b4c4fb Add argument name to syntax. Dennis Bjorklund 2004-06-25 07:05:34 +00:00
  • c95246bd63 Translation updates Dennis Bjorklund 2004-06-24 22:21:22 +00:00
  • 0897eef095 Translation updates Dennis Bjorklund 2004-06-24 21:56:31 +00:00
  • b15f9b08ef Replace direct fprintf(stderr) calls by write_stderr(), and cause this routine to do something appropriate on Win32. Also, add a security check on Win32 that parallels the can't-run-as-root check on Unix. Tom Lane 2004-06-24 21:03:42 +00:00
  • b5b9e33564 Add documentation for pg_cancel_backend and pg_terminate_backend. Tom Lane 2004-06-24 19:57:14 +00:00
  • 1b80b6da6a Add --pwfile option to initdb, so that passwords can be set by GUI tools that aren't able to feed the password to initdb's /dev/tty. Tom Lane 2004-06-24 19:26:59 +00:00
  • a061a3f62f Avoid including <sys/time.h> on platforms that don't have it. Per trouble report from Andreas Pflug. Tom Lane 2004-06-24 18:55:21 +00:00
  • fd786668ea Include c.h instead of postgres.h in files that need to be usable in both frontend and backend. Per Andreas Pflug. Tom Lane 2004-06-24 18:53:48 +00:00
  • f8dd00c3ef Extend pg_ctl to handle service management under WIN32. Lacks docs. Tom Lane 2004-06-24 18:23:26 +00:00
  • 46f2ee852b Fix apparently harmless typo. {$srcdir} -> ${srcdir} Kris Jurka 2004-06-24 09:51:44 +00:00
  • df9d87f608 Previous commit wasnt full... Teodor Sigaev 2004-06-23 11:29:58 +00:00
  • de55c0cef6 1 Fix affixes with void replacement (AFAIK, it's only russian) 2 Optimize regex execution Teodor Sigaev 2004-06-23 11:06:11 +00:00
  • c0626280c7 Fix stupid bug in installcheck Teodor Sigaev 2004-06-23 10:03:57 +00:00
  • 153d5d31eb Remove link: Bruce Momjian 2004-06-23 09:53:57 +00:00
  • 09bc52fe73 Fix stupid bug in installcheck Teodor Sigaev 2004-06-23 09:43:43 +00:00
  • 1a76550b3b Fix information schema views to return NULL for precision and scale of an unconstrained numeric column. Also, factor out some duplicate code into functions, to ease future maintenance. Tom Lane 2004-06-22 22:30:32 +00:00
  • 15a932c50f Close the existing socket connection when reverting to the V2 protocol, or encountering other connection failures. Kris Jurka 2004-06-22 09:37:03 +00:00
  • 5ca40c5d31 Add comment about rationale for continuing to use C library functions instead of src/timezone for timestamping log entries. Tom Lane 2004-06-21 14:12:38 +00:00
  • ba6b87f330 Fix pg_dump and pg_dumpall for new names of built-in tablespaces, per Chris K-L. Tom Lane 2004-06-21 13:36:42 +00:00
  • f5f448fb3e Rename the built-in tablespaces to pg_default and pg_global, and prohibit creation of user-defined tablespaces with names starting with 'pg_', as per suggestion of Chris K-L. Also install admin-guide tablespace documentation from Gavin. Tom Lane 2004-06-21 04:06:07 +00:00
  • bb95de1f2a Fix some problems with result sets positioned before the start or after the end of results. You could still call a number of methods on them like getXXX, updateXXX, and updateRow(). Kris Jurka 2004-06-21 03:12:01 +00:00
  • 922c2638e4 Fix updatable ResultSets stream methods (ascii, character, binary). The existing code didn't correctly allocate data arrays, and it failed to loop when a stream didn't provide the full amount of data requested of it. Kris Jurka 2004-06-21 02:01:12 +00:00
  • 483b7f8249 Rename pg_tablespaces directory to pg_tblspc, so it is more unique from the pg_tablespace table. Update catalog version. Bruce Momjian 2004-06-21 01:04:45 +00:00
  • ac334e9551 Synced parser and keyword list. Michael Meskes 2004-06-20 10:45:47 +00:00
  • 7864e0aa6a Add pgevent, with docs explaining out to install it on Win32. Bruce Momjian 2004-06-20 01:32:49 +00:00
  • 1098677482 Adjust TAS assembly as per recent discussions: use "+m"(*lock) everywhere to reference the spinlock variable, and specify "memory" as a clobber operand to be sure gcc does not try to keep shared-memory values in registers across a spinlock acquisition. Also tighten the S/390 asm sequence, which was apparently written with only minimal study of the gcc asm documentation. I have personally tested i386, ia64, ppc, hppa, and s390 variants --- there is some small chance that I broke the others, but I doubt it. Tom Lane 2004-06-19 23:02:32 +00:00
  • c1d9dec3e3 Looks like s_lock_test needs <time.h> on some platforms. Tom Lane 2004-06-19 20:31:55 +00:00
  • 1232878159 s_lock_test requires libpgport to build now. Tom Lane 2004-06-19 19:43:11 +00:00
  • f0cc132621 Fix oversight in recent rowtype-handling improvements: transformTargetList should recognize 'foo.*' when the star appears in A_Indirection, not only in ColumnRef. This allows 'SELECT something.*' to do what the user expects when the something is an expression yielding a row. Tom Lane 2004-06-19 18:19:56 +00:00
  • 57d2665108 Fix Makefile syntax. Forgot to test this. Bruce Momjian 2004-06-19 15:14:17 +00:00
  • 3101181e9e Add changes to support threads on Win32 native port at some point in the future. Bruce Momjian 2004-06-19 04:43:18 +00:00
  • af70d57825 Enable thread safety for win32.mak build of PostgreSQL. Bruce Momjian 2004-06-19 04:22:17 +00:00
  • 1181ea6a78 Add: Bruce Momjian 2004-06-19 01:48:13 +00:00
  • f7ca71a76b Replace createdb's obsolete --location switch with --tablespace. I kept the same abbreviated letter -D, in hopes of maintaining some modicum of backwards compatibility (though it's doubtful whether anyone is really using scripts that invoke createdb -D ...) Tom Lane 2004-06-18 21:47:24 +00:00
  • 984c8a48f4 initlocation is history. (It's still mentioned in manage-ag.sgml, but I'll leave that file alone so as not to mess up the doc patch I trust Gavin is working on.) Tom Lane 2004-06-18 21:24:06 +00:00
  • b33c7231e5 Add: Bruce Momjian 2004-06-18 18:35:53 +00:00
  • 9e24182952 Remove tablespaces TODO.detail. Bruce Momjian 2004-06-18 16:04:13 +00:00
  • 0d1ffd36c4 Done: Bruce Momjian 2004-06-18 16:03:20 +00:00
  • 2467394ee1 Tablespaces. Alternate database locations are dead, long live tablespaces. Tom Lane 2004-06-18 06:14:31 +00:00
  • 3cec5b804d Foreign key information results should have column name FKTABLE_CAT instead of FK_TABLE_CAT. Kris Jurka 2004-06-18 05:29:11 +00:00
  • 474875f443 The attached patch adds some index entries pointing to the cursor reference pages. Please apply. Bruce Momjian 2004-06-17 12:41:02 +00:00
  • f9589d4acb Added patch by ISHIDA Akio to allow indicators in execute statements. Michael Meskes 2004-06-17 11:52:59 +00:00
  • 5f3edded81 Added patch by ISHIDA Akio to allow indicators in execute statements. Michael Meskes 2004-06-17 11:52:25 +00:00
  • d9a44efc25 Don't throw an Exception in locatorsUpdateCopy() even though the ability to update LOBs is unimplemented. The 1.5 JDK's CachedRowSet implementation calls this method regardless of whether large objects are used or not. Kris Jurka 2004-06-16 18:28:45 +00:00
  • 94fdcc052a Bump the build number to relase a new version. Kris Jurka 2004-06-16 05:23:33 +00:00
  • 7e95c30953 When deleteRow() is called on an updateable ResultSet the ResultSet should be positioned on the previous row. Kris Jurka 2004-06-16 05:12:13 +00:00
  • d28e714509 Do PGAC_FUNC_GETPWUID_R_5ARG check with the proper thread flags. This fixes Solaris thread compiles. Bruce Momjian 2004-06-16 03:47:35 +00:00
  • 0bd656e407 Fix DatabaseMetaData results for determining foreign key relationships. Resulting columns from getImportedExportedKeys should be FKTABLE_SCHEM and PKTABLE_SCHEM, not _SCHEMA. Kris Jurka 2004-06-16 03:36:56 +00:00
  • 1d2dbf0797 Improve comment. Bruce Momjian 2004-06-16 03:01:32 +00:00
  • e854bc4ac7 Do PGAC_FUNC_GETPWUID_R_5ARG and PGAC_FUNC_STRERROR_R_INT tests with the same thread flags that will be used to compile thread.c. Add comment to make sure no one breaks it. Bruce Momjian 2004-06-16 02:58:28 +00:00
  • d70a42e642 Represent type-specific length coercion functions as pg_cast entries, eliminating the former hard-wired convention about their names. Allow pg_cast entries to represent both type coercion and length coercion in a single step --- this is represented by a function that takes an extra typmod argument, just like a length coercion function. This nicely merges the type and length coercion mechanisms into something at least a little cleaner than we had before. Make use of the single- coercion-step behavior to fix integer-to-bit coercion so that coercing to bit(n) yields the rightmost n bits of the integer instead of the leftmost n bits. This should fix recurrent complaints about the odd behavior of this coercion. Clean up the documentation of the bit string functions, and try to put it where people might actually find it. Also, get rid of the unreliable heuristics in ruleutils.c about whether to display nested coercion steps; instead require parse_coerce.c to label them properly in the first place. Tom Lane 2004-06-16 01:27:00 +00:00
  • 8e7349b738 Fix doc bug: to_timestamp() returns timestamptz, not plain timestamp. Tom Lane 2004-06-14 19:01:09 +00:00
  • bbe42a1514 Arrange to explicitly stop the pgstat processes at the same time we begin the shutdown checkpoint; there isn't anything left for them to do, so we may as well ensure that they shut down sooner rather than later. Per discussion. Tom Lane 2004-06-14 18:08:19 +00:00
  • f4b0d28aa0 New wording: Bruce Momjian 2004-06-14 13:44:00 +00:00
  • 8b8bbfff45 New wording: Bruce Momjian 2004-06-14 13:42:47 +00:00
  • 2990b8a4a6 Add missing PQclear(). Tatsuo Ishii 2004-06-14 11:00:12 +00:00
  • dd83b34d38 Updated wording: Bruce Momjian 2004-06-13 23:42:59 +00:00
  • 75c8e51b08 Re-add: Bruce Momjian 2004-06-13 23:39:30 +00:00
  • 950d047ec5 Give inet/cidr datatypes their own hash function that ignores the inet vs cidr type bit, the same as network_eq does. This is needed for hash joins and hash aggregation to work correctly on these types. Per bug report from Michael Fuhr, 2004-04-13. Also, improve hash function for int8 as suggested by Greg Stark. Tom Lane 2004-06-13 21:57:28 +00:00
  • 0e338bba42 Remove README.CVS when making a distribution. Peter Eisentraut 2004-06-13 21:51:36 +00:00
  • 2416c758a6 Remove README.CVS when making a distribution. REL7_4_3 Peter Eisentraut 2004-06-13 21:50:04 +00:00
  • c0dff99dbc Translation update Peter Eisentraut 2004-06-13 21:41:33 +00:00
  • b458e15279 Translation update Peter Eisentraut 2004-06-13 21:41:20 +00:00
  • ba0f9ff3ba Code review for recently-added network functions. Get it to work when log_hostname is enabled, clean up documentation. Tom Lane 2004-06-13 19:56:52 +00:00
  • 27ab2e5d41 Correct erroneous table title, per Halley Pacheco de Oliveira. Tom Lane 2004-06-13 17:51:16 +00:00
  • 88961fc45d Correct erroneous table title, per Halley Pacheco de Oliveira. Tom Lane 2004-06-13 17:51:08 +00:00
  • da736b79e7 Suppress compile warnings on machines where the INT64CONST() decoration is actually needed. Backport of Oliver Elphick's recent patch. Tom Lane 2004-06-13 17:17:49 +00:00
  • 2e11ef8be8 Now needs to include <ctype.h>. Tom Lane 2004-06-12 20:31:48 +00:00
  • 83db69bebc Now needs to include <ctype.h>. Tom Lane 2004-06-12 20:31:43 +00:00
  • d7f5817a9b Some editorializing on 7.4.3 release notes. Tom Lane 2004-06-12 19:30:36 +00:00
  • 4832c53e10 Some editorializing on 7.4.3 release notes. Tom Lane 2004-06-12 19:30:29 +00:00
  • aa5fe4ae76 Improve release wording. Bruce Momjian 2004-06-12 04:22:15 +00:00
  • 8d7ed778c4 Markup fix. Bruce Momjian 2004-06-12 04:08:39 +00:00
  • b24e361d11 Markup fix. Bruce Momjian 2004-06-12 04:08:02 +00:00
  • 0649d10a3b Fix markup Bruce Momjian 2004-06-12 04:03:45 +00:00
  • 342e3b06f8 Fix markup Bruce Momjian 2004-06-12 04:02:53 +00:00
  • c796e97abd Update release notes for 7.4.3. Bruce Momjian 2004-06-12 03:56:25 +00:00
  • a1c4b9efe4 Update release notes for 7.4.3. Bruce Momjian 2004-06-12 03:54:51 +00:00
  • ba57e33d7f Stamp 7.4.3. Still need release notes. Bruce Momjian 2004-06-11 18:17:54 +00:00
  • 257a8feb60 ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const, volatile, static, and register keywords before variables, declared as VARCHAR. Bruce Momjian 2004-06-11 17:32:55 +00:00
  • eebad1a74f ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const, volatile, static, and register keywords before variables, declared as VARCHAR. Bruce Momjian 2004-06-11 17:32:39 +00:00
  • bbf0ebadaf StrategyDirtyBufferList wasn't being careful to honor max_buffers limit. Bug is only latent given that sole caller is passing NBuffers, but it could bite someone in the rear someday. Tom Lane 2004-06-11 17:20:39 +00:00
  • 2597056cc3 Use sizeof() rather than strlen() in array size. Bruce Momjian 2004-06-11 17:09:13 +00:00
  • e6cba71503 Add some code to Assert that when we release pin on a buffer, we are not holding the buffer's cntx_lock or io_in_progress_lock. A recent report from Litao Wu makes me wonder whether it is ever possible for us to drop a buffer and forget to release its cntx_lock. The Assert does not fire in the regression tests, but that proves little ... Tom Lane 2004-06-11 16:43:24 +00:00
  • 8d64b56206 Cleanup use of Win32 START by using "" for title. No need for temp batch files anymore. Bruce Momjian 2004-06-11 16:36:31 +00:00
  • 800910fe97 Add URL about Win32 quoting behavior. Bruce Momjian 2004-06-11 16:10:09 +00:00
  • eae2a7204f Another fix for Win32 START. Bruce Momjian 2004-06-11 04:17:21 +00:00
  • 1261fe18ff The attached tiny patch removes spurious carriage returns that might be copied by the script that generates psql's help. (You can get the spurious CRs if you use a CVS client on Windows that does line end translation.) Elsewhere, the patch should be totally benign. Bruce Momjian 2004-06-11 03:56:46 +00:00
  • 3a8cdf33aa >> It certainly doesn't. There still was a bug with the locale stuff, >> though - the GUC variable was not set in the child >processes. So "show >> lc_collate" would *always* return "C", for example. attached >patch fixes >> this. > >Hm. Why were these vars not propagated by the regular >mechanism for GUC >variables (write_nondefault_variables or whatever it's called)? If the >problem is that it's not accepting PGC_INTERNAL values, then we need to >fix it there not here, because otherwise we'll have to pass all the >PGC_INTERNAL variables through the backend_variables file, which seems >like a recipe for more of the same sort of bug. Bruce Momjian 2004-06-11 03:54:54 +00:00
  • a28d04e6ee This patch updates pgpipe() on win32 to log exactly which part of the call fails when it does. (As it is now, there is no way to figure out the point of error). Shouldn't be a problem since it's most defintily not a performance-critical path (only called on pgstat startup ATM). Bruce Momjian 2004-06-11 03:48:35 +00:00
  • 7643bed58e When using extended-query protocol, postpone planning of unnamed statements until Bind is received, so that actual parameter values are visible to the planner. Make use of the parameter values for estimation purposes (but don't fold them into the actual plan). This buys back most of the potential loss of plan quality that ensues from using out-of-line parameters instead of putting literal values right into the query text. Tom Lane 2004-06-11 01:09:22 +00:00
  • 5fe8c7d6e5 More restructuring to use Win32 START with paths needing quotes. Bruce Momjian 2004-06-11 00:57:25 +00:00
  • b43b461396 Translation updates Peter Eisentraut 2004-06-10 22:43:28 +00:00
  • 6cc4175b25 Attached is a patch that takes care of the PATHSEP issue. I made a more extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. Bruce Momjian 2004-06-10 22:26:24 +00:00
  • d4117de50a More quoting cleanups for Win32's pg_ctl. Bruce Momjian 2004-06-10 22:20:53 +00:00