summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-02-27Update expected files due to the psql format changeTatsuo Ishii
2000-02-27Suppress unneccesary message from createdbTatsuo Ishii
2000-02-27Add SQL_ASCII test caseTatsuo Ishii
2000-02-27Fix multibyte regress results for EUC_CN, EUC_KR and EUC_TWTatsuo Ishii
2000-02-27Add LinuxPPC mappingsTatsuo Ishii
2000-02-27Clean up badly-formatted error messages from pg_connect.Tom Lane
2000-02-27Add Assert() to check for trying to heap_close a relation when theTom Lane
relcache entry's reference count is zero.
2000-02-27Add 'volatile' declarations to silence gcc warnings about longjmp.Tom Lane
Shouldn't create any portability problems, since we have a configure test to #define away volatile if the compiler doesn't support it.
2000-02-27Minor improvements in regprocout() and oidvectortypes().Tom Lane
2000-02-27Fix poorly worded error messages for unary operator type resolutionTom Lane
failures. Fix some outright bugs too, including a reference to uninitialized memory that would cause failures like this one: select -('1234567890.1234567'::text); ERROR: Unable to locate type oid 2139062143 in catalog
2000-02-27Clean up dependencies for version.o.Tom Lane
This avoids the useless rebuild of pg_version that used to happen on each build or install pass.
2000-02-27Clean up dependencies for version.o.Tom Lane
2000-02-27Clean up dependencies for version.o.Tom Lane
2000-02-27Fix a couple of inconsistent usages of include <...> vs. include "...".Tom Lane
2000-02-26Add date and time datatype handling to convert_to_scalar. (I was waitingTom Lane
for Thomas to do the datetime consolidation before touching this, but it's done now...)
2000-02-26Change rule dumper to produce reasonable output for casts that assignTom Lane
a specific length or precision, such as foo::char(8). Remove erroneous removal of user-written casts at the top level of a SELECT target item.
2000-02-26Fix exprTypmod to recognize length-coercion function expressions,Tom Lane
such as bpchar(char_expression, N), and pull out the attrtypmod that the function is coercing to. This allows correct deduction of the column type in examples such as CREATE VIEW v AS SELECT f1::char(8) FROM tbl; Formerly we labeled v's column as char-of-unknown-length not char(8). Also, this change causes the parser not to insert a redundant length coercion function if the user has explicitly casted an INSERT or UPDATE expression to the right length.
2000-02-26psql's \d command wasn't doing the right things with 'char' (type 18)Tom Lane
fields, nor with bpchar and varchar fields that have typmod -1. The latter effectively have an unspecified length, so I made them display as char() and varchar() rather than falsely equating them to char(1) and varchar(1).
2000-02-26I had managed to break acceptance of "char", which worked in 6.5 toTom Lane
refer to the single-byte char type. 7.0 was taking it as bpchar(1).
2000-02-26Undo a couple of mistaken applications of NameStr() to StringInfos.Tom Lane
It worked, because they both have fields named 'data', but it's surely trouble waiting to happen. I wonder whether there are more ...
2000-02-26Shared-memory hashtables have non-extensible directories, which meansTom Lane
it's a good idea to choose the directory size based on the expected number of entries. But ShmemInitHash was using a hard-wired constant. Boo hiss. This accounts for recent report of postmaster failure when asking for 64K or more buffers.
2000-02-25*** empty log message ***Michael Meskes
2000-02-25*** empty log message ***Michael Meskes
2000-02-25Fix longstanding bug that kept functional indexes from working when youTom Lane
defaulted the opclass. This addresses TODO item * Allow creation of functional indexes to use default types (Does that make it a feature? Oh dear...)
2000-02-24Enabled regression driver to run without PGLIB set.Peter Eisentraut
2000-02-24Suppress timespan and datetime ops from being brought in via pg_dumpBruce Momjian
from previous release.
2000-02-24Add missing files like foreign key regression tests and config.h.win32.Bruce Momjian
2000-02-24 The following is required in order to make beta1 compile on the Win32Bruce Momjian
platform (psql and libpq): The file "config.h.win32" in the include\ directory (from my patch from 2000-01-18) is missing from the tree. It needs to be put back :-) The following patch has to be applied in the interfaces\libpq directory. //Magnus
2000-02-24Tweak libpq so that if a backend ERROR message arrives while libpqTom Lane
thinks the connection is idle, the error message is displayed as if it were a NOTICE. This seems better than dropping the message on the floor ... particularly if the message is the backend telling us why it's about to close the connection. The previous behavior was Backend message type 0x45 arrived while idle pqReadData() -- backend closed the channel unexpectedly. which is not real helpful.
2000-02-24Check pending cancel request before waiting for lockHiroshi Inoue
2000-02-24Add the check CommonSpecialPortal in use(my fault)Hiroshi Inoue
2000-02-24Add numeric <-> int8 and numeric <-> int2 conversion functions, as wellTom Lane
as a unary minus operator for numeric. Now that long numeric constants will get converted to NUMERIC in early parsing, it's essential to have numeric->int8 conversion to avoid 'can't convert' errors on undecorated int8 constants. Threw in the rest for completeness while I was in the area. I did not force an initdb for this, since the system will still run without the new pg_proc/pg_operator entries. Possibly I should've.
2000-02-24Make make_const() check the size and precision of a T_Float Value,Tom Lane
and produce either FLOAT8 or NUMERIC output depending on whether the value fits in a float8 or not. This is almost back to the way the code was before I changed T_Float, but there is a critical difference: now, when a numeric constant doesn't fit in float8, it will be treated as type NUMERIC instead of type UNKNOWN.
2000-02-24int8in failed to detect overflow; it really should.Tom Lane
2000-02-23Fix plpsql for bsdi.Bruce Momjian
2000-02-23*** empty log message ***Michael Meskes
2000-02-231. miscadmin.h needs to include sys/types.h for a definition of pid_tBruce Momjian
2. Regression tests fail for types int2 and int4 (which can easily be fixed by adding entries to resultmap) aswell as float8 and geometry, where floating point numbers appear to be rounded a little differently than in your expected results (besides that I also need the positive zeros file). I'm including a patch for the first 2, but I don't know whether the latter two are actually a bug in postgres or a bug in the OS or even allowed difference. I'm including my results for reference. Rolf Grossmann
2000-02-22Well, here's the first pass on regressionBruce Momjian
tests for the Foreign Key support in 7.0 which was made against a CVS copy from this afternoon. This modifies src/test/regress/sql/run_check.tests src/test/regress/sql/alter_table.sql src/test/regress/expected/alter_table.out src/test/regress/sql/foreign_key.sql src/test/regress/expected/foreign_key.out sszabo@bigpanda.co
2000-02-22*** empty log message ***Michael Meskes
2000-02-22Change cancel while waiting-for-lock stuff.Hiroshi Inoue
2000-02-22First post-beta1 bug fix :-(. Silly typo in new coding for doNegateTom Lane
failed to negate a negative value back to positive, so '- - 123.45' did the wrong thing.
2000-02-21Quick hack solution so that pg_dump of views works. Needs repair afterTom Lane
Thomas gets back, but better this than nonfunctional pg_dump in the beta.
2000-02-21Fixed psql's Control-C handling when COPY in progressPeter Eisentraut
2000-02-21Oops, commited a test version of this file by accident. Revert.Tom Lane
2000-02-21Change parse-time representation of float literals (which include oversizeTom Lane
integers) to be strings instead of 'double'. We convert from string form to internal representation only after type resolution has determined the correct type for the constant. This eliminates loss-of-precision worries and gets rid of the change in behavior seen at 17 digits with the previous kluge.
2000-02-21To avoid confusion during early beta testing, commit the current rulesTom Lane
test output as expected output. We'll probably want to change this again after something's done about the verbosity of column alias display.
2000-02-21Clean up temp file in 'make clean'.Tom Lane
2000-02-21Avoid race conditions in detection of EINPROGRESS during connect().Jan Wieck
Jan
2000-02-21Fix "Invalid XID in t_cmin" error in vacuum.Hiroshi Inoue
2000-02-21Clean up some really grotty coding in catcache.c, improve hashingTom Lane
performance in catcache lookups.