Commit Graph

11291 Commits

Author SHA1 Message Date
Tom Lane
b2c37b4c51 Autoconf. 2001-10-13 15:20:51 +00:00
Bruce Momjian
657d0044b0 Update FAQ. 2001-10-13 05:27:05 +00:00
Bruce Momjian
46712990bd More keyword uppercasing. 2001-10-13 04:58:35 +00:00
Bruce Momjian
8123d8f150 Here are few more translated messages into Russian
for the PG_DUMP component.

Please apply to </src/bin/pg_dump/ru.po>

Serguei A. Mokhov
2001-10-13 04:25:27 +00:00
Bruce Momjian
1d3a47af0c Attached patch for unconditional enabling of pltcl-unknown support.
Enabling this feature adds very light overhead of 1 select from pg_class on
first using of pl/tcl in backend if unknown suppport is really unused.
But pl/tcl with this support has very improved functionality.

Patch includes changes to documentation.
2001-10-13 04:23:50 +00:00
Bruce Momjian
36458b93e0 Update FAQ. 2001-10-13 03:53:45 +00:00
Bruce Momjian
db7aa99fb9 Update FAQ. 2001-10-13 03:37:42 +00:00
Bruce Momjian
dac9f40ba8 Mention createlang when language not installed, per problem report. 2001-10-13 01:35:25 +00:00
Bruce Momjian
cdd4379394 Update FAQ. 2001-10-13 01:32:47 +00:00
Bruce Momjian
0818073894 More uppercasing. 2001-10-12 23:34:30 +00:00
Bruce Momjian
705869dd17 Uppercase keywords where appropriate. 2001-10-12 23:32:34 +00:00
Tom Lane
b57705673d txtidx datatype for full text indexing with GiST.
From Oleg Bartunov and Teodor Sigaev.
2001-10-12 23:19:09 +00:00
Bruce Momjian
c24216bea8 Fix reverse FOR loop to work properly, uppercase cleanup in file. 2001-10-12 21:19:09 +00:00
Bruce Momjian
ec614c9872 Remove locale/multibyte in HISTORY file, for Tatsuo. 2001-10-12 17:46:00 +00:00
Bruce Momjian
c0b2bbf42e Add WAL mmap() mention. 2001-10-12 17:35:10 +00:00
Bruce Momjian
68966634b2 Update TODO list. 2001-10-12 17:34:36 +00:00
Bruce Momjian
6790f21441 Update TODO list. 2001-10-12 17:33:46 +00:00
Bruce Momjian
63a22cd2dd Update TODO list. 2001-10-12 17:28:41 +00:00
Bruce Momjian
129b19f685 Update TODO list. 2001-10-12 17:23:04 +00:00
Bruce Momjian
d8f88f01f0 Update TODO list. 2001-10-12 16:29:36 +00:00
Bruce Momjian
010e8144cd Update TODO list. 2001-10-12 16:14:17 +00:00
Bruce Momjian
7d9d026323 Update TODO list. 2001-10-12 16:13:48 +00:00
Bruce Momjian
7bce3e95cf Remove mutex mention. Fixed now. 2001-10-12 16:10:51 +00:00
Bruce Momjian
182722f737 Update TODO list. 2001-10-12 16:07:34 +00:00
Hiroshi Inoue
0420342af1 Update the version of psqlodbc driver. 2001-10-12 09:41:49 +00:00
Bruce Momjian
ffcad12769 Update TODO list. 2001-10-12 02:50:48 +00:00
Tatsuo Ishii
f426465ba9 Add a new function "pg_client_encoding" which returns the current client
side encoding name. This is necessary for client API's such as JDBC
to perform correct encoding conversions. See my email "[HACKERS]
pg_client_encoding" 10 Sep 2001.
2001-10-12 02:08:34 +00:00
Hiroshi Inoue
9d13fcf0af Fix the bug reported by Chris Lee. 2001-10-12 01:08:51 +00:00
Tom Lane
f9e6e27c87 Break transformCreateStmt() into multiple routines and make
transformAlterStmt() use these routines, instead of having lots of
duplicate (not to mention should-have-been-duplicate) code.
Adding a column with a CHECK constraint actually works now,
and the tests to reject unsupported DEFAULT and NOT NULL clauses
actually fire now.  ALTER TABLE ADD PRIMARY KEY works, modulo
having to have created the column(s) NOT NULL already.
2001-10-12 00:07:15 +00:00
Bruce Momjian
e98476eb03 Document use of GEQO param in subquery pullups. 2001-10-11 21:16:26 +00:00
Bruce Momjian
9e642cd7ef Update TODO list. 2001-10-11 20:40:38 +00:00
Bruce Momjian
c19ff887c6 Add documention for ecpg -209 error. 2001-10-11 20:25:42 +00:00
Tom Lane
97d0c8b219 Suppress gcc warnings. 2001-10-11 18:06:52 +00:00
Bruce Momjian
78f7ba13cb Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> As you can see, psql reconnect as any user if the password is same as
> foo. Of course this is due to the careless password setting, but I
> think it's better to prompt ANY TIME the user tries to switch to
> another user. Comments?

Yeah, I agree.  Looks like a simple change in dbconnect():

    /*
     * Use old password if no new one given (if you didn't have an old
     * one, fine)
     */
    if (!pwparam && oldconn)
        pwparam = PQpass(oldconn);

to

    /*
     * Use old password (if any) if no new one given and we are
     * reconnecting as same user
     */
    if (!pwparam && oldconn && PQuser(oldconn) && userparam &&
        strcmp(PQuser(oldconn), userparam) == 0)
        pwparam = PQpass(oldconn);

                        regards, tom lane
2001-10-11 16:54:18 +00:00
Bruce Momjian
b0c4598c66 Update TODO list. 2001-10-11 16:35:50 +00:00
Bruce Momjian
95c18db868 Remove mention of "pg_result -list" becuase it is not implemented, per
Tatsuo.
2001-10-11 16:30:41 +00:00
Tatsuo Ishii
51053d3216 Add support for ISO-8859-6 to 16 2001-10-11 14:20:35 +00:00
Peter Eisentraut
371f49bf9f Remove gratuitous discrepancy between extract() and date_part(),
regarding timezone_hour, timezone_minute vs. tz_hour, tz_minute.
Document the former.
2001-10-10 00:02:42 +00:00
Peter Eisentraut
ec5c62874d Allow optional () after current_user, session_user, user, current_time,
current_timestamp, current_date for ODBC compatibility.

Add more functions to odbc.sql catalog extension, use new CREATE OR
REPLACE FUNCTION.

Document iODBC/unixODBC build options.
2001-10-09 22:32:33 +00:00
Barry Lind
839b9bc011 This patch fixes a bug introduced in the jdbc bytea support patch.
That patch broke the ability to read data from binary cursors.
--Barry Lind
 Modified Files:
 	pgsql/src/interfaces/jdbc/org/postgresql/Connection.java
 	pgsql/src/interfaces/jdbc/org/postgresql/ResultSet.java
 	pgsql/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java
 	pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java
 	pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
 	pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
 	pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
 	pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/UpdateableResultSet.java
2001-10-09 20:47:35 +00:00
Peter Eisentraut
ffb8f73890 Bunch of copy fitting and style sheet tweakage to get decent looking print
output (from pdfjadetex).  Also updated instructions to install documentation
processing toolchain.
2001-10-09 18:46:00 +00:00
Tom Lane
2f1c24cb1c Change plpgsql compiler so that all elogs are trapped and a suitable
NOTICE added about error location (same method already used by plpgsql
executor).  Add checking of pg_proc row xmin/cmin to ensure that
plpgsql functions will be recompiled after they've been modified by
CREATE OR REPLACE FUNCTION.
2001-10-09 15:59:56 +00:00
Tom Lane
c781600618 Fix typo in error message. Noted by laser@zhengmai.com.cn. 2001-10-09 14:00:22 +00:00
Tom Lane
2034086ed1 Correct some errors in plpgsql examples, as reported by Junichi Kobayasi. 2001-10-09 04:55:11 +00:00
Tom Lane
0b3bca6c6f Change plpgsql to depend on main parser's type-declaration grammar,
rather than having its own somewhat half-baked notion of what a type
declaration looks like.  This is necessary now to ensure that plpgsql
will think a 'timestamp' variable has the same semantics as 'timestamp'
does in the main SQL grammar; and it should avoid divergences in future.
2001-10-09 04:15:38 +00:00
Tom Lane
7ecc40c2df Another go-round with FigureColname, to produce less surprising results
for nested typecasts.  It now produces a column header of 'timestamptz'
for 'SELECT CURRENT_TIMESTAMP', rather than 'text' as it was doing for
awhile there.
2001-10-08 21:48:51 +00:00
Tom Lane
71f2993c45 Fix transformExpr() to not scribble on its input datastructure while
transforming CASE expressions.  This was definitely confusing
FigureColname, and might lead to bad things elsewhere as well.
2001-10-08 21:46:59 +00:00
Tom Lane
1c7bef32b4 Fix ruleutils to depend on format_type, rather than having a private
copy of code that knows about displaying types with typmod info.
Needed so that it does the right thing with timestamp datatypes now.
2001-10-08 19:55:07 +00:00
Tom Lane
b6a7948294 Make ALTER TABLE RENAME COLUMN update column names of indexes that
refer to the renamed column.  Brent Verner, with a little help from tgl.
2001-10-08 18:40:04 +00:00
Tom Lane
7249562fe3 Remove redundant code, update comments, cause CURRENT_TIME to
agree with CURRENT_TIME(n).
2001-10-08 18:16:59 +00:00