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
Tom Lane
c3cf68de6b
Fix latent bug in checking for failure of hashtable creation.
2001-12-03 19:02:58 +00:00
Bruce Momjian
1a88682d45
attachement is the NLS patch for backend/po & pg_dump,
...
they are all against the current CVS tree. the patch is about 70K.
regards laser
2001-12-03 18:43:21 +00:00
Tom Lane
18e4523829
Update IRIX geometry results to match newer MIPS FPUs, rather than
...
older ones. We really gotta get out of the business of matching every
last low-order bit in this test ...
2001-12-03 17:48:57 +00:00
Tom Lane
18ab41eeef
Add configure-time check whether sig_atomic_t is defined; if not,
...
provide a default definition equating it to 'int'. Should trigger only
on machines with pre-ANSI-C header files, eg SunOS 4.1.x.
2001-12-03 17:44:52 +00:00
Tom Lane
4ea2b8f556
Pg_lo_open must OR together multiple modes, not AND them. Per report
...
from Andreas Kretzer.
2001-12-03 14:49:46 +00:00
D'Arcy J.M. Cain
d75ed09b31
Bump version to 3.3. Mostly this is because there is some confusion about
...
the latest version and I wanted to make sure that there was a clean release.
I also change the build files as I discussed in my letter of Nov 6, 2001. At
the time I was asked to hold off until after the release.
2001-12-03 12:39:44 +00:00
Tom Lane
ae8a9b8a9f
Remove code to lookup WinSock error strings in netmsg.dll; according to
...
Magnus Hagander that DLL only contains error strings for the Net***
functions, *not* WinSock. We need to look for a workable solution for
older Windows flavors ... but it won't happen for PG 7.2.
2001-12-03 00:28:24 +00:00
Tom Lane
acf7aa6240
HPUX 11 should use geometry-solaris-precision, not geometry-positive-zeros
...
as is needed for HPUX 9 and 10.
2001-12-02 15:48:19 +00:00
Peter Eisentraut
15abc7788e
More correct way to check for existence of types, which allows to specify
...
which include files to consider. Should fix BeOS problems with int8 types.
2001-12-02 11:38:40 +00:00