Tom Lane
ba8d7ac8e9
Select proper geometry comparison file for freebsd/alpha.
...
Per report from Christopher Kings-Lynne.
2001-12-21 03:03:55 +00:00
Bruce Momjian
8799d84603
Add memcmp() test and new memcmp.c file, for SunOS. Tested by Tatsuo.
2001-12-20 21:23:05 +00:00
Tatsuo Ishii
960f6a5fdf
Fix for SunOS4 horology test
2001-12-20 04:25:00 +00:00
Bruce Momjian
48aa2dbe61
MIN() -> Min, fixes compile problem.
2001-12-20 02:39:26 +00:00
Tom Lane
8647c14228
Fix buffer-overrun problem in pretty printer.
2001-12-19 22:35:35 +00:00
Tom Lane
9aa2e7da51
Temporarily dike out GetUndoRecPtr() in checkpoint generation, since we
...
do not use the undo pointer anyway. This is a quick-hack solution for
the three-way deadlock condition discussed in pghackers 17-Dec-01.
Need to find a better way of doing it.
2001-12-19 19:42:51 +00:00
Tom Lane
14e1270579
Tweak to make freebsd/alpha use the correct float8 comparison file.
2001-12-19 17:25:55 +00:00
Tom Lane
de59370844
Make sure that all variants of HeapTupleSatisfies will do the right thing
...
if presented with a tuple in process of being moved by VACUUM. Per
bug report from Brian Hirt.
2001-12-19 17:18:39 +00:00
Bruce Momjian
e71493300c
Move geqo enable into proper section.
2001-12-17 19:09:01 +00:00
Bruce Momjian
f3292901b9
More comment for libpgeasy.
2001-12-14 02:15:04 +00:00
Bruce Momjian
2e05d3ecdb
Fix double-memory free in libpgeasy; problem introduced yesterday.
2001-12-14 00:52:53 +00:00
Bruce Momjian
bdafb40077
Clean up comment in libpgeasy.
2001-12-14 00:40:31 +00:00
Peter Eisentraut
3aaaf5aeee
Add Swedish
2001-12-13 22:06:33 +00:00
Peter Eisentraut
cfe88fdf4b
update
2001-12-13 22:04:40 +00:00
Peter Eisentraut
d159952304
Update from Serguei Mokhov
2001-12-13 22:04:12 +00:00
Peter Eisentraut
2adce49615
Update Hungarian from Kovacs Zoltan
2001-12-13 22:02:20 +00:00
Peter Eisentraut
60e42602a0
revert last change
2001-12-13 18:39:04 +00:00
Bruce Momjian
ba578ae667
Free libpgeasy result structure on database close; fixed memory leak.
2001-12-13 09:40:18 +00:00
Tom Lane
990eb8552e
Don't accept names of complex types (ie, relation types) as being
...
requests for implicit trivial coercions. Prevents sillinesses like
this one:
regression=# select x.int8_tbl.q1 from int8_tbl x;
ERROR: fmgr_info: function 270997776: cache lookup failed
2001-12-12 03:28:49 +00:00
Barry Lind
3dd85bcb08
Applied patch from Thomas O'Dowd that fixes timestamp parsing. The jdbc code
...
wasn't updated to handle more than two decimal digits for fractional seconds
that now are possible in 7.2. This patch fixes the timestamp parsing logic.
I have built and tested on both jdbc1 and jdbc2.
2001-12-11 04:48:05 +00:00
Barry Lind
45a6343ebb
Patch from Ned Wolpert that fixes a bug that caused the cache of types not
...
to be used, causing extra sql statements to be executed. This was a
significant performance problem with the database meta data classes.
The fix is a simple one liner.
2001-12-11 04:44:23 +00:00
Tom Lane
4433eb1dff
Make sure that inlined S_UNLOCK is marked as an update of a 'volatile'
...
object. This should prevent the compiler from reordering loads and stores
into or out of a critical section.
2001-12-11 02:58:49 +00:00
Tom Lane
07009651ce
Repair roundoff-error problem for stddev/variance results near zero,
...
per complaint from Kemin Zhou.
Fix lack of precision in numeric stddev/variance.
2001-12-11 02:02:12 +00:00
Tom Lane
63cc56de54
Suppress subquery pullup and pushdown when the subquery has any
...
set-returning functions in its target list. This ensures that we
won't rewrite the query in a way that places set-returning functions
into quals (WHERE clauses). Cf. bug reports from Joe Conway.
2001-12-10 22:54:12 +00:00
Tom Lane
584f818bef
Declare LWLock pointers as volatile to prevent AIX compiler from
...
reordering operations at its whim. Releasing TAS lock before we've
finished updating proc structure is uncool.
2001-12-10 21:13:50 +00:00
Peter Eisentraut
53016fa55c
Update from Weiping He
2001-12-10 18:45:57 +00:00
Peter Eisentraut
356c02b262
Update from Serguei Mokhov
2001-12-10 18:44:44 +00:00
Tom Lane
4e65c89fc3
AIX 5 needs same resultmap tweaks as AIX 4.
2001-12-10 16:31:23 +00:00
Tom Lane
f3f8499bc0
Repair case-conversion error in to_date's handling of roman numerals.
...
From Manuel Sugawara, approved by Karel Zak.
2001-12-10 15:34:05 +00:00
Michael Meskes
0a7a8256b8
committed the missing files
2001-12-10 14:55:47 +00:00
Peter Eisentraut
3f1d142c59
Add French translation
2001-12-10 13:03:55 +00:00
Peter Eisentraut
e2024ec6f0
update
2001-12-10 13:03:12 +00:00
Thomas G. Lockhart
9ed2ac291b
Remove duplicate lines from previous patch attempt. Trouble with my
...
DSL line at home broke things right in the middle of an update. :(
2001-12-10 00:11:06 +00:00
Thomas G. Lockhart
abbd64cddf
Support ODBC-style CURRENT_TIME, CURRENT_USER, etc with trailing empty
...
parens. This is not SQL spec syntax, so later we will remove
this extension from gram.y.
2001-12-10 00:01:14 +00:00
Michael Meskes
a4420c4970
Fixed several bugs concerning indicators and added error messages instead of segfaults.
2001-12-09 15:27:49 +00:00
Thomas G. Lockhart
eda51264c8
Allow variable (unrestricted) precision for TIME and TIMESTAMP types in parser.
2001-12-09 04:39:39 +00:00
Thomas G. Lockhart
cd8b354971
Honor the typmod field for time zone intervals.
2001-12-09 04:37:50 +00:00
Michael Meskes
d6fbb10556
Fix ecpg to allow pointer to structs.
2001-12-08 20:43:35 +00:00
Michael Meskes
9992f2b104
- Removed debug message from preproc.y.
...
- Fixed some bugs in exec sql var and exec sql type command.
2001-12-06 14:46:20 +00:00
Michael Meskes
ee14711ce8
- Fixed variable handling in AT statement.
...
- Fixed bug that caused segfault when given incorrect DB name.
- Fixed bug in ecpglib causing indicator to list the size of the
variable instead of the size of the data.
2001-12-05 15:32:07 +00:00
Tatsuo Ishii
2b714fd66e
Fix for usage of spirntf in more portable way.
2001-12-05 02:06:19 +00:00
Tatsuo Ishii
9f8ff2ab5a
Re-enable SunOS4 port. Replace
...
RTLD_LAZY | RTLD_GLOBAL to 1.
It seems sunos4.h was accidentally modified between 7.1 and 7.2.
2001-12-05 02:03:59 +00:00
Tom Lane
969cc16c69
Enforce restriction that COPY DELIMITERS string must be exactly one
...
character; replace strchr() search with simple comparison to speed up
COPY IN. Per discussion in pghackers.
2001-12-04 21:19:57 +00:00
Tom Lane
a0734d1eb1
Change appendStringInfoChar to appendStringInfoCharMacro in a couple of
...
hot spots --- buys about 10% in Verner's INSERT example.
2001-12-04 20:57:22 +00:00
Tom Lane
f4bd04bb67
Replace pq_getbytes(&ch, 1) calls with pq_getbyte(), which is easier
...
to use and significantly faster. This tweak saves 25% (!) of the runtime
of COPY IN in a test with 8000-character lines. I wouldn't normally
commit a performance improvement this late in the cycle, but 25% got
my attention...
2001-12-04 19:40:17 +00:00
Tom Lane
dae887abfe
Remove now-dead code for processing CONSTR_UNIQUE nodes in
...
AlterTableAddConstraint. Earlier reorganization of the parser's
processing of ALTER TABLE means that these node types no longer get here.
2001-12-04 17:19:48 +00:00
Bruce Momjian
1af6761207
Hi Bruce, here is a first version of the hu.po file for the backend. I
...
tested it with 7.2b3 and worked fine.
Regards, Zoltan
2001-12-04 17:00:51 +00:00
Tom Lane
0e9e888ebd
Suppress data directory access-permissions check when __CYGWIN__,
...
per recent pghackers discussions. Improving this should be a TODO
for 7.3.
2001-12-04 16:17:48 +00:00
Michael Meskes
388008cdd7
Fixed dumping of structs without indicators.
2001-12-04 12:33:15 +00:00
Peter Eisentraut
a3cef00dd6
Update to get around backslash problems
2001-12-03 19:56:43 +00:00