OSDN Git Service
Bruce Momjian [Mon, 26 Nov 2001 20:11:28 +0000 (20:11 +0000)]
Add mention of UPDATE permissions.
Bruce Momjian [Mon, 26 Nov 2001 19:41:55 +0000 (19:41 +0000)]
Add documentation about "--" not working on Free/OpenBSD.
Bruce Momjian [Mon, 26 Nov 2001 19:33:33 +0000 (19:33 +0000)]
Update TODO list.
Bruce Momjian [Mon, 26 Nov 2001 19:30:58 +0000 (19:30 +0000)]
Fix for "--" options. Allow --xxx as a valid flag, from NetBSD fix.
Bruce Momjian [Mon, 26 Nov 2001 19:07:11 +0000 (19:07 +0000)]
More tag cleanups.
Bruce Momjian [Mon, 26 Nov 2001 18:51:19 +0000 (18:51 +0000)]
Fix SGML tag misspelling.
Bruce Momjian [Mon, 26 Nov 2001 17:56:32 +0000 (17:56 +0000)]
Chinese for psql and pg_dump.
laser
Bruce Momjian [Mon, 26 Nov 2001 17:45:41 +0000 (17:45 +0000)]
This patch mark datatype txtidx as 'extended' storage type.
Thanks.
Teodor Sigaev
Bruce Momjian [Mon, 26 Nov 2001 06:36:04 +0000 (06:36 +0000)]
Update TODO list.
Barry Lind [Mon, 26 Nov 2001 06:08:03 +0000 (06:08 +0000)]
Updated JDBC todo items
Barry Lind [Mon, 26 Nov 2001 05:57:57 +0000 (05:57 +0000)]
Updates to JDBC doc:
Editing pass over entire chapter
Rewrote section dealing with Large Objects to also talk about bytea support
Removed secion on Serialize functionality a we intend to remove it in the
next release
Tom Lane [Mon, 26 Nov 2001 00:29:15 +0000 (00:29 +0000)]
Repair problem with listing rules that have a WHERE condition and
have an INSERT...SELECT as the first or only action. Per bug report
from Sergio Pili.
Barry Lind [Sun, 25 Nov 2001 23:26:59 +0000 (23:26 +0000)]
This patch fixes a bug reported by Graham Leggett (minfrin@sharp.fm).
The bug was that any insert or update would fail if the returned oid was
larger than a signed int. Since OIDs are unsigned int's it was
a bug that the code used a java signed int to deal with the values. The bug
would result in the error message: "Unable to fathom update count".
While fixing the bug, it became apparent that other code made a similar
assumption about OIDs being signed ints. Therefore some methods that returned
or took OIDs are arguements also needed to be changed.
Since we are so close to the 7.2 release I have added new methods that
return longs and deprecated the old methods returning ints. Therefore all
old code should still work without requiring a code change to cast from long to int. Also note that the methods below are PostgreSQL specific extensions to
the JDBC api are are not part of the spec from Sun, thus it is unlikely that
they are used much or at all.
The deprecated methods are:
ResultSet.getInsertedOID()
Statement.getInsertedOID()
Serialize.store()
Connection.putObject()
and are replaced by:
ResultSet.getLastOID()
Statement.getLastOID()
Serialize.storeObject()
Connection.storeObject()
All the deprecated methods returned int, while their replacements return long
This patch also fixes two comments in MD5Digest that the author Jeremy Wohl
submitted.
--Barry
Peter Eisentraut [Sun, 25 Nov 2001 22:19:30 +0000 (22:19 +0000)]
Encoding isn't necessarily multibyte
Peter Eisentraut [Sun, 25 Nov 2001 22:17:27 +0000 (22:17 +0000)]
Fix comment
Bruce Momjian [Sun, 25 Nov 2001 18:25:54 +0000 (18:25 +0000)]
Backend /po patch.
http://laser.zhengmai.com.cn/download/backend_zh_CN.po.diff.gz
Weiping He
Tom Lane [Sun, 25 Nov 2001 01:11:36 +0000 (01:11 +0000)]
Further work on postmaster and postgres reference pages.
Bruce Momjian [Sun, 25 Nov 2001 01:05:37 +0000 (01:05 +0000)]
Fix markup error I introduced.
Tom Lane [Sun, 25 Nov 2001 00:18:48 +0000 (00:18 +0000)]
Add cross-reference to standalone-backend ref page.
Bruce Momjian [Sun, 25 Nov 2001 00:15:30 +0000 (00:15 +0000)]
Mention -c also allows -- GNU long option format, all platforms.
Tom Lane [Sat, 24 Nov 2001 23:28:09 +0000 (23:28 +0000)]
Remove bogus pg_amop insertion commands, per discussion of 25-Oct.
No change in results of script, but perhaps less confusion for people
reading it.
Tom Lane [Sat, 24 Nov 2001 19:57:06 +0000 (19:57 +0000)]
Tweak int8in to accept -
9223372036854775808, per recent discussion in
pgsql-patches.
Bruce Momjian [Sat, 24 Nov 2001 18:55:53 +0000 (18:55 +0000)]
Make initdb --help not line wrap.
Tom Lane [Sat, 24 Nov 2001 04:10:47 +0000 (04:10 +0000)]
Remove extraneous space that somehow got into expected alter_table.out.
The default diff switches prevented regression tests from complaining,
but that doesn't make it correct.
Tom Lane [Fri, 23 Nov 2001 23:41:54 +0000 (23:41 +0000)]
Fix boundary condition in btbulkdelete: don't examine high key in case
where rightmost index page splits while we are waiting to obtain exclusive
lock on it. Not clear this would actually hurt (probably the callback
would always fail), but better safe than sorry.
Also, improve comments describing concurrency considerations in this code.
Tom Lane [Fri, 23 Nov 2001 22:06:20 +0000 (22:06 +0000)]
Copy-editing.
Tom Lane [Fri, 23 Nov 2001 21:08:51 +0000 (21:08 +0000)]
Copy-editing.
Bruce Momjian [Fri, 23 Nov 2001 17:56:13 +0000 (17:56 +0000)]
Improve wording.
Bruce Momjian [Fri, 23 Nov 2001 17:15:30 +0000 (17:15 +0000)]
Document index entries are built first.
Bruce Momjian [Fri, 23 Nov 2001 02:22:04 +0000 (02:22 +0000)]
Update TODO list.
Bruce Momjian [Fri, 23 Nov 2001 01:48:38 +0000 (01:48 +0000)]
Update TODO list.
Bruce Momjian [Thu, 22 Nov 2001 17:18:51 +0000 (17:18 +0000)]
Update TODO list.
Hiroshi Inoue [Thu, 22 Nov 2001 10:18:52 +0000 (10:18 +0000)]
Remove compile errors of psql.exe and libpq.dll under
Multibyte mode.
Bruce Momjian [Thu, 22 Nov 2001 03:42:32 +0000 (03:42 +0000)]
Add mention that ALTER TABLE RENAME affects indexes and sequences too.
Bruce Momjian [Thu, 22 Nov 2001 03:10:16 +0000 (03:10 +0000)]
Update TODO list.
Bruce Momjian [Thu, 22 Nov 2001 03:05:29 +0000 (03:05 +0000)]
Update TODO list.
Bruce Momjian [Thu, 22 Nov 2001 02:46:49 +0000 (02:46 +0000)]
Update TODO list.
Bruce Momjian [Thu, 22 Nov 2001 01:34:12 +0000 (01:34 +0000)]
Update TODO list.
Tom Lane [Thu, 22 Nov 2001 01:22:10 +0000 (01:22 +0000)]
Add description of SSL request protocol. Miscellaneous copy-editing.
Bruce Momjian [Wed, 21 Nov 2001 23:19:25 +0000 (23:19 +0000)]
/doc/src -> /doc for Peter.
Tom Lane [Wed, 21 Nov 2001 22:57:01 +0000 (22:57 +0000)]
Spell 'precedes', 'preceding' correctly in various places.
Tom Lane [Wed, 21 Nov 2001 22:33:14 +0000 (22:33 +0000)]
Add documentation for pg_get_ruledef and friends.
Bruce Momjian [Wed, 21 Nov 2001 21:25:28 +0000 (21:25 +0000)]
Update TODO list.
Bruce Momjian [Wed, 21 Nov 2001 21:16:58 +0000 (21:16 +0000)]
Remove mention of internals.ps.
Tom Lane [Wed, 21 Nov 2001 21:12:34 +0000 (21:12 +0000)]
Spelling and grammatical corrections.
Bruce Momjian [Wed, 21 Nov 2001 18:49:50 +0000 (18:49 +0000)]
Update TODO list.
Bruce Momjian [Wed, 21 Nov 2001 18:49:10 +0000 (18:49 +0000)]
Update TODO list.
Tom Lane [Wed, 21 Nov 2001 18:30:58 +0000 (18:30 +0000)]
Insert CommandCounterIncrement call into SPI_cursor_open.
Tom Lane [Wed, 21 Nov 2001 18:29:48 +0000 (18:29 +0000)]
Tweak interval_avg support to avoid coredump with Alpha/Tru64 compiler.
Per report from Bernd Tegge.
Tom Lane [Wed, 21 Nov 2001 18:27:25 +0000 (18:27 +0000)]
Update regress tests to reflect removal of 'current'.
Bruce Momjian [Wed, 21 Nov 2001 15:38:15 +0000 (15:38 +0000)]
Move internals.ps to web cvs.
Bruce Momjian [Wed, 21 Nov 2001 15:08:32 +0000 (15:08 +0000)]
Point to doc/src/postgres.tar.gz, which is where the tarball will be
built, not /doc.
Thomas G. Lockhart [Wed, 21 Nov 2001 06:09:45 +0000 (06:09 +0000)]
Deprecate 'current' date/time constant.
Purge "Postgres" in favor of "PostgreSQL" in docs. ref/ not yet done.
Thomas G. Lockhart [Wed, 21 Nov 2001 05:58:51 +0000 (05:58 +0000)]
Add a few new time zones, and list every time zone mentioned in my
Linux box's time zone database.
Do not allow 'current' as a date/time input value.
Thomas G. Lockhart [Wed, 21 Nov 2001 05:57:33 +0000 (05:57 +0000)]
Repair swapped sign for time minus time routine (time_mi_time()).
Problem reported by Manuel Sugawara (masm@fciencias.unam.mx).
Thomas G. Lockhart [Wed, 21 Nov 2001 05:55:18 +0000 (05:55 +0000)]
Allow 'PostgreSQL' as a date/time formatting style. Formerly, recognized
'Postgres' only, but now accepts both.
Thomas G. Lockhart [Wed, 21 Nov 2001 05:53:41 +0000 (05:53 +0000)]
Deprecate 'current' for date/time input.
Fix up references to "PostgreSQL" rather than "Postgres". Was roughly
evenly split between the two before. ref/ files not yet done.
Thomas G. Lockhart [Wed, 21 Nov 2001 05:52:01 +0000 (05:52 +0000)]
Update for first platforms reported as working
for the upcoming 7.2 release.
Bruce Momjian [Wed, 21 Nov 2001 05:45:31 +0000 (05:45 +0000)]
I think it's patch's size problem that I can't
send patches to pgsql-patches list.
the zh_CN NLS patch is about 80K,
but sended twice and still can emerge on list.
so I've put it at:
http://laser.zhengmai.com.cn/download/zh_CN.po.diff.tar.gz
If possible, please download it and apply it.
(for current CVS).
regards laser
Bruce Momjian [Wed, 21 Nov 2001 05:41:15 +0000 (05:41 +0000)]
Fix beta build, for Marc.
Bruce Momjian [Wed, 21 Nov 2001 05:03:16 +0000 (05:03 +0000)]
// -> /* */, per Tatsuo.
Bruce Momjian [Wed, 21 Nov 2001 03:17:22 +0000 (03:17 +0000)]
Peter Eisentraut wrote:
> So I would base this discussion on the premise "bytea stores binary data"
> (insert examples).
>
> Some stylistic issues:
>
> bytea => <type>bytea</type>
>
> NULLs => zero bytes/bytes of value zero ("NULL" is too overloaded)
>
> 'non-printable' => <quote>nonprintable</quote>
>
> MUST => <emphasis>must</emphasis>
>
Here's a patch against *CVS tip* to address Peter's comments. Please let
me know what you think!
Joe Conway
Bruce Momjian [Wed, 21 Nov 2001 03:15:54 +0000 (03:15 +0000)]
Update for bytea, from Joe Conway
Bruce Momjian [Wed, 21 Nov 2001 02:43:30 +0000 (02:43 +0000)]
Update my2pg.pl for release.
Bruce Momjian [Wed, 21 Nov 2001 02:20:11 +0000 (02:20 +0000)]
Update HISTORY, for Tatsuo.
Tom Lane [Tue, 20 Nov 2001 22:22:24 +0000 (22:22 +0000)]
Bruce's octet_length change breaks this regression test.
Bruce Momjian [Tue, 20 Nov 2001 21:10:38 +0000 (21:10 +0000)]
Include sys/types.h in crypt-des.c. FreeBSD netinet/in.h
needs it.
Seems it is getting compileable...
Marko Kreen
Bruce Momjian [Tue, 20 Nov 2001 21:09:53 +0000 (21:09 +0000)]
Added a few paragraphs to explain current restricted execution environment,
and error handling behavior.
Bradley McLean
Bruce Momjian [Tue, 20 Nov 2001 20:28:31 +0000 (20:28 +0000)]
Here's a patch adding documentation for the PQescapeBytea function to
libpq.sgml
I was trying (but gave up) to cross-reference back to the input escape
table in the User's Guide, but could not get the documentation to
compile with a cross-book xref (missing IDREF error). Can a cross-book
xref be done?
Joe Conway
Bruce Momjian [Tue, 20 Nov 2001 18:54:07 +0000 (18:54 +0000)]
Duh, my regexp's missed bunch of them. Here's next batch, this
should be all.
Marko Kreen
Bruce Momjian [Tue, 20 Nov 2001 18:23:37 +0000 (18:23 +0000)]
Add mention of template1 usage.
Bruce Momjian [Tue, 20 Nov 2001 15:50:53 +0000 (15:50 +0000)]
pgcrypto uses non-standard type uint, which causes compile
failures on FreeBSD. This patch replaces uint -> unsigned.
This was reported by Daniel Holtzman against 0.4pre3 standalone
package, but it needs fixing in contrib/pgcrypto too.
Marko Kreen
Bruce Momjian [Tue, 20 Nov 2001 15:42:44 +0000 (15:42 +0000)]
I've created a new section to func.sgml, "Binary String Functions and
Operators", plagiarized shamelessly from the "String Functions and
Operators" section. There were enough differences that it made sense (at
least to me) to give this its own section instead of cramming it in with
normal string functions. This way I could also make the examples
relevant, which is particularly important for bytea.
One thing I think worth mentioning: while documenting the trim()
function I realized that I never implemented the bytea equivalent of
rtrim and ltrim. Therefore, the 'leading' and 'trailing' forms of trim,
available with text, are not available with bytea (I'd be happy to
correct this, but since it would require an initdb, I guess not until
7.3) -- the submitted doc accurately reflects this.
I will look for other areas of the docs that need mention of bytea, but
any guidance would be much appreciated.
--
Here's a second bytea documentation patch. This one significantly
expands the "Binary Data" section added by Bruce recently.
Joe Conway
Bruce Momjian [Tue, 20 Nov 2001 15:28:37 +0000 (15:28 +0000)]
Update TODO list.
Tom Lane [Tue, 20 Nov 2001 04:27:49 +0000 (04:27 +0000)]
Expand discussion of logfile management a little bit.
Bruce Momjian [Tue, 20 Nov 2001 04:18:49 +0000 (04:18 +0000)]
Update HISTORY to current changes.
PostgreSQL Daemon [Tue, 20 Nov 2001 03:51:31 +0000 (03:51 +0000)]
update configure.in for b3 ...
Tom Lane [Tue, 20 Nov 2001 02:46:13 +0000 (02:46 +0000)]
Some minor tweaks of REINDEX processing: grab exclusive lock a little
earlier, make error checks more uniform.
Tom Lane [Tue, 20 Nov 2001 02:45:00 +0000 (02:45 +0000)]
Expand description of how to use REINDEX.
Tatsuo Ishii [Tue, 20 Nov 2001 01:32:29 +0000 (01:32 +0000)]
Simplify pg_convert() in that it calls pg_convert2 using new fmgr interface.
Tom Lane [Tue, 20 Nov 2001 00:27:13 +0000 (00:27 +0000)]
Double quotes in ln command to guard against spaces in path.
Bruce Momjian [Mon, 19 Nov 2001 23:19:21 +0000 (23:19 +0000)]
Change 'return ;' to 'return;'; remove space.
Tom Lane [Mon, 19 Nov 2001 23:17:38 +0000 (23:17 +0000)]
Fill in empty tutorial section about transactions.
Bruce Momjian [Mon, 19 Nov 2001 23:16:46 +0000 (23:16 +0000)]
Indent jdbc case labels using pgjindent.
Bruce Momjian [Mon, 19 Nov 2001 22:43:13 +0000 (22:43 +0000)]
More jdbc comment cleanups. Code looks very nice now.
Bruce Momjian [Mon, 19 Nov 2001 22:36:11 +0000 (22:36 +0000)]
Update pgindent README so it gets *.java.in files.
Bruce Momjian [Mon, 19 Nov 2001 22:33:39 +0000 (22:33 +0000)]
JDBC indenting, comment cleanups.
Bruce Momjian [Mon, 19 Nov 2001 20:02:25 +0000 (20:02 +0000)]
Update TODO list.
Tom Lane [Mon, 19 Nov 2001 19:51:20 +0000 (19:51 +0000)]
Tweak format_type so that we get good behavior for both column type
display (with a typemod) and function arg/result type display (without
a typemod).
Bruce Momjian [Mon, 19 Nov 2001 19:15:07 +0000 (19:15 +0000)]
Fix arg coerect match text type, per Tom.
Tom Lane [Mon, 19 Nov 2001 19:03:56 +0000 (19:03 +0000)]
Try to be a little bit clearer about the implications of GRANT TO PUBLIC
and REVOKE FROM PUBLIC: the latter is not the same as 'revoke from all
users', but the ref page blurred the difference.
Bruce Momjian [Mon, 19 Nov 2001 18:21:10 +0000 (18:21 +0000)]
Make text octet_length() return non-compressed length to be consistent
with other data types, per disucssion. Encoding issue still open.
Bruce Momjian [Mon, 19 Nov 2001 18:10:38 +0000 (18:10 +0000)]
Update TODO list.
Tom Lane [Mon, 19 Nov 2001 09:05:02 +0000 (09:05 +0000)]
Grammatical and spelling fixes.
Tatsuo Ishii [Mon, 19 Nov 2001 06:48:39 +0000 (06:48 +0000)]
Fix nasty bugs in pg_convert() and pg_convert2().
o they sometimes returns a result garbage string appended.
o they do not work if client encoding is different from server
encoding
Hiroshi Inoue [Mon, 19 Nov 2001 06:26:00 +0000 (06:26 +0000)]
Fix comment at top of file to match file name.
Tom Lane [Mon, 19 Nov 2001 06:06:21 +0000 (06:06 +0000)]
pg_restore should exit with status 0, not 1, on success.
Tom Lane [Mon, 19 Nov 2001 05:37:53 +0000 (05:37 +0000)]
Fix a few typos, grammatical problems, etc in new tutorial material.
Overall a really nice job here, Peter ...
Tom Lane [Mon, 19 Nov 2001 03:58:25 +0000 (03:58 +0000)]
A bunch of small doco updates motivated by scanning the comments on
the interactive docs.
Tom Lane [Sun, 18 Nov 2001 23:24:16 +0000 (23:24 +0000)]
Add example of using 'sameuser' followed by 'all' pg_hba records to
enforce a limit on who can connect to databases other than their own.
From a recent discussion in pg-admin.