summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-10-08 Fix include file so library is binary compatible again.Michael Meskes
2001-10-06Rearrange fmgr.c and relcache so that it's possible to keep FmgrInfoTom Lane
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.
2001-10-06While playing around with trying to add foreign keys to theBruce Momjian
\d table display in psql, I noticed that tableinfo.triggers is not used once it is set. Greg Sabino Mullane
2001-10-05Fix shared library builds for MacOS X.Peter Eisentraut
2001-10-05Move psql's zh_TW.po to the right place.Peter Eisentraut
2001-10-05files attached are Traditional Chinese translations translatedBruce Momjian
and modified from Simplified Chinese translations for backend, pgsql, pg_dump and libpq. I've appended their names to zh_TW.po. forth
2001-10-05Attached is the updated version of the patch, which matchesBruce Momjian
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
2001-10-05Make sure each call to ECPGraise is logged.Michael Meskes
2001-10-05Further cleanup of dynahash.c API, in pursuit of portability andTom Lane
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.
2001-10-05> > I am quite sure that all AIX Versions accept the CLOBBER method,Bruce Momjian
> > thus I ask you to apply the following patch, to make it work. Zeugswetter Andreas SB SD
2001-10-05Fixed typo in proproc.yMichael Meskes
2001-10-05Define CEST as a synonym for Central European Savings TimeThomas G. Lockhart
per Jan Varga <varga@utcru.sk> Fix up spacing and formatting.
2001-10-05Implement explicit date/time precision per SQL99 spec.Thomas G. Lockhart
Use CAST() mechanism to define CURRENT_TIME and CURRENT_TIMESTAMP.
2001-10-04Don't try to hack pg_description if not superuser. (Really want aTom Lane
COMMENT ON LARGE OBJECT command instead, but no time for it now.) Fix some code that would not work with OIDs > 2G.
2001-10-04Consider interpreting a function call as a trivial (binary-compatible)Tom Lane
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.
2001-10-04Ooops, I was a little too enthusiastic about suppressing defaultTom Lane
index opclasses; they might be default for some other datatype, in which case we mustn't suppress 'em.
2001-10-04Plug memory leaks introduced by dynamic-search-path changes.Tom Lane
From Teodor Sigaev.
2001-10-04Make the world safe for atttypmod=0 ... this didn't use to mean anything,Tom Lane
but timestamp now wants it to mean something.
2001-10-04Make current_time deliver a fractional-second answer.Tom Lane
2001-10-04elog command need to use unicode conversion too.Bruce Momjian
Vsevolod Lobko
2001-10-04 This patch adds reporting of tcl global variable errorInfoBruce Momjian
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
2001-10-04Attached is a patch which deals withBruce Momjian
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
2001-10-04Using strtol() on int8 values (input parameters or result sets) inBruce Momjian
plpython would result in numeric overflows causing the backend to terminate abruptly. This patch fixes it. Bradley McLean
2001-10-04 I've just finished the Chinese NLS support(zh_CN part) filesBruce Momjian
translation, the attachement is those four files. (.tar.gz file, with the directory, root is $PGSRC). Tested on some Linux platform. Weiping He
2001-10-04Attached please find an initiation of theBruce Momjian
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
2001-10-04AdjustTimeForTypmod has the same bug ...Tom Lane
2001-10-04Make regress tests safe for variable-resolution timestamps.Tom Lane
2001-10-04Fix some problems in new variable-resolution-timestamp code.Tom Lane
2001-10-04Add dependency for regexec.cTatsuo Ishii
2001-10-04Add dependency for like.cTatsuo Ishii
2001-10-04Optimization for single byte encodings.Tatsuo Ishii
2001-10-03Consistently use gcc's __attribute__((format)) to check sprintf-styleTom Lane
format strings wherever possible. Remarkably, this exercise didn't turn up any inconsistencies, but it seems a good idea for the future.
2001-10-03DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntaxTom Lane
'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.
2001-10-03Update error message wording for format_type change.Tom Lane
2001-10-03Remove no-longer-used macros.Tom Lane
2001-10-03Teach format_type about time/timestamp precision, so that pg_dump andTom Lane
psql's \d option work properly.
2001-10-03Add missing TIMESTAMPTZ case.Tom Lane
2001-10-03Some further kibitzing on cachability of datetime functions.Tom Lane
In particular, mark all I/O functions that can produce or consume a date as noncachable, in light of existence of DateStyle variable.
2001-10-03Update for latest regression tests.Tom Lane
2001-10-03AdjustTimestampForTypmod does not work (at least not portably) onTom Lane
-infinity and +infinity. Put TIMESTAMP_NOT_FINITE guard into the routine, instead of forgetting it at some call sites. Fixes regression test failures here.
2001-10-03Neatnik fetishism.Tom Lane
2001-10-03Implement precision support for timestamp and time, both with and withoutThomas G. Lockhart
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.
2001-10-03Fix up bad indenting in a few places.Thomas G. Lockhart
2001-10-02Add CREATE OR REPLACE FUNCTION syntax to allow replacing a functionTom Lane
definition without changing the function's OID, thereby not breaking rules, views, triggers, etc that depend on it. From Gavin Sherry.
2001-10-02Re-added Tom's patch fixing my setlocale patch. I accidentlyMichael Meskes
deleted it.
2001-10-01Revise shmget() and semget() failure messages to mention the possibilityTom Lane
of coping by reducing shared_buffers/max_connections settings.
2001-10-01Change pg_dump to produce CREATE INDEX commands by using the backend'sTom Lane
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.
2001-10-01Extend pg_get_indexdef() to know about index predicates. Also, tweakTom Lane
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.
2001-10-01Make inclusion logic for sys/sem.h and sys/ipc.h consistent across allTom Lane
the files that need them. Per trouble report from Teodor.
2001-10-01Fix a couple of stray // comments.Tom Lane