]> granicus.if.org Git - postgresql/log
postgresql
23 years agoUpdate TODO list.
Bruce Momjian [Thu, 11 Oct 2001 16:35:50 +0000 (16:35 +0000)]
Update TODO list.

23 years agoRemove mention of "pg_result -list" becuase it is not implemented, per
Bruce Momjian [Thu, 11 Oct 2001 16:30:41 +0000 (16:30 +0000)]
Remove mention of "pg_result -list" becuase it is not implemented, per
Tatsuo.

23 years agoAdd support for ISO-8859-6 to 16
Tatsuo Ishii [Thu, 11 Oct 2001 14:20:35 +0000 (14:20 +0000)]
Add support for ISO-8859-6 to 16

23 years agoRemove gratuitous discrepancy between extract() and date_part(),
Peter Eisentraut [Wed, 10 Oct 2001 00:02:42 +0000 (00:02 +0000)]
Remove gratuitous discrepancy between extract() and date_part(),
regarding timezone_hour, timezone_minute vs. tz_hour, tz_minute.
Document the former.

23 years agoAllow optional () after current_user, session_user, user, current_time,
Peter Eisentraut [Tue, 9 Oct 2001 22:32:33 +0000 (22:32 +0000)]
Allow optional () after current_user, session_user, user, current_time,
current_timestamp, current_date for ODBC compatibility.

Add more functions to odbc.sql catalog extension, use new CREATE OR
REPLACE FUNCTION.

Document iODBC/unixODBC build options.

23 years agoThis patch fixes a bug introduced in the jdbc bytea support patch.
Barry Lind [Tue, 9 Oct 2001 20:47:35 +0000 (20:47 +0000)]
This patch fixes a bug introduced in the jdbc bytea support patch.
That patch broke the ability to read data from binary cursors.
--Barry Lind
 Modified Files:
  pgsql/src/interfaces/jdbc/org/postgresql/Connection.java
  pgsql/src/interfaces/jdbc/org/postgresql/ResultSet.java
  pgsql/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java
  pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java
  pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
  pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
  pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
  pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/UpdateableResultSet.java

23 years agoBunch of copy fitting and style sheet tweakage to get decent looking print
Peter Eisentraut [Tue, 9 Oct 2001 18:46:00 +0000 (18:46 +0000)]
Bunch of copy fitting and style sheet tweakage to get decent looking print
output (from pdfjadetex).  Also updated instructions to install documentation
processing toolchain.

23 years agoChange plpgsql compiler so that all elogs are trapped and a suitable
Tom Lane [Tue, 9 Oct 2001 15:59:56 +0000 (15:59 +0000)]
Change plpgsql compiler so that all elogs are trapped and a suitable
NOTICE added about error location (same method already used by plpgsql
executor).  Add checking of pg_proc row xmin/cmin to ensure that
plpgsql functions will be recompiled after they've been modified by
CREATE OR REPLACE FUNCTION.

23 years agoFix typo in error message. Noted by laser@zhengmai.com.cn.
Tom Lane [Tue, 9 Oct 2001 14:00:22 +0000 (14:00 +0000)]
Fix typo in error message.  Noted by laser@zhengmai.com.cn.

23 years agoCorrect some errors in plpgsql examples, as reported by Junichi Kobayasi.
Tom Lane [Tue, 9 Oct 2001 04:55:11 +0000 (04:55 +0000)]
Correct some errors in plpgsql examples, as reported by Junichi Kobayasi.

23 years agoChange plpgsql to depend on main parser's type-declaration grammar,
Tom Lane [Tue, 9 Oct 2001 04:15:38 +0000 (04:15 +0000)]
Change plpgsql to depend on main parser's type-declaration grammar,
rather than having its own somewhat half-baked notion of what a type
declaration looks like.  This is necessary now to ensure that plpgsql
will think a 'timestamp' variable has the same semantics as 'timestamp'
does in the main SQL grammar; and it should avoid divergences in future.

23 years agoAnother go-round with FigureColname, to produce less surprising results
Tom Lane [Mon, 8 Oct 2001 21:48:51 +0000 (21:48 +0000)]
Another go-round with FigureColname, to produce less surprising results
for nested typecasts.  It now produces a column header of 'timestamptz'
for 'SELECT CURRENT_TIMESTAMP', rather than 'text' as it was doing for
awhile there.

23 years agoFix transformExpr() to not scribble on its input datastructure while
Tom Lane [Mon, 8 Oct 2001 21:46:59 +0000 (21:46 +0000)]
Fix transformExpr() to not scribble on its input datastructure while
transforming CASE expressions.  This was definitely confusing
FigureColname, and might lead to bad things elsewhere as well.

23 years agoFix ruleutils to depend on format_type, rather than having a private
Tom Lane [Mon, 8 Oct 2001 19:55:07 +0000 (19:55 +0000)]
Fix ruleutils to depend on format_type, rather than having a private
copy of code that knows about displaying types with typmod info.
Needed so that it does the right thing with timestamp datatypes now.

23 years agoMake ALTER TABLE RENAME COLUMN update column names of indexes that
Tom Lane [Mon, 8 Oct 2001 18:40:04 +0000 (18:40 +0000)]
Make ALTER TABLE RENAME COLUMN update column names of indexes that
refer to the renamed column.  Brent Verner, with a little help from tgl.

23 years agoRemove redundant code, update comments, cause CURRENT_TIME to
Tom Lane [Mon, 8 Oct 2001 18:16:59 +0000 (18:16 +0000)]
Remove redundant code, update comments, cause CURRENT_TIME to
agree with CURRENT_TIME(n).

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 8 Oct 2001 17:10:11 +0000 (17:10 +0000)]
Update TODO list.

23 years ago Fix include file so library is binary compatible again.
Michael Meskes [Mon, 8 Oct 2001 08:08:42 +0000 (08:08 +0000)]
 Fix include file so library is binary compatible again.

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 8 Oct 2001 03:23:37 +0000 (03:23 +0000)]
Update TODO list.

23 years agoRearrange fmgr.c and relcache so that it's possible to keep FmgrInfo
Tom Lane [Sat, 6 Oct 2001 23:21:45 +0000 (23:21 +0000)]
Rearrange fmgr.c and relcache so that it's possible to keep FmgrInfo
lookup info in the relcache for index access method support functions.
This makes a huge difference for dynamically loaded support functions,
and should save a few cycles even for built-in ones.  Also tweak dfmgr.c
so that load_external_function is called only once, not twice, when
doing fmgr_info for a dynamically loaded function.  All per performance
gripe from Teodor Sigaev, 5-Oct-01.

23 years agoWhile playing around with trying to add foreign keys to the
Bruce Momjian [Sat, 6 Oct 2001 14:41:17 +0000 (14:41 +0000)]
While playing around with trying to add foreign keys to the
\d table display in psql, I noticed that tableinfo.triggers
is not used once it is set.

Greg Sabino Mullane

23 years agoFix shared library builds for MacOS X.
Peter Eisentraut [Fri, 5 Oct 2001 21:15:38 +0000 (21:15 +0000)]
Fix shared library builds for MacOS X.

23 years agoMove psql's zh_TW.po to the right place.
Peter Eisentraut [Fri, 5 Oct 2001 21:14:35 +0000 (21:14 +0000)]
Move psql's zh_TW.po to the right place.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 5 Oct 2001 20:43:09 +0000 (20:43 +0000)]
Update TODO list.

23 years agofiles attached are Traditional Chinese translations translated
Bruce Momjian [Fri, 5 Oct 2001 19:05:54 +0000 (19:05 +0000)]
files attached are Traditional Chinese translations translated
and modified from Simplified Chinese translations for backend,
pgsql, pg_dump and libpq. I've appended their names to zh_TW.po.

forth

23 years agoAttached is the updated version of the patch, which matches
Bruce Momjian [Fri, 5 Oct 2001 19:01:13 +0000 (19:01 +0000)]
Attached is the updated version of the patch, which matches
on words as opposed to lines, which means that all of the
following work in psql:

\d foo \d bar
\d foo; \d bar
\d foo \d bar;;
\d foo; <space>

This one also uses "true and false" and strips semicolons
for the following backslash commands: \C \c \d \e \i \o \s \z

Greg Sabino Mullane

23 years agoMake sure each call to ECPGraise is logged.
Michael Meskes [Fri, 5 Oct 2001 17:37:07 +0000 (17:37 +0000)]
Make sure each call to ECPGraise is logged.

23 years agoFurther cleanup of dynahash.c API, in pursuit of portability and
Tom Lane [Fri, 5 Oct 2001 17:28:13 +0000 (17:28 +0000)]
Further cleanup of dynahash.c API, in pursuit of portability and
readability.  Bizarre '(long *) TRUE' return convention is gone,
in favor of just raising an error internally in dynahash.c when
we detect hashtable corruption.  HashTableWalk is gone, in favor
of using hash_seq_search directly, since it had no hope of working
with non-LONGALIGNable datatypes.  Simplify some other code that was
made undesirably grotty by promixity to HashTableWalk.

23 years agoouput -> output
Bruce Momjian [Fri, 5 Oct 2001 15:50:11 +0000 (15:50 +0000)]
ouput -> output

Oliver Elphick

23 years ago> > I am quite sure that all AIX Versions accept the CLOBBER method,
Bruce Momjian [Fri, 5 Oct 2001 15:47:48 +0000 (15:47 +0000)]
> > I am quite sure that all AIX Versions accept the CLOBBER method,
> > thus I ask you to apply the following patch, to make it work.

Zeugswetter Andreas SB SD

23 years agoFixed typo in proproc.y
Michael Meskes [Fri, 5 Oct 2001 06:39:23 +0000 (06:39 +0000)]
Fixed typo in proproc.y

23 years agoDefine CEST as a synonym for Central European Savings Time
Thomas G. Lockhart [Fri, 5 Oct 2001 06:38:59 +0000 (06:38 +0000)]
Define CEST as a synonym for Central European Savings Time
 per Jan Varga <varga@utcru.sk>
Fix up spacing and formatting.

23 years agoImplement explicit date/time precision per SQL99 spec.
Thomas G. Lockhart [Fri, 5 Oct 2001 06:37:42 +0000 (06:37 +0000)]
Implement explicit date/time precision per SQL99 spec.
Use CAST() mechanism to define CURRENT_TIME and CURRENT_TIMESTAMP.

23 years agoDon't try to hack pg_description if not superuser. (Really want a
Tom Lane [Thu, 4 Oct 2001 22:39:34 +0000 (22:39 +0000)]
Don't try to hack pg_description if not superuser.  (Really want a
COMMENT ON LARGE OBJECT command instead, but no time for it now.)
Fix some code that would not work with OIDs > 2G.

23 years agoFinetuning for legalnotice in print output. Add some "ASCII markup" for
Peter Eisentraut [Thu, 4 Oct 2001 22:30:14 +0000 (22:30 +0000)]
Finetuning for legalnotice in print output.  Add some "ASCII markup" for
text output.

23 years agoFinetuning for better print formatting
Peter Eisentraut [Thu, 4 Oct 2001 22:28:44 +0000 (22:28 +0000)]
Finetuning for better print formatting

23 years agoReplace simplelists with itemizedlists for better formatting
Peter Eisentraut [Thu, 4 Oct 2001 22:27:58 +0000 (22:27 +0000)]
Replace simplelists with itemizedlists for better formatting

23 years agoRewording
Peter Eisentraut [Thu, 4 Oct 2001 22:27:18 +0000 (22:27 +0000)]
Rewording

23 years agoFix spacing to get proper URL formatting in print output
Peter Eisentraut [Thu, 4 Oct 2001 22:26:27 +0000 (22:26 +0000)]
Fix spacing to get proper URL formatting in print output

23 years agoHack for Jade vs TeX interpretation of "--"
Peter Eisentraut [Thu, 4 Oct 2001 22:25:48 +0000 (22:25 +0000)]
Hack for Jade vs TeX interpretation of "--"

23 years agoConsider interpreting a function call as a trivial (binary-compatible)
Tom Lane [Thu, 4 Oct 2001 22:06:46 +0000 (22:06 +0000)]
Consider interpreting a function call as a trivial (binary-compatible)
type coercion after failing to find an exact match in pg_proc, but before
considering interpretations that involve a function call with one or
more argument type coercions.  This avoids surprises wherein what looks
like a type coercion is interpreted as coercing to some third type and
then to the destination type, as in Dave Blasby's bug report of 3-Oct-01.
See subsequent discussion in pghackers.

23 years agoOoops, I was a little too enthusiastic about suppressing default
Tom Lane [Thu, 4 Oct 2001 22:00:10 +0000 (22:00 +0000)]
Ooops, I was a little too enthusiastic about suppressing default
index opclasses; they might be default for some other datatype,
in which case we mustn't suppress 'em.

23 years agoPlug memory leaks introduced by dynamic-search-path changes.
Tom Lane [Thu, 4 Oct 2001 19:13:55 +0000 (19:13 +0000)]
Plug memory leaks introduced by dynamic-search-path changes.
From Teodor Sigaev.

23 years agoMake the world safe for atttypmod=0 ... this didn't use to mean anything,
Tom Lane [Thu, 4 Oct 2001 17:52:24 +0000 (17:52 +0000)]
Make the world safe for atttypmod=0 ... this didn't use to mean anything,
but timestamp now wants it to mean something.

23 years agoMake current_time deliver a fractional-second answer.
Tom Lane [Thu, 4 Oct 2001 17:10:11 +0000 (17:10 +0000)]
Make current_time deliver a fractional-second answer.

23 years agoelog command need to use unicode conversion too.
Bruce Momjian [Thu, 4 Oct 2001 15:48:37 +0000 (15:48 +0000)]
elog command need to use unicode conversion too.

Vsevolod Lobko

23 years ago This patch adds reporting of tcl global variable errorInfo
Bruce Momjian [Thu, 4 Oct 2001 15:47:41 +0000 (15:47 +0000)]
  This patch adds reporting of tcl global variable errorInfo
which contains stack trace.
  One problem, after this patch errors will generate multiline ERROR
messages. Is it acceptable or do I need split it and generate multiple
singleline messages?

Vsevolod Lobko

23 years agoAttached is a patch which deals with
Bruce Momjian [Thu, 4 Oct 2001 15:46:49 +0000 (15:46 +0000)]
Attached is a patch which deals with

select 'id' as xxx from table

The issue is:

When the driver gets a data type which does not map into the SQL.Types
it attempts to load the object into a java object. Eventually throwing
an exception indicating that the type "unknown" was not found.

Since the backend defaults "unknown" types to text it was suggested that
the jdbc driver do the same.

This patch does just that.

I have tested it on the above select statement as well as a small
program that serializes, and deserializes a class

Dave Cramer

23 years agoUsing strtol() on int8 values (input parameters or result sets) in
Bruce Momjian [Thu, 4 Oct 2001 15:45:49 +0000 (15:45 +0000)]
Using strtol() on int8 values (input parameters or result sets) in
plpython would result in numeric overflows causing the backend to
terminate abruptly.

This patch fixes it.

Bradley McLean

23 years ago I've just finished the Chinese NLS support(zh_CN part) files
Bruce Momjian [Thu, 4 Oct 2001 15:44:14 +0000 (15:44 +0000)]
I've just finished the Chinese NLS support(zh_CN part) files
translation,
    the attachement is those four files.
   (.tar.gz file, with the directory, root is $PGSRC).
    Tested on some Linux platform.

Weiping He

23 years ago 1. Implemented binary search in array
Bruce Momjian [Thu, 4 Oct 2001 15:41:14 +0000 (15:41 +0000)]
1. Implemented binary search in array

Oleg Bartunov

23 years agoAttached please find an initiation of the
Bruce Momjian [Thu, 4 Oct 2001 15:38:28 +0000 (15:38 +0000)]
Attached please find an initiation of the
NLS effort for the 'postgresql' component.
It includes 'ru.po', which should be added
to /src/backend/po/ and a typical patch for
nls.mk with the 'ru' entry added in
the AVAIL_LANGUAGES.

I'll submit a patch with more translations
for pg_dump once CVSweb becomes available.
CVSweb for me right now is the only way
to get to the source code until my system
is completely setup by the end of the week.

--
Serguei A. Mokhov

23 years agoRemove ChangeLog. No one has defended its existence, and a few people
Bruce Momjian [Thu, 4 Oct 2001 15:28:33 +0000 (15:28 +0000)]
Remove ChangeLog.  No one has defended its existence, and a few people
want it removed.

23 years agoAdjustTimeForTypmod has the same bug ...
Tom Lane [Thu, 4 Oct 2001 15:14:22 +0000 (15:14 +0000)]
AdjustTimeForTypmod has the same bug ...

23 years agoMake regress tests safe for variable-resolution timestamps.
Tom Lane [Thu, 4 Oct 2001 14:51:06 +0000 (14:51 +0000)]
Make regress tests safe for variable-resolution timestamps.

23 years agoFix some problems in new variable-resolution-timestamp code.
Tom Lane [Thu, 4 Oct 2001 14:49:57 +0000 (14:49 +0000)]
Fix some problems in new variable-resolution-timestamp code.

23 years agoChange some 7.2 mentions to version macro.
Bruce Momjian [Thu, 4 Oct 2001 04:46:43 +0000 (04:46 +0000)]
Change some 7.2 mentions to version macro.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 4 Oct 2001 04:24:24 +0000 (04:24 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 4 Oct 2001 04:23:13 +0000 (04:23 +0000)]
Update TODO list.

23 years agoAdd dependency for regexec.c
Tatsuo Ishii [Thu, 4 Oct 2001 04:16:16 +0000 (04:16 +0000)]
Add dependency for regexec.c

23 years agoAdd dependency for like.c
Tatsuo Ishii [Thu, 4 Oct 2001 04:13:40 +0000 (04:13 +0000)]
Add dependency for like.c

23 years agoOptimization for single byte encodings.
Tatsuo Ishii [Thu, 4 Oct 2001 02:15:47 +0000 (02:15 +0000)]
Optimization for single byte encodings.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 22:27:58 +0000 (22:27 +0000)]
Update TODO list.

23 years agoConsistently use gcc's __attribute__((format)) to check sprintf-style
Tom Lane [Wed, 3 Oct 2001 21:58:28 +0000 (21:58 +0000)]
Consistently use gcc's __attribute__((format)) to check sprintf-style
format strings wherever possible.  Remarkably, this exercise didn't
turn up any inconsistencies, but it seems a good idea for the future.

23 years agoDROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
Tom Lane [Wed, 3 Oct 2001 20:54:22 +0000 (20:54 +0000)]
DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
'aggname (aggtype)'.  The old syntax 'aggname aggtype' is still accepted
for backwards compatibility.  Fix pg_dump, which was actually broken for
most cases of user-defined aggregates.  Clean up error messages associated
with these commands.

23 years agoUpdate error message wording for format_type change.
Tom Lane [Wed, 3 Oct 2001 19:24:36 +0000 (19:24 +0000)]
Update error message wording for format_type change.

23 years agoRemove no-longer-used macros.
Tom Lane [Wed, 3 Oct 2001 19:18:42 +0000 (19:18 +0000)]
Remove no-longer-used macros.

23 years agoUpdate incorrect expected file. Use 'timestamp without time zone'
Tom Lane [Wed, 3 Oct 2001 18:39:12 +0000 (18:39 +0000)]
Update incorrect expected file.  Use 'timestamp without time zone'
datatype in test, to try to avoid any dependency on local time zone.

23 years agoUpdate for GIST.
Bruce Momjian [Wed, 3 Oct 2001 18:38:06 +0000 (18:38 +0000)]
Update for GIST.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 18:36:03 +0000 (18:36 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 18:35:41 +0000 (18:35 +0000)]
Update TODO list.

23 years agoTeach format_type about time/timestamp precision, so that pg_dump and
Tom Lane [Wed, 3 Oct 2001 18:32:42 +0000 (18:32 +0000)]
Teach format_type about time/timestamp precision, so that pg_dump and
psql's \d option work properly.

23 years agoAdd missing TIMESTAMPTZ case.
Tom Lane [Wed, 3 Oct 2001 18:25:59 +0000 (18:25 +0000)]
Add missing TIMESTAMPTZ case.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 17:38:41 +0000 (17:38 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 17:38:13 +0000 (17:38 +0000)]
Update TODO list.

23 years agoSome further kibitzing on cachability of datetime functions.
Tom Lane [Wed, 3 Oct 2001 17:22:05 +0000 (17:22 +0000)]
Some further kibitzing on cachability of datetime functions.
In particular, mark all I/O functions that can produce or consume
a date as noncachable, in light of existence of DateStyle variable.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 3 Oct 2001 16:05:43 +0000 (16:05 +0000)]
Update TODO list.

23 years agoUpdate for latest regression tests.
Tom Lane [Wed, 3 Oct 2001 15:51:48 +0000 (15:51 +0000)]
Update for latest regression tests.

23 years agoAdjustTimestampForTypmod does not work (at least not portably) on
Tom Lane [Wed, 3 Oct 2001 15:50:48 +0000 (15:50 +0000)]
AdjustTimestampForTypmod does not work (at least not portably) on
-infinity and +infinity.  Put TIMESTAMP_NOT_FINITE guard into the routine,
instead of forgetting it at some call sites.  Fixes regression test
failures here.

23 years agoNeatnik fetishism.
Tom Lane [Wed, 3 Oct 2001 15:42:12 +0000 (15:42 +0000)]
Neatnik fetishism.

23 years agoImplement precision support for timestamp and time, both with and without
Thomas G. Lockhart [Wed, 3 Oct 2001 05:29:27 +0000 (05:29 +0000)]
Implement precision support for timestamp and time, both with and without
 time zones.
SQL99 spec requires a default of zero (round to seconds) which is set
 in gram.y as typmod is set in the parse tree. We *could* change to a
 default of either 6 (for internal compatibility with previous versions)
 or 2 (for external compatibility with previous versions).
Evaluate entries in pg_proc wrt the iscachable attribute for timestamp and
 other date/time types. Try to recognize cases where side effects like the
 current time zone setting may have an effect on results to decide whether
 something is cachable or not.

23 years agoMinor fixup in spacing for tabular information.
Thomas G. Lockhart [Wed, 3 Oct 2001 05:24:22 +0000 (05:24 +0000)]
Minor fixup in spacing for tabular information.

23 years agoFix up bad indenting in a few places.
Thomas G. Lockhart [Wed, 3 Oct 2001 05:23:12 +0000 (05:23 +0000)]
Fix up bad indenting in a few places.

23 years agoTweak to test HAVE_GETOPT_H before including <getopt.h>, so as to
Tom Lane [Tue, 2 Oct 2001 22:38:43 +0000 (22:38 +0000)]
Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as to
build on systems without.

23 years agoAdd CREATE OR REPLACE FUNCTION syntax to allow replacing a function
Tom Lane [Tue, 2 Oct 2001 21:39:36 +0000 (21:39 +0000)]
Add CREATE OR REPLACE FUNCTION syntax to allow replacing a function
definition without changing the function's OID, thereby not breaking
rules, views, triggers, etc that depend on it.  From Gavin Sherry.

23 years agoUpdated URLs.
Vince Vielhaber [Tue, 2 Oct 2001 14:21:26 +0000 (14:21 +0000)]
Updated URLs.

23 years agoRe-added Tom's patch fixing my setlocale patch. I accidently
Michael Meskes [Tue, 2 Oct 2001 14:08:28 +0000 (14:08 +0000)]
Re-added Tom's patch fixing my setlocale patch. I accidently
deleted it.

23 years agoUpdate TODO list.
Bruce Momjian [Tue, 2 Oct 2001 01:21:16 +0000 (01:21 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Tue, 2 Oct 2001 01:20:46 +0000 (01:20 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Tue, 2 Oct 2001 01:20:14 +0000 (01:20 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Tue, 2 Oct 2001 01:20:05 +0000 (01:20 +0000)]
Update TODO list.

23 years agoRevise shmget() and semget() failure messages to mention the possibility
Tom Lane [Mon, 1 Oct 2001 23:26:55 +0000 (23:26 +0000)]
Revise shmget() and semget() failure messages to mention the possibility
of coping by reducing shared_buffers/max_connections settings.

23 years agoFix typo (block size is 8 kB not 8192 kB).
Tom Lane [Mon, 1 Oct 2001 22:44:31 +0000 (22:44 +0000)]
Fix typo (block size is 8 kB not 8192 kB).

23 years agoFix wording.
Bruce Momjian [Mon, 1 Oct 2001 21:47:24 +0000 (21:47 +0000)]
Fix wording.

23 years agoChange pg_dump to produce CREATE INDEX commands by using the backend's
Tom Lane [Mon, 1 Oct 2001 21:31:52 +0000 (21:31 +0000)]
Change pg_dump to produce CREATE INDEX commands by using the backend's
pg_get_indexdef() function, rather than reaching into the system catalogs
for itself.  This eliminates a fair amount of redundant code.  Also,
since I just changed pg_get_indexdef() to suppress display of default
index opclasses, this will mean that 7.2 and later dumps will not mention
opclasses unless they are non-default opclasses.  Should make life easier
for future index opclass reorganizations.

23 years agoExtend pg_get_indexdef() to know about index predicates. Also, tweak
Tom Lane [Mon, 1 Oct 2001 20:15:26 +0000 (20:15 +0000)]
Extend pg_get_indexdef() to know about index predicates.  Also, tweak
it to suppress index opclass output for opclasses that are the default
for their datatype; only non-default opclasses are shown explicitly.
This is expected to improve portability of the CREATE INDEX command
across future versions of Postgres --- we've changed index opclasses
too often in the past to think we won't do so again.

23 years agoMake inclusion logic for sys/sem.h and sys/ipc.h consistent across all
Tom Lane [Mon, 1 Oct 2001 18:16:35 +0000 (18:16 +0000)]
Make inclusion logic for sys/sem.h and sys/ipc.h consistent across all
the files that need them.  Per trouble report from Teodor.

23 years agoFix a couple of stray // comments.
Tom Lane [Mon, 1 Oct 2001 17:53:12 +0000 (17:53 +0000)]
Fix a couple of stray // comments.

23 years agoAdd sys/types.h for FreeBSD compile.
Bruce Momjian [Mon, 1 Oct 2001 17:52:34 +0000 (17:52 +0000)]
Add sys/types.h for FreeBSD compile.

Teodor Sigaev

23 years agoUpdate docs for 7.2 mention where appropriate.
Bruce Momjian [Mon, 1 Oct 2001 17:46:46 +0000 (17:46 +0000)]
Update docs for 7.2 mention where appropriate.