- Dec 31, 1999
-
-
Tom Lane authored
<= and >= indexquals from a LIKE even if the index in question didn't support those operators. (As, for example, a hash index does not.)
-
Tom Lane authored
-
Tom Lane authored
sequence doesn't exist.
-
Tom Lane authored
during InitProcessingMode and the CurrentTransactionState was neither TRANS_DEFAULT nor TRANS_DISABLED. Unfortunately, after someone's recent change to start the transaction manager earlier in startup than it used to be started, that caused an abort() and consequent database system reset on quite harmless errors (such as rejecting an invalid user name!). As far as I can see, the test on CurrentTransactionState was completely useless anyway, so I've removed it.
-
- Dec 30, 1999
-
-
Tom Lane authored
relcache entry no longer leaks a small amount of memory. index_endscan now releases all the memory acquired by index_beginscan, so callers of it should NOT pfree the scan descriptor anymore.
-
- Dec 29, 1999
-
-
Bruce Momjian authored
by subselect used as expression."
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Dec 28, 1999
-
-
Jan Wieck authored
Jan
-
- Dec 26, 1999
-
-
Tom Lane authored
not BLCKSZ/2 as some of us thought. Add check for oversize item so that failure is detected before corrupting the index, not after.
-
- Dec 24, 1999
-
-
Tom Lane authored
SELECT null::text; SELECT int4fac(null); work as expected now. In some cases a NULL must be surrounded by parentheses: SELECT 2 + null; fails SELECT 2 + (null); OK This is a grammatical ambiguity that seems difficult to avoid. Other than that, NULLs seem to behave about like you'd expect. The internal implementation is that NULL constants are typed as UNKNOWN (like untyped string constants) until the parser can deduce the right type.
-
- Dec 22, 1999
-
-
Hiroshi Inoue authored
to live in a transaction before access to db during backend startup.
-
- Dec 21, 1999
-
-
Jan Wieck authored
Jan
-
Bruce Momjian authored
with DEC C. DEC C doesn't handle double values greater than DBL_MAX, but some PostgreSQL geo functions assign greater than DBL_MAX values to some vars in some special cases - that couses SIGFPE. I dunno if that is the only place to fix to work well with DEC C. Kirill Nosov.
-
Jan Wieck authored
in regression tests. Jan
-
- Dec 20, 1999
-
-
Jan Wieck authored
Jan
-
Tom Lane authored
rather than returning a NaN for bogus input to pow(). Namely, HPUX 10.20. I think this is sufficient evidence for what I thought all along, which is that the float.c code *must* look at errno whether finite() exists or not.
-
Tom Lane authored
-
Tom Lane authored
what a header file is for :-(
-
- Dec 17, 1999
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Thomas G. Lockhart authored
Somehow got bracketed with #ifdef NOT_USED instead.
-
Bruce Momjian authored
-
- Dec 16, 1999
-
-
Jan Wieck authored
Jan
-
Bruce Momjian authored
>go about this. That will risk breaking existing applications that use >those names as column names. > >It should actually almost work to write sq.nextval as things stand, >because Postgres has for a long time considered table.function and >function(table) to be interchangeable notations for certain kinds of >functions. nextval doesn't seem to be one of that kind of function, >at the moment. I'd suggest leaving the grammar as it was, and taking a >look at ParseFuncOrColumn in parse_func.c to see if you can't persuade >it to accept the sequence functions in that style. OK, good point. I tried to implement it somewhere else and ended up extending transformAttr. Attached you'll find the patch. Jeroen van Vianen
-
Bruce Momjian authored
didn't have time for documentation yet, but I'll write some. There are still some things to work out what happens when you alter or drop users, but the group stuff in and by itself is done. -- Peter Eisentraut Sernanders väg 10:115
-
Bruce Momjian authored
-
Bruce Momjian authored
equality. The lobits macro is wrong and extracts the wrong set of bits out of the structure. To exhibit the problem: select '000000:000000'::macaddr = '000000:110000'::macaddr ; ?column? -------- t (1 row) Daniel Boyd
-
Bruce Momjian authored
backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
-
- Dec 14, 1999
-
-
Tom Lane authored
trees. Also rewrite find_all_inheritors() in a more intelligible style.
-
Bruce Momjian authored
triggered > function now returns the right datatype. Oops, I got crossed up with Jan's improvements. Ignore this. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala
-
Bruce Momjian authored
triggered function now returns the right datatype. -- Peter Eisentraut Sernanders väg 10:115
-
Bruce Momjian authored
anywhere from zero to two TODO items. * Allow flag to control COPY input/output of NULLs I got this: COPY table .... [ WITH NULL AS 'string' ] which does what you'd expect. The default is \N, otherwise you can use empty strings, etc. On Copy In this acts like a filter: every data item that looks like 'string' becomes a NULL. Pretty straightforward. This also seems to be related to * Make postgres user have a password by default If I recall this discussion correctly, the problem was actually that the default password for the postgres (or any) user is in fact "\N", because of the way copy is used. With this change, the file pg_pwd is copied out with nulls as empty strings, so if someone doesn't have a password, the password is just '', which one would expect from a new account. I don't think anyone really wants a hard-coded default password. Peter Eisentraut Sernanders väg 10:115
-
- Dec 13, 1999
-
-
Bruce Momjian authored
-
Tom Lane authored
Note this forces initdb because of change of Aggref node in stored rules.
-
- Dec 12, 1999
-
-
Tom Lane authored
-
Bruce Momjian authored
* Document/trigger/rule so changes to pg_shadow recreate pg_pwd I did it with a trigger and it seems to work like a charm. The function that already updates the file for create and alter user has been made a built-in "SQL" function and a trigger is created at initdb time. Comments around the pg_pwd updating function seem to be worried about this routine being called concurrently, but I really don't see a reason to worry about this. Verify for yourself. I guess we never had a system trigger before, so treat this with care, and feel free to adjust the nomenclature as well. -- Peter Eisentraut Sernanders väg 10:115
-
Bruce Momjian authored
at all, and because of shell quoting rules this can't be fixed, so I put in error messages to that end. Also, calling create or drop database in a transaction block is not so good either, because the file system mysteriously refuses to roll back rm calls on transaction aborts. :) So I put in checks to see if a transaction is in progress and signal an error. Also I put the whole call in a transaction of its own to be able to roll back changes to pg_database in case the file system operations fail. The alternative location issues I posted recently were untouched, awaiting the outcome of that discussion. Other than that, this should be much more fool-proof now. The docs I cleaned up as well. Peter Eisentraut Sernanders väg 10:115
-
- Dec 10, 1999
-
-
Jan Wieck authored
time qualification of HeapTupleSatisfiesSnapshot() Jan
-
Tatsuo Ishii authored
-