Bruce Momjian
0c5422912e
Protects you from coredumps if you do eg. str::int4 where str is a text
...
field. cf. Tom Lane's <19021.950544016@sss.pgh.pa.us> 14 Feb hackers
message.
Cheers,
Patrick Welche
2000-03-07 23:58:38 +00:00
Bruce Momjian
8fa8f80c1a
I've recently written to pgsql-ports about a problem with PG7.0 on NT
...
(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
2000-03-07 23:49:31 +00:00
Tom Lane
9606f36210
Someone (probably me) forgot about handling of typecasts applied to
...
parameters.
2000-03-07 23:30:53 +00:00
Bruce Momjian
91124a2f66
Fix problems with pg_upgrade found by Kardos, Dr. Andrea
2000-03-07 23:09:34 +00:00
Bruce Momjian
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
Michael Meskes
5a197810c0
*** empty log message ***
2000-03-07 15:11:03 +00:00
Tatsuo Ishii
ad3db67e53
Add SQL_ASCII encoding test case
2000-03-06 01:29:54 +00:00
Peter Eisentraut
3526017a59
Forgot to run autoconf.
...
(Configure shouldn't really be in CVS ...)
2000-03-05 14:14:15 +00:00
Peter Eisentraut
8de482a847
Added configure test for readline's filename_completion_function
...
Completed psql's \? help
2000-03-05 13:30:20 +00:00
Michael Meskes
3c71ed7e72
*** empty log message ***
2000-03-03 14:39:26 +00:00
Michael Meskes
1c7fad57d6
*** empty log message ***
2000-03-03 13:24:06 +00:00
Michael Meskes
3a81a1a462
*** empty log message ***
2000-03-03 09:56:03 +00:00
Michael Meskes
85b2875a3a
*** empty log message ***
2000-03-02 19:33:59 +00:00
Michael Meskes
9309eac111
*** empty log message ***
2000-03-02 12:13:32 +00:00
Tom Lane
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
Tom Lane
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
Bruce Momjian
bd2d0983d4
Patch for Irix from Mark Dalphin.
2000-03-02 02:01:01 +00:00
Peter Eisentraut
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
Bruce Momjian
19c29f9236
New plperl Makefile.
2000-03-01 19:13:08 +00:00
Bruce Momjian
8daa31a21e
Add QNX fixes from Kardos, Dr. Andreas
2000-03-01 19:11:12 +00:00
Tom Lane
1bd6f76ed6
equalAttr() had its strcmp test backwards :-(
2000-03-01 18:47:43 +00:00
Tom Lane
73dd716285
Small performance improvement in comparetup_heap.
2000-03-01 17:14:09 +00:00
Michael Meskes
8cb8da38b8
*** empty log message ***
2000-03-01 12:49:43 +00:00
Hiroshi Inoue
a50aaa7289
Change reindex command to work properly with gist/hash/rtree
2000-03-01 05:39:24 +00:00
Tom Lane
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
Tatsuo Ishii
ea8cadbf94
Remove using puts() to print messages. Instead use TPRINTF.
2000-03-01 02:39:46 +00:00
Jan Wieck
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
Bruce Momjian
f55624a96c
autoconf
2000-02-28 23:32:43 +00:00
Bruce Momjian
da8b899d6c
Update ecpg to use snprintf
2000-02-28 23:28:41 +00:00
Bruce Momjian
9418e701b3
Update HISTORY file.
2000-02-28 18:43:07 +00:00
Bruce Momjian
2a18b1507f
Update TODO list.
2000-02-28 09:24:47 +00:00
Bruce Momjian
cf1d2165b3
Fix comment spacing.
2000-02-28 08:51:43 +00:00
Byron Nikolaidis
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
Bruce Momjian
dcba387636
remove extra include.
2000-02-28 02:21:17 +00:00
Byron Nikolaidis
a7b1a008cd
missing state transition
2000-02-28 00:23:18 +00:00
Tom Lane
18baa9790e
Looks like I broke SET variable = DEFAULT awhile ago. Ooops.
2000-02-27 21:10:41 +00:00
Tom Lane
80b7955d60
Correct bogus syntax in SET example.
2000-02-27 21:07:03 +00:00
Tom Lane
84ccfdf087
Avoid a little bit of unnecessary computation in canonicalize_qual.
2000-02-27 19:45:44 +00:00
Bruce Momjian
8b33278450
Update TODO list.
2000-02-27 19:04:06 +00:00
Tom Lane
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
Tom Lane
8d0f1dd179
Jan forgot to increment catversion when adding lztext. Naughty naughty.
2000-02-27 18:06:28 +00:00
Bruce Momjian
1210bd4526
Update history
2000-02-27 14:57:16 +00:00
Jan Wieck
75133d9a46
Reactivated LZTEXT data type and changed rule plan- and qual-strings
...
into lztext.
Jan
2000-02-27 12:02:34 +00:00
Tatsuo Ishii
97e38d32b8
Update expected files due to the psql format change
2000-02-27 10:21:16 +00:00
Tatsuo Ishii
570bb30d73
Suppress unneccesary message from createdb
2000-02-27 10:20:13 +00:00
Tatsuo Ishii
c9ceab967c
Add SQL_ASCII test case
2000-02-27 10:15:17 +00:00
Tatsuo Ishii
544cafb4d5
Fix multibyte regress results for EUC_CN, EUC_KR and EUC_TW
2000-02-27 10:14:33 +00:00
Tatsuo Ishii
f30d5f9e6c
Add LinuxPPC mappings
2000-02-27 10:13:22 +00:00
Tom Lane
a065827554
Clean up badly-formatted error messages from pg_connect.
2000-02-27 07:44:22 +00:00
Tom Lane
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