OSDN Git Service
Dave Cramer [Wed, 31 Oct 2001 20:26:01 +0000 (20:26 +0000)]
allow null passwords
Dave Cramer [Wed, 31 Oct 2001 20:24:32 +0000 (20:24 +0000)]
added dummy login
Bruce Momjian [Wed, 31 Oct 2001 15:11:08 +0000 (15:11 +0000)]
Update TODO list.
Bruce Momjian [Wed, 31 Oct 2001 15:06:02 +0000 (15:06 +0000)]
Update TODO list.
Thomas G. Lockhart [Wed, 31 Oct 2001 14:44:23 +0000 (14:44 +0000)]
Fix queries to insulate from daylight savings time.
Bruce Momjian [Wed, 31 Oct 2001 05:16:31 +0000 (05:16 +0000)]
More *.po cleanups for new spacing.
Bruce Momjian [Wed, 31 Oct 2001 05:14:33 +0000 (05:14 +0000)]
Modify *.po files and regression expected output for new clearer error
message spacing.
Bruce Momjian [Wed, 31 Oct 2001 04:58:36 +0000 (04:58 +0000)]
Here is an updated version of /src/backend/po/ru.po
which incorporates recent changes by Bruce to
readability of some messages and few more translations.
--
Serguei A. Mokhov
Bruce Momjian [Wed, 31 Oct 2001 04:55:02 +0000 (04:55 +0000)]
Traditional Chinese error messages for JDBC.
Zhenbang Wei
Bruce Momjian [Wed, 31 Oct 2001 04:50:52 +0000 (04:50 +0000)]
Attached is a small patch for the Reference Manual which adds
information about nulls and sort order.
This is based on information obtained from Peter Eisentraut and
Tom Lane on pgsql-hackers.
Please check my English and Docbook markup, as both are a second
language to me.
Rene Pijlman
Bruce Momjian [Wed, 31 Oct 2001 04:49:44 +0000 (04:49 +0000)]
Add ALTER TABLE ADD UNIQUE regression tests from Christopher Kings-Lynne.
Add space between slash for ALTER TABLE / ADD ....
Regression and *.po updates to follow.
Bruce Momjian [Wed, 31 Oct 2001 04:31:17 +0000 (04:31 +0000)]
Apply updated PO language patch.
Zhenbang Wei
Bruce Momjian [Wed, 31 Oct 2001 04:20:26 +0000 (04:20 +0000)]
PO language update.
forth@pagic.net
Bruce Momjian [Wed, 31 Oct 2001 01:56:55 +0000 (01:56 +0000)]
Update TODO list.
Tom Lane [Tue, 30 Oct 2001 22:48:57 +0000 (22:48 +0000)]
Update solaris-1947 variant files for new datetime regression tests.
Results checked by Olivier Prenant.
Barry Lind [Tue, 30 Oct 2001 20:45:17 +0000 (20:45 +0000)]
updates to JDBC TODO items
Tom Lane [Tue, 30 Oct 2001 20:13:44 +0000 (20:13 +0000)]
Grammatical corrections.
Tom Lane [Tue, 30 Oct 2001 19:58:58 +0000 (19:58 +0000)]
Fix problems with subselects used in GROUP BY expressions, per gripe
from Philip Warner. Side effect of change is that GROUP BY expressions
will not be re-evaluated at multiple plan levels anymore, whereas this
sometimes happened with old code.
Barry Lind [Tue, 30 Oct 2001 06:31:59 +0000 (06:31 +0000)]
fixed change in behavior introduced in bytea / getBytes changes. This patch reverts back unintentional change in behavior to return raw value even when not bytea column
Bruce Momjian [Tue, 30 Oct 2001 05:38:56 +0000 (05:38 +0000)]
Fix small problem Tom Lane found with pgindent run.
Barry Lind [Tue, 30 Oct 2001 05:09:51 +0000 (05:09 +0000)]
updated patch from Mark Lillywhite per Tom Lane's comments: subtract VARHDRSZ first then and with 0xffff
Barry Lind [Tue, 30 Oct 2001 05:05:25 +0000 (05:05 +0000)]
applied patch from Mark Lillywhite, patch was already applied to jdbc2, this applies same fix to jdbc1 code
Bruce Momjian [Mon, 29 Oct 2001 19:41:54 +0000 (19:41 +0000)]
Add trailing semicolon for Joe Conway
Bruce Momjian [Mon, 29 Oct 2001 19:28:48 +0000 (19:28 +0000)]
Update HISTORY per HACKERS discussion.
Bruce Momjian [Mon, 29 Oct 2001 18:06:54 +0000 (18:06 +0000)]
Add gp->gr_mem != NULL check for Solaris, per Seth Hettich
Bruce Momjian [Mon, 29 Oct 2001 17:55:41 +0000 (17:55 +0000)]
Check for NULL return from getgrgid(), per Seth Hettich
Tatsuo Ishii [Mon, 29 Oct 2001 06:45:32 +0000 (06:45 +0000)]
Fix bug with illegal call to calloc.
Hiroshi Inoue [Mon, 29 Oct 2001 02:51:46 +0000 (02:51 +0000)]
Change position of a check button in multibyte mode.
Bruce Momjian [Sun, 28 Oct 2001 06:26:15 +0000 (06:26 +0000)]
Another pgindent run. Fixes enum indenting, and improves #endif
spacing. Also adds space for one-line comments.
Bruce Momjian [Sat, 27 Oct 2001 13:54:45 +0000 (13:54 +0000)]
Add code to trip trailing newlines in a file.
Bruce Momjian [Sat, 27 Oct 2001 03:31:36 +0000 (03:31 +0000)]
Correct fix for indenting.
Tom Lane [Fri, 26 Oct 2001 23:10:21 +0000 (23:10 +0000)]
Update WAL configuration discussion to reflect post-7.1 tweaking.
Minor copy-editing.
Tom Lane [Fri, 26 Oct 2001 21:17:03 +0000 (21:17 +0000)]
More cleanup of CREATE FUNCTION examples.
Tom Lane [Fri, 26 Oct 2001 20:45:33 +0000 (20:45 +0000)]
Remove no-longer-needed dependencies on DLSUFFIX.
Tom Lane [Fri, 26 Oct 2001 19:58:12 +0000 (19:58 +0000)]
Editorial work on xfunc chapter --- better explanations about SQL
functions handling composite types and sets, various minor cleanups.
Bruce Momjian [Fri, 26 Oct 2001 17:54:45 +0000 (17:54 +0000)]
Adjust NR tests. More accurate.
Bruce Momjian [Fri, 26 Oct 2001 16:21:13 +0000 (16:21 +0000)]
Add code to not indent enum, per Tom Lane.
Bruce Momjian [Fri, 26 Oct 2001 15:42:54 +0000 (15:42 +0000)]
Add ODBC typedefs.
Bruce Momjian [Fri, 26 Oct 2001 15:27:41 +0000 (15:27 +0000)]
Update TODO list.
Barry Lind [Thu, 25 Oct 2001 22:00:31 +0000 (22:00 +0000)]
updates to jdbc documentation for 7.2
Tom Lane [Thu, 25 Oct 2001 20:56:53 +0000 (20:56 +0000)]
Remove 294 reduce/reduce conflicts.
Tom Lane [Thu, 25 Oct 2001 20:37:30 +0000 (20:37 +0000)]
Fix a couple of places where lack of parenthesization of a cast
causes pgindent to make weird formatting decisions. Easiest fix
seems to be to put in the extra parens...
Bruce Momjian [Thu, 25 Oct 2001 20:00:58 +0000 (20:00 +0000)]
Mention pgindent/pgjindent.
Bruce Momjian [Thu, 25 Oct 2001 19:59:23 +0000 (19:59 +0000)]
Final update of HISTORY.
Bruce Momjian [Thu, 25 Oct 2001 19:57:03 +0000 (19:57 +0000)]
Add blank line before #endif to #endif's at the end of the file.
Bruce Momjian [Thu, 25 Oct 2001 19:43:53 +0000 (19:43 +0000)]
Update TODO list.
Bruce Momjian [Thu, 25 Oct 2001 19:22:05 +0000 (19:22 +0000)]
Add slash for comment spacing, for Tom.
Bruce Momjian [Thu, 25 Oct 2001 18:44:42 +0000 (18:44 +0000)]
Add comment spaces for trailing ) and comment.
Bruce Momjian [Thu, 25 Oct 2001 18:25:23 +0000 (18:25 +0000)]
Add spacing for single-line comments with trailing semicolon _and_
comma, per Tom.
Bruce Momjian [Thu, 25 Oct 2001 16:20:51 +0000 (16:20 +0000)]
Remove <> from FAQ_MSWIN, for Vince.
Tom Lane [Thu, 25 Oct 2001 14:10:07 +0000 (14:10 +0000)]
Add int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid
breaking existing pg_dump scripts, which try to assign the result of
count(*) to an int2 variable. catversion bumped.
Tom Lane [Thu, 25 Oct 2001 14:08:11 +0000 (14:08 +0000)]
Add missing output routine for FkConstraint nodes.
PostgreSQL Daemon [Thu, 25 Oct 2001 13:02:01 +0000 (13:02 +0000)]
bmake sure that configure is tags as 7.2b1 now instead of 7.2devel
Bruce Momjian [Thu, 25 Oct 2001 06:27:56 +0000 (06:27 +0000)]
Code cleanup.
Bruce Momjian [Thu, 25 Oct 2001 06:00:05 +0000 (06:00 +0000)]
pgjindent jdbc files. First time jdbc files were formatted.
Bruce Momjian [Thu, 25 Oct 2001 05:50:21 +0000 (05:50 +0000)]
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
Bruce Momjian [Thu, 25 Oct 2001 05:07:56 +0000 (05:07 +0000)]
Update to prevent CATALOG() from wrapping.
Bruce Momjian [Thu, 25 Oct 2001 03:56:35 +0000 (03:56 +0000)]
Add current typedef symbols to pgindent.
Bruce Momjian [Thu, 25 Oct 2001 01:29:37 +0000 (01:29 +0000)]
Add do { ... } while (0) to more bad macros.
Bruce Momjian [Thu, 25 Oct 2001 00:55:48 +0000 (00:55 +0000)]
Add more missing 'do { ... } while (0)' in missing macros. Without it,
these macros fail in if/else cases:
#define X \
{ \
... \
}
{
if (...)
X;
else
...
}
with proper setup:
#define X \
do { \
... \
} while (0)
it works fine.
Bruce Momjian [Thu, 25 Oct 2001 00:50:50 +0000 (00:50 +0000)]
Add missing "do { ... } while(0)" in ODBC macros and add find_baddefs
script.
Peter Eisentraut [Wed, 24 Oct 2001 21:49:14 +0000 (21:49 +0000)]
Include locale.h before undefining gettext() to avoid compilation errors
on Solaris.
per report from Lee Kindness, 2001-10-23
Bruce Momjian [Wed, 24 Oct 2001 17:52:28 +0000 (17:52 +0000)]
All three *.po patches applied.
forth@pagic.net
Bruce Momjian [Wed, 24 Oct 2001 17:44:28 +0000 (17:44 +0000)]
Here is a patch for DatabaseMetaData to show precision properly. It is
from Mark Lillywhite. I am adding to the patch queue.
Hiroshi Inoue [Wed, 24 Oct 2001 09:28:31 +0000 (09:28 +0000)]
Allow concurrent index creation for the same table.
Tatsuo Ishii [Wed, 24 Oct 2001 08:07:22 +0000 (08:07 +0000)]
"time" is now a reserved keyword(changed to "mtime").
Barry Lind [Wed, 24 Oct 2001 04:31:50 +0000 (04:31 +0000)]
fix for a bug in DatabaseMetaData.getIndexInfo(). This fixes a bug reported by tom_falconer@lineone.net. On Sept 7th, he sent a test case to the list demonstrating the bug. His test case now works successfully with this patch
Bruce Momjian [Wed, 24 Oct 2001 01:01:36 +0000 (01:01 +0000)]
Update TODO list.
Bruce Momjian [Tue, 23 Oct 2001 23:27:18 +0000 (23:27 +0000)]
Update TODO list.
Tom Lane [Tue, 23 Oct 2001 22:11:22 +0000 (22:11 +0000)]
Editorial work on descriptions of options.
Tom Lane [Tue, 23 Oct 2001 21:26:44 +0000 (21:26 +0000)]
Forbid the switch combination --clean --create, which is pointless
(why bother dropping individual objects in a just-created database?)
as well as dangerous (as the code stands, the drops will be issued in
the wrong database, namely the one you were originally connected to).
Tom Lane [Tue, 23 Oct 2001 20:17:27 +0000 (20:17 +0000)]
Document range restriction on bit values used in INTERVAL typmod.
Tom Lane [Tue, 23 Oct 2001 20:12:54 +0000 (20:12 +0000)]
Add support for INTERVAL's new typmod values to format_type.
Tom Lane [Tue, 23 Oct 2001 17:39:03 +0000 (17:39 +0000)]
Fix foreign keys on system columns.
Tom Lane [Tue, 23 Oct 2001 17:38:25 +0000 (17:38 +0000)]
Make SPI's column-accessing functions work for system columns as well as
user columns. Needed for foreign keys on OID, but useful in general.
Bruce Momjian [Tue, 23 Oct 2001 16:42:36 +0000 (16:42 +0000)]
Move ALL out of UNION|INTERSECT|EXCEPT syntax.
Alvaro Herrera
Bruce Momjian [Tue, 23 Oct 2001 02:52:19 +0000 (02:52 +0000)]
Update TODO list.
Bruce Momjian [Tue, 23 Oct 2001 02:51:35 +0000 (02:51 +0000)]
Update TODO list.
Bruce Momjian [Tue, 23 Oct 2001 02:50:41 +0000 (02:50 +0000)]
Now I had them reversed. Wow that syntax is error-prone.
Bruce Momjian [Tue, 23 Oct 2001 02:47:14 +0000 (02:47 +0000)]
Syntax fix. Can't use #ifdef in gram.y.
Bruce Momjian [Tue, 23 Oct 2001 02:45:37 +0000 (02:45 +0000)]
Back out LIMIT #,# removal and mark it as to-be-removed in 7.3.
Tom Lane [Tue, 23 Oct 2001 02:20:15 +0000 (02:20 +0000)]
Add error checking to PageRepairFragmentation to ensure that it can
never overwrite adjacent pages with copied data, even if page header
and/or item pointers are already corrupt. Change inspired by trouble
report from Alvaro Herrera.
Tom Lane [Mon, 22 Oct 2001 23:48:11 +0000 (23:48 +0000)]
Add note explaining that multiple prompts for a password are normal
behavior when password auth is used.
Tom Lane [Mon, 22 Oct 2001 22:49:02 +0000 (22:49 +0000)]
Cause transformIndexConstraints() to do the right thing with requests
for indexes on system columns. Per complaint from Peter.
Tom Lane [Mon, 22 Oct 2001 22:47:57 +0000 (22:47 +0000)]
Consolidate tables of known system attributes into one table.
Tom Lane [Mon, 22 Oct 2001 19:52:41 +0000 (19:52 +0000)]
Update for latest fixes.
Tom Lane [Mon, 22 Oct 2001 19:41:38 +0000 (19:41 +0000)]
Further cleanup of ps_status setup code. On platforms where the
environment strings need to be moved around, do so when called from
initial startup (main.c), not in init_ps_status. This eliminates the
former risk of invalidating saved environment-string pointers, since
no code has yet had a chance to grab any such pointers when main.c
is running.
Tom Lane [Mon, 22 Oct 2001 19:34:13 +0000 (19:34 +0000)]
Add defenses against invalid operator names passed in CREATE OPERATOR
arguments (where the parser doesn't check them already). Minor code
cleanups too.
Tom Lane [Mon, 22 Oct 2001 19:32:27 +0000 (19:32 +0000)]
Rebuild cached function definition after CREATE OR REPLACE FUNCTION.
Fix typlen-vs-typmod errors inherited from pltcl.
Tom Lane [Mon, 22 Oct 2001 19:31:09 +0000 (19:31 +0000)]
Generate correct syntax for DROP OPERATOR with unary operators.
Bruce Momjian [Mon, 22 Oct 2001 18:42:44 +0000 (18:42 +0000)]
Add ecpg items to HISTORY file.
Peter Eisentraut [Mon, 22 Oct 2001 18:14:47 +0000 (18:14 +0000)]
Make the CREATE TABLE ref page more readable and update some information.
Michael Meskes [Mon, 22 Oct 2001 17:05:56 +0000 (17:05 +0000)]
synced preproc.y with gram.y
Tom Lane [Sun, 21 Oct 2001 03:43:54 +0000 (03:43 +0000)]
Fix FindExec() for case where executable is found via a relative path
in .:/home/postgres/testversion/bin:/opt/perl5.6.1/bin:/home/postgres/bin:/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/CC/bin:/opt/langtools/bin:/opt/graphics/phigs/bin:/opt/java/bin:/bin:/opt/imake/bin:/opt/hparray/bin:/opt/aCC/bin:/opt/lrom/bin:/usr/local/nmh/bin:. (I suppose the only common case for this is '.').
Tom Lane [Sun, 21 Oct 2001 03:25:36 +0000 (03:25 +0000)]
Fix getopt-vs-init_ps_display problem by copying original argv[] info,
per suggestion from Peter. Simplify several APIs by transmitting the
original argv location directly from main.c to ps_status.c, instead of
passing it down through several levels of subroutines.
Tom Lane [Sat, 20 Oct 2001 17:57:39 +0000 (17:57 +0000)]
Revert change to autodetect '__getopt_initialized' variable ... turns
out glibc doesn't actually export this variable, so we need a different
solution.
Bruce Momjian [Sat, 20 Oct 2001 16:51:02 +0000 (16:51 +0000)]
Change LIMIT #,# error message to be more generic.
Bruce Momjian [Sat, 20 Oct 2001 02:55:39 +0000 (02:55 +0000)]
Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion.
Thomas G. Lockhart [Sat, 20 Oct 2001 01:02:22 +0000 (01:02 +0000)]
Fix transposed arguments for typmod for one INTERVAL production.
Mask both typmod subfields for INTERVAL to avoid setting the high bit,
per dire warning from Tom Lane.
Clear tmask for DTK_ISO_TIME case to avoid time zone troubles.
Symptom reported by Tom Lane.
Clean up checking for valid time zone info in output routine.
This should now work for both SQL99 and Unix-style time zones.
Put in explicit check for INTERVAL() typmod rounding to avoid accumulating
cruft in the lower bits. Not sure that this helps, but we'll need to do
something. The symptom is visible with a query like
select interval(2) '10000 days 01:02:03.040506';
Regression tests are patched to repair the Tom Lane symptom, and all pass.
Tom Lane [Fri, 19 Oct 2001 22:43:49 +0000 (22:43 +0000)]
Fix plperl to discard cached function definition after CREATE OR
REPLACE FUNCTION. Clean up typlen/typmod errors inherited from pltcl.