Commit Graph

11517 Commits

Author SHA1 Message Date
Bruce Momjian d83cadb314 Add mention of template1 usage. 2001-11-20 18:23:37 +00:00
Bruce Momjian 540155b777 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
2001-11-20 15:50:53 +00:00
Bruce Momjian 01e0dae689 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
2001-11-20 15:42:44 +00:00
Bruce Momjian 1337bfa94c Update TODO list. 2001-11-20 15:28:37 +00:00
Tom Lane bb2ff5f2d4 Expand discussion of logfile management a little bit. 2001-11-20 04:27:49 +00:00
Bruce Momjian 7107c3d0cc Update HISTORY to current changes. 2001-11-20 04:18:49 +00:00
PostgreSQL Daemon 6bfc98b699 update configure.in for b3 ... 2001-11-20 03:51:31 +00:00
Tom Lane 604f54cd27 Some minor tweaks of REINDEX processing: grab exclusive lock a little
earlier, make error checks more uniform.
2001-11-20 02:46:13 +00:00
Tom Lane fb726283b6 Expand description of how to use REINDEX. 2001-11-20 02:45:00 +00:00
Tatsuo Ishii 933761e7b1 Simplify pg_convert() in that it calls pg_convert2 using new fmgr interface. 2001-11-20 01:32:29 +00:00
Tom Lane 1436b212cc Double quotes in ln command to guard against spaces in path. 2001-11-20 00:27:13 +00:00
Bruce Momjian 28e92b89f4 Change 'return ;' to 'return;'; remove space. 2001-11-19 23:19:21 +00:00
Tom Lane 0dfe913803 Fill in empty tutorial section about transactions. 2001-11-19 23:17:38 +00:00
Bruce Momjian 09634eafe1 Indent jdbc case labels using pgjindent. 2001-11-19 23:16:46 +00:00
Bruce Momjian 6c8120d68c More jdbc comment cleanups. Code looks very nice now. 2001-11-19 22:43:13 +00:00
Bruce Momjian 46d50783bf Update pgindent README so it gets *.java.in files. 2001-11-19 22:36:11 +00:00
Bruce Momjian f3148bef9f JDBC indenting, comment cleanups. 2001-11-19 22:33:39 +00:00
Bruce Momjian 8f6f16929a Update TODO list. 2001-11-19 20:02:25 +00:00
Tom Lane ed1ff84750 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).
2001-11-19 19:51:20 +00:00
Bruce Momjian 40015cdaae Fix arg coerect match text type, per Tom. 2001-11-19 19:15:07 +00:00
Tom Lane ec62ba9361 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.
2001-11-19 19:03:56 +00:00
Bruce Momjian 6f6567812e Make text octet_length() return non-compressed length to be consistent
with other data types, per disucssion.  Encoding issue still open.
2001-11-19 18:21:10 +00:00
Bruce Momjian 9473f8d5f7 Update TODO list. 2001-11-19 18:10:38 +00:00
Tom Lane 5e86d226e4 Grammatical and spelling fixes. 2001-11-19 09:05:02 +00:00
Tatsuo Ishii 5590d5fe99 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
2001-11-19 06:48:39 +00:00
Hiroshi Inoue 09a2b4f423 Fix comment at top of file to match file name. 2001-11-19 06:26:00 +00:00
Tom Lane abd6014de9 pg_restore should exit with status 0, not 1, on success. 2001-11-19 06:06:21 +00:00
Tom Lane 375dcf9c88 Fix a few typos, grammatical problems, etc in new tutorial material.
Overall a really nice job here, Peter ...
2001-11-19 05:37:53 +00:00
Tom Lane 9b03776ff2 A bunch of small doco updates motivated by scanning the comments on
the interactive docs.
2001-11-19 03:58:25 +00:00
Tom Lane 9f07cb70db 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.
2001-11-18 23:24:16 +00:00
Bruce Momjian 09bf48cf79 Improve comments about duplicate files. 2001-11-18 23:02:19 +00:00
Tom Lane 8cf87ac393 Fix some typos. 2001-11-18 22:27:00 +00:00
Tom Lane 0ad017fc64 Update various obsolete remarks about VACUUM. 2001-11-18 22:17:30 +00:00
Tom Lane ea6f2e6973 Fix typo. 2001-11-18 22:13:48 +00:00
Tom Lane acac465efa utils/geo-decls.h should be utils/geo_decls.h, per report from
StÅphane Raimbault.
2001-11-18 21:28:00 +00:00
Tom Lane deab49566d Mention that LIKE ... ESCAPE '' is allowed to specify no
escape character.
2001-11-18 21:17:10 +00:00
Bruce Momjian 98e05cec5b Update TODO list. 2001-11-18 21:17:04 +00:00
Tom Lane b16f6c6b95 Point out that TRUNCATE can't be used inside a transaction block. 2001-11-18 21:14:20 +00:00
Peter Eisentraut 17f0b55d15 Initial round of tweakage for man pages 2001-11-18 20:35:02 +00:00
Peter Eisentraut 31578cdeac Updates about NLS 2001-11-18 20:33:32 +00:00
Bruce Momjian 834a76fe79 Update TODO list. 2001-11-18 15:32:39 +00:00
Tatsuo Ishii 226211f0af Optimization for bpcharlen, textlen, varcharlen in case of single byte
encodings.
2001-11-18 12:07:07 +00:00
Tom Lane e2548526cf Mention the option to submit bug reports via a web-form. Minor
copy editing.
2001-11-18 07:14:49 +00:00
Tom Lane 5906d7e096 Fix obsolete claim that only btree indexes support multiple columns;
GiST does now, too.  (Someone needs to write a description of GiST
to add to this chapter.  I don't know enough about it ...)
2001-11-18 00:59:00 +00:00
Tom Lane 0729c4a61f Clean up treatment of creating/dropping databases in User's Guide and
Admin Guide.  Move discussion of template databases out of footnotes
in CREATE DATABASE ref page and into a section of the Admin Guide.
Clean up various obsolete claims, do some copy-editing.
2001-11-18 00:38:00 +00:00
Tom Lane c9a85cb276 Copy-editing. 2001-11-17 22:23:55 +00:00
Tom Lane 2043340b87 Expand documentation for sequence functions (nextval and friends).
Place it in the expected place in the User's Guide, rather than
hiding it in the command reference page for CREATE SEQUENCE.
2001-11-17 22:20:34 +00:00
Bruce Momjian 59fdccccf5 Update TODO list. 2001-11-17 19:53:07 +00:00
Bruce Momjian f57eec067d Update TODO list. 2001-11-17 19:29:19 +00:00
Peter Eisentraut d5a951260a Update key words for recent grammar changes 2001-11-17 13:27:16 +00:00