Commit Graph

10700 Commits

Author SHA1 Message Date
Tatsuo Ishii 2374be8a26 Remove --enable-unicode-conversion
unicode-conversion is always on if --enable-multibyte is specified

	   Tatsuo Ishii
2001-09-14 10:36:52 +00:00
Tatsuo Ishii 113cf00edf Add semicolon 2001-09-14 10:28:09 +00:00
Tatsuo Ishii b4982f9b6d Fix typo. 2001-09-14 10:24:35 +00:00
Tatsuo Ishii f9d2749a03 Fix exmaple
Tatsuo Ishii
2001-09-14 09:49:00 +00:00
Tatsuo Ishii 03df474440 Fix show message
Tatsuo Ishii
2001-09-14 08:47:00 +00:00
Tatsuo Ishii e38664aaa2 Add semicolon
Tatsuo Ishii
2001-09-14 08:24:29 +00:00
Tatsuo Ishii 479cba8367 Example rules do not work.
CREATE RULE bad_rule_combination_1 AS
    ON SELECT TO emp
    DO INSTEAD
        SELECT * FROM toyemp;

CREATE RULE bad_rule_combination_2 AS
    ON SELECT TO toyemp
    DO INSTEAD
        SELECT * FROM emp;

	Tatsuo Ishii
2001-09-14 08:19:55 +00:00
Tatsuo Ishii 3f45796c7b Add semicolon 2001-09-14 08:05:55 +00:00
Tatsuo Ishii 147c742aa2 Add semicolon
Tatsuo Ishii
2001-09-14 07:59:31 +00:00
Hiroshi Inoue 058841301c Change an *if condition*.
Hiroshi Inoue
2001-09-14 06:46:45 +00:00
Hiroshi Inoue 70b0831387 1) Improve the implementation of *Disallow Premature* for
older versions of servers.
2) Implement SQLProcedures.

Hiroshi Inoue
2001-09-14 06:30:37 +00:00
Bruce Momjian 4f0e6e3345 Update TODO list. 2001-09-14 03:21:42 +00:00
Hiroshi Inoue 5e14c9397d Fix a coversation error with pre 6.4 versions.
Hiroshi Inoue
2001-09-14 01:50:33 +00:00
Bruce Momjian 5be2182e47 Update TODO list. 2001-09-14 01:23:14 +00:00
Bruce Momjian 2dcdd5fa53 Update TODO list. 2001-09-14 00:41:06 +00:00
Bruce Momjian 436d4aef07 Add missing paren to ODBC compiles. 2001-09-13 22:39:29 +00:00
Peter Eisentraut 76273a51a8 Update compatibility information. 2001-09-13 19:40:34 +00:00
Peter Eisentraut 861a0d7b5a Update compatibility information. 2001-09-13 19:05:29 +00:00
Peter Eisentraut a6496a2338 Update compatibility information. 2001-09-13 18:17:44 +00:00
Bruce Momjian 698a5d50c5 Didn't want that jdbc patch in there yet. 2001-09-13 17:01:31 +00:00
Bruce Momjian 54549d8dc4 > I found a problem with PQescapeString (I think). Since it escapes
> null bytes to be literally '\0', the following can happen:
> 1. User inputs string value as "<null byte>##" where ## are digits in the
> range of 0 to 7.
> 2. PQescapeString converts this to "\0##"
> 3. Escaped string is used in a context that causes "\0##" to be evaluated as
> an octal escape sequence.

I agree that this is a problem, though it is not possible to do
anything harmful with it.  In addition, it only occurs if there are
any NUL characters in its input, which is very unlikely if you are
using C strings.

The patch below addresses the issue by removing escaping of \0
characters entirely.

> If the goal is to "safely" encode null bytes, and preserve the rest of the
> string as it was entered, I think the null bytes should be escaped as \\000
> (note that if you simply use \000 the same string truncation problem
> occurs).

We can't do that, this would require 4n + 1 bytes of storage for the
result, breaking the interface.

Florian Weimer
2001-09-13 17:00:34 +00:00
Peter Eisentraut 351a0c1736 Replace ASCII-quotes with proper markup. 2001-09-13 15:55:24 +00:00
Hiroshi Inoue 9f990a73c1 1) Not export ODBC 3.0 functions.
2) (Maybe) fix a bug reported by Mika Muntila.
2001-09-13 00:27:11 +00:00
Peter Eisentraut f93449eb34 'chown -R postgres /usr/local/pgsql' is wrong. Need to do some more typing. 2001-09-12 20:57:28 +00:00
Bruce Momjian aaed778074 Attached patch is correction for 'doc/jdbc.sgml' of PostgreSQL 7.1.3.
Correction content:
  * I revised a mistake of type (copy and paste).
  * I revised multiplicity of description.

Ryouichi Matsuda
2001-09-12 15:55:00 +00:00
Bruce Momjian 0b8a76b24d Followings are proposed fixes to jdbc.sgml(line numbers are for 7.1.3
doc).

Hiroyuki Yatabe
2001-09-12 15:49:10 +00:00
Peter Eisentraut dfdbf6898f max_locks_per_transaction seems to be a more consistent name than
max_locks_per_xact.
2001-09-12 14:06:37 +00:00
Peter Eisentraut dddd95a859 Check both -lrt and -lposix4 for fdatasync, to cover all Solaris versions. 2001-09-12 12:14:41 +00:00
Bruce Momjian 21a7fa8a6f It is not fixed and I doubt that it is working fine in current CVS. The
bugfix is in the attached patch. Please apply it. Thanks.

 Output must be:

test=# SELECT to_char(485, 'RN');
     to_char
-----------------
         CDLXXXV
(1 row)

test=# SELECT to_char(485, 'FMRN');
 to_char
---------
 CDLXXXV
(1 row)

test=# SELECT to_char(1000, 'RN');
     to_char
-----------------
               M
(1 row)


test=# SELECT to_char(7.2, '"Welcome to"9.9 "release! :-)"');
           to_char
-----------------------------
 Welcome to 7.2 release! :-)
(1 row)

Karel Zak
2001-09-12 04:01:57 +00:00
Bruce Momjian 33a82e7fd8 Here's some matching documentation, including some other
undocumented items in TD.

Should doc patches alse be sent to pgsql-patches, or do I
have to subscribe to pgsql-docs?

The archive link for pgsql-patches is broken, and I don't
see any patches in spot checking the archive for pgsql-docs.

-Brad McLean.
2001-09-12 03:58:15 +00:00
Bruce Momjian 148f94b98f I noticed that plpython does not make the relid available inside
a trigger the way that pltcl does.

Here's a little patch that adds it in.

-Brad McLean
2001-09-12 03:03:25 +00:00
Tatsuo Ishii 3b99f74d95 Fix typo (add ;) 2001-09-12 02:13:25 +00:00
Tatsuo Ishii 2d12bc1ea1 Fix typo (add ;) 2001-09-12 01:55:25 +00:00
Tatsuo Ishii 7dc4a45ae7 Fix typo. 2001-09-12 01:22:25 +00:00
Peter Eisentraut 9b35cce9ee Link ODBC driver with -lnsl and -lsocket, for Solaris.
reported by Bob Deblier (bob@virtualunlimited.com)
2001-09-11 23:27:10 +00:00
Peter Eisentraut 3278314847 Use gcc -shared rather than gcc -G for shared library linking on Solaris.
suggested by Bob Deblier (bob@virtualunlimited.com)
2001-09-11 23:20:41 +00:00
Peter Eisentraut 93a9cc8533 Invoke on_exit() with correct number and type of arguments. 2001-09-11 23:08:07 +00:00
Peter Eisentraut a8d474195e Look for fdatasync() in librt, for Solaris.
partially from Kenji Sugita
2001-09-11 14:31:23 +00:00
Hiroshi Inoue 0521051b0b Fix some multibyte related bugs.
Psqlodbc is 7.01.0007 now.

Hiroshi Inoue
2001-09-11 06:39:20 +00:00
Tatsuo Ishii 7e99cea816 Implement following item in TODO:
* Reject character sequences those are not valid in their charset
2001-09-11 05:18:59 +00:00
Tatsuo Ishii 95dc7785b5 Add single quote (example given here does not work) 2001-09-11 05:11:59 +00:00
Bruce Momjian 14fa192d46 Update TODO list. 2001-09-11 05:09:45 +00:00
Tatsuo Ishii e1de3e0833 Implement following item in TODO:
* Reject character sequences those are not valid in their charset
2001-09-11 04:50:36 +00:00
Tatsuo Ishii d7f3cbc288 Fix regression test in the case of building as root. 2001-09-11 02:24:52 +00:00
Peter Eisentraut ef5602d72c When testing for source and build tree equality, and test -ef doesn't work,
fall back to `cd $srcdir && /bin/pwd` = `/bin/pwd`.  One of these ought to
work, and if not, prep_buildtree is harmless.
2001-09-10 23:52:04 +00:00
Peter Eisentraut 7505e5d0cd Make prep_buildtree harmless when run on top of the source tree.
from Ian Lance Taylor
2001-09-10 23:28:59 +00:00
Peter Eisentraut 8f3627d89b Add explicit '-print' to 'find' commands.
(partially) from Ian Lance Taylor
2001-09-10 22:25:48 +00:00
Peter Eisentraut a457d33516 Markup and spell-check run over Programmer's Guide (rather incomplete still). 2001-09-10 21:58:47 +00:00
Peter Eisentraut 51ba1c5a8c Remove extra space at end of line. 2001-09-10 19:34:18 +00:00
Bruce Momjian 0682c26ed5 Update TODO list. 2001-09-10 15:21:20 +00:00