- 13 3月, 2000 7 次提交
-
-
由 Peter Eisentraut 提交于
psql script would be dropped silently.
-
由 Tom Lane 提交于
(ie, allow rounding to occur at a digit position left of the decimal point). Apparently this is how Oracle handles it, and there are precedents in other programming languages as well.
-
由 Tom Lane 提交于
Since we detect oversize tuples elsewhere, I see no reason not to allow string constants that are 'too long' --- after all, they might never get stored in a tuple at all.
-
由 Tom Lane 提交于
YY_READ_BUF_SIZE, which turns out to have nothing to do with buffer size. It's just a totally arbitrary upper limit on how much data myinput() is asked for at one time.
-
由 Tom Lane 提交于
set of SQL-standard type names that we accept.
-
由 Tom Lane 提交于
that the inputs to a given operator can be recursively simplified to constants, it was evaluating the operator using the op's *original* (unsimplified) arg list, so that any subexpressions had to be evaluated again. A constant subexpression at depth N got evaluated N times. Probably not very important in practical situations, but it made us look real slow in MySQL's 'crashme' test...
-
由 Tom Lane 提交于
fireRIRonSubselect was invoked twice at each subselect, leading to an exponential amount of wasted effort.
-
- 12 3月, 2000 4 次提交
-
-
由 Tom Lane 提交于
gone, replaced by plain a_expr. The few places where we needed to distinguish NULL from a_expr are now handled by tests inside the actions rather than by separate productions. This allows us to accept queries like 'SELECT 1 + NULL' without requiring parentheses around the NULL.
-
由 Tom Lane 提交于
subplan: do it if subplan has subplans itself, and always do it if the subplan is an indexscan. (I originally set it to materialize an indexscan only if the indexqual is fairly selective, but I dunno what I was thinking ... an unselective indexscan is still expensive ...)
-
由 Tom Lane 提交于
category STRING. Also, if UNKNOWNOID is passed in, return UNKNOWN_TYPE not USER_TYPE.
-
由 Tom Lane 提交于
coercion code. I'm beginning to wonder why we have separate candidate selection routines for functions, operators, and aggregates --- shouldn't this code all be unified? But meanwhile, SELECT 'a' LIKE 'a'; finally works; the code for dealing with unknown input types for operators was pretty busted.
-
- 11 3月, 2000 8 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Tom Lane 提交于
subPlans to be considered 'simple'. This fixes reported problem with 'return exists (select 1 from foo);' in plpgsql function.
-
由 Tom Lane 提交于
per pghackers discussion around 20-Feb. Also add specific error messages for unterminated comments and unterminated quoted strings. These things are nonissues for input coming from psql, but they do matter for input coming from other front ends.
-
由 Tom Lane 提交于
about thread-safeness of the library.
-
由 Tom Lane 提交于
array. This allows processing of conninfo strings to be made thread-safe, at the cost of a small memory leak in applications that use PQconndefaults() and are not updated to free the returned array via the new PQconninfoFree() function. But PQconndefaults() is probably not used very much, so this seems like a good compromise.
-
由 Tom Lane 提交于
error message.
-
由 Peter Eisentraut 提交于
-
由 Marc G. Fournier 提交于
make sure that cvslog is workign right ... no changes but to remove a blank line
-
- 10 3月, 2000 4 次提交
-
-
由 Michael Meskes 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 09 3月, 2000 9 次提交
-
-
由 Peter Eisentraut 提交于
Some corrections in installation procedure
-
由 Michael Meskes 提交于
-
由 Tom Lane 提交于
nodes. The former version failed to check permissions of relations that were referenced in second and later clauses of UNIONs, and it did not check permissions of tables referenced via inheritance.
-
由 Hiroshi Inoue 提交于
They are #ifdef'd. Add -D_DROP_COLUMN_HACK__ compile option to evaluate it.
-
由 Tom Lane 提交于
freed wholesale by AllocSetReset() is overwritten too.
-
由 Tom Lane 提交于
VACUUM.
-
由 Tom Lane 提交于
Isn't anybody paying attention to warnings around here?
-
由 Tom Lane 提交于
-
由 Bruce Momjian 提交于
The regression test script runcheck.sh doesn't seem able to handle the blank line on the end of the resultmap file. Here's a patch to remove it!! Keith.
-
- 08 3月, 2000 8 次提交
-
-
由 Bruce Momjian 提交于
1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
-
由 Bruce Momjian 提交于
Here's a patch to fix the " '.' not allowed in db path" problem I ran into. I removed '.' from the set of illegial characters, but added backtick. I also included an explicit test for attempting include a reference to a parent dir. How that? Ross
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
I try change prompt in the psql, but it is set '.' (as '%m') for non-TCP/IP connection. This small patch try use uname() information for non-TCP/IP instead '.'. Karel
-
由 Bruce Momjian 提交于
the to_char() source code is large, here are regression tests for numeric/timestamp/int8 part. It is probably enough test for formatting code in the formatting.c module. The others (float4/float8/int4) types share this formatting code and eventual bugs for these types aren't few probable. Patch fix timestamp_to_char() for infinity/invalid timestamp too. Karel
-
由 Bruce Momjian 提交于
field. cf. Tom Lane's <19021.950544016@sss.pgh.pa.us> 14 Feb hackers message. Cheers, Patrick Welche
-
由 Bruce Momjian 提交于
(Subj: [PORTS] initdb problem on NT with 7.0). Since nobody helped me, I had to find out the reson. The difference between NT and Linux (for instance) is that "open( path, O_RDWR );" opens a file in text mode. So sometime less block can be read than required. I suggest a following patch. BTW the situation appeared before, see hba.c, pqcomm.c and others. Alexei Zakharov
-
由 Tom Lane 提交于
parameters.
-