91124a2f66
Fix problems with pg_upgrade found by Kardos, Dr. Andrea
2000-03-07 23:09:34 +00:00
52d39d519a
Sorting for the inet data type randomly returns the wrong result
...
when you have networks with the same prefix, but different netmasks.
This is due to the fact that occassionally there is random
(uninitialized?)
data in the extra bits past the point where the netmask cares about
them.
ie (real data from a real live database):
10.0/10 == 00001010.00100000.00100000.00011000
10.0/11 == 00001010.00000000.00000000.00000000
^ Bad data, normally never seen
The v4bitncmp() function was only taking one bit length argument so
it would determine that the networks were different, even though
they really aren't (and the netmask test wouldn't be used). This
ONLY happens if the tuple with the longer bit length is used as the
ip_bits() for the v4bitncmp call AND there happens to be junk data
in place in the shorter tuple. Odd and random, but I saw it happen
a couple times so...
Ryan Mooney
2000-03-07 23:01:43 +00:00
5a197810c0
*** empty log message ***
2000-03-07 15:11:03 +00:00
ad3db67e53
Add SQL_ASCII encoding test case
2000-03-06 01:29:54 +00:00
3526017a59
Forgot to run autoconf.
...
(Configure shouldn't really be in CVS ...)
2000-03-05 14:14:15 +00:00
8de482a847
Added configure test for readline's filename_completion_function
...
Completed psql's \? help
2000-03-05 13:30:20 +00:00
3c71ed7e72
*** empty log message ***
2000-03-03 14:39:26 +00:00
1c7fad57d6
*** empty log message ***
2000-03-03 13:24:06 +00:00
3a81a1a462
*** empty log message ***
2000-03-03 09:56:03 +00:00
85b2875a3a
*** empty log message ***
2000-03-02 19:33:59 +00:00
9309eac111
*** empty log message ***
2000-03-02 12:13:32 +00:00
0eb5ab8250
Apply a MATERIAL node to the result of an uncorrelated subplan, if it
...
looks like it will save computation to do so.
2000-03-02 04:08:16 +00:00
9f198423df
Hmm, it seems nodeMaterial has been broken for a good long while;
...
closing a relcache entry more times than you open it is not cool.
2000-03-02 04:06:39 +00:00
bd2d0983d4
Patch for Irix from Mark Dalphin.
2000-03-02 02:01:01 +00:00
c75adac757
More fixes for psql ^C handling, especially during copy. Still doesn't
...
cope so well with copy to but that will have to wait for the next release.
Also added -X option to prevent reading .psqlrc startup file.
2000-03-01 21:10:05 +00:00
19c29f9236
New plperl Makefile.
2000-03-01 19:13:08 +00:00
8daa31a21e
Add QNX fixes from Kardos, Dr. Andreas
2000-03-01 19:11:12 +00:00
1bd6f76ed6
equalAttr() had its strcmp test backwards :-(
2000-03-01 18:47:43 +00:00
73dd716285
Small performance improvement in comparetup_heap.
2000-03-01 17:14:09 +00:00
8cb8da38b8
*** empty log message ***
2000-03-01 12:49:43 +00:00
a50aaa7289
Change reindex command to work properly with gist/hash/rtree
2000-03-01 05:39:24 +00:00
ab3dc66426
Simplify parsing of column constraints by treating constraint attributes
...
as independent clauses in the grammar. analyze.c takes care of putting
the data where it belongs and complaining about invalid combinations.
Also, make TEMP (and TEMPORARY) non-reserved words.
2000-03-01 05:18:20 +00:00
ea8cadbf94
Remove using puts() to print messages. Instead use TPRINTF.
2000-03-01 02:39:46 +00:00
b1e4b56144
Changed execution time of ON <event> RESTRICT referential
...
integrity triggers to after statement allways. Ignores
deferred state now, closer to SQL3 semantics.
Jan
2000-02-29 12:28:25 +00:00
f55624a96c
autoconf
2000-02-28 23:32:43 +00:00
da8b899d6c
Update ecpg to use snprintf
2000-02-28 23:28:41 +00:00
cf1d2165b3
Fix comment spacing.
2000-02-28 08:51:43 +00:00
81704b9070
update to 6.40.0009 and provide WIN32 defines for auto-configured items
...
such as BLCKSZ and MAXPGPATHLEN?
2000-02-28 03:31:36 +00:00
dcba387636
remove extra include.
2000-02-28 02:21:17 +00:00
a7b1a008cd
missing state transition
2000-02-28 00:23:18 +00:00
18baa9790e
Looks like I broke SET variable = DEFAULT awhile ago. Ooops.
2000-02-27 21:10:41 +00:00
84ccfdf087
Avoid a little bit of unnecessary computation in canonicalize_qual.
2000-02-27 19:45:44 +00:00
52a8d71203
Add lztext to TypeCategory so that lztext OP text cases will work
...
correctly (the lztext value will be promoted to text automatically).
2000-02-27 18:54:43 +00:00
8d0f1dd179
Jan forgot to increment catversion when adding lztext. Naughty naughty.
2000-02-27 18:06:28 +00:00
75133d9a46
Reactivated LZTEXT data type and changed rule plan- and qual-strings
...
into lztext.
Jan
2000-02-27 12:02:34 +00:00
97e38d32b8
Update expected files due to the psql format change
2000-02-27 10:21:16 +00:00
570bb30d73
Suppress unneccesary message from createdb
2000-02-27 10:20:13 +00:00
c9ceab967c
Add SQL_ASCII test case
2000-02-27 10:15:17 +00:00
544cafb4d5
Fix multibyte regress results for EUC_CN, EUC_KR and EUC_TW
2000-02-27 10:14:33 +00:00
f30d5f9e6c
Add LinuxPPC mappings
2000-02-27 10:13:22 +00:00
a065827554
Clean up badly-formatted error messages from pg_connect.
2000-02-27 07:44:22 +00:00
750549db34
Add Assert() to check for trying to heap_close a relation when the
...
relcache entry's reference count is zero.
2000-02-27 07:31:00 +00:00
1e091ad601
Add 'volatile' declarations to silence gcc warnings about longjmp.
...
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-27 07:18:29 +00:00
f884130241
Minor improvements in regprocout() and oidvectortypes().
2000-02-27 03:30:27 +00:00
66fe0fc87e
Fix poorly worded error messages for unary operator type resolution
...
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-27 02:48:15 +00:00
ed0e292354
Clean up dependencies for version.o.
...
This avoids the useless rebuild of pg_version that used to happen on
each build or install pass.
2000-02-27 01:33:43 +00:00
22cab26131
Clean up dependencies for version.o.
2000-02-27 01:26:12 +00:00
22a9537ff3
Clean up dependencies for version.o.
2000-02-27 01:18:46 +00:00
01eea27c4c
Fix a couple of inconsistent usages of include <...> vs. include "...".
2000-02-27 01:10:31 +00:00
aff830a760
Add date and time datatype handling to convert_to_scalar. (I was waiting
...
for Thomas to do the datetime consolidation before touching this, but
it's done now...)
2000-02-26 23:03:12 +00:00