Commit Graph

2549 Commits

Author SHA1 Message Date
Bruce Momjian
360e61e1f5 Update FAQ. 2001-10-14 23:27:31 +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
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
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
Bruce Momjian
c24216bea8 Fix reverse FOR loop to work properly, uppercase cleanup in file. 2001-10-12 21:19:09 +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
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
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
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
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
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
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
Bruce Momjian
c7c280f655 Update TODO list. 2001-10-08 17:10:11 +00:00
Bruce Momjian
bbea129681 Update TODO list. 2001-10-08 03:23:37 +00:00
Bruce Momjian
6ec644057a Update TODO list. 2001-10-05 20:43:09 +00:00
Bruce Momjian
343318028f ouput -> output
Oliver Elphick
2001-10-05 15:50:11 +00:00
Peter Eisentraut
a50696c9e1 Finetuning for legalnotice in print output. Add some "ASCII markup" for
text output.
2001-10-04 22:30:14 +00:00
Peter Eisentraut
ede3a1ea16 Finetuning for better print formatting 2001-10-04 22:28:44 +00:00
Peter Eisentraut
ddcf1bca74 Replace simplelists with itemizedlists for better formatting 2001-10-04 22:27:58 +00:00
Peter Eisentraut
334368fb68 Rewording 2001-10-04 22:27:18 +00:00
Peter Eisentraut
536394e73a Fix spacing to get proper URL formatting in print output 2001-10-04 22:26:27 +00:00
Peter Eisentraut
255bd588a7 Hack for Jade vs TeX interpretation of "--" 2001-10-04 22:25:48 +00:00
Tom Lane
03b0a589d1 Consider interpreting a function call as a trivial (binary-compatible)
type coercion after failing to find an exact match in pg_proc, but before
considering interpretations that involve a function call with one or
more argument type coercions.  This avoids surprises wherein what looks
like a type coercion is interpreted as coercing to some third type and
then to the destination type, as in Dave Blasby's bug report of 3-Oct-01.
See subsequent discussion in pghackers.
2001-10-04 22:06:46 +00:00
Bruce Momjian
c4566933b1 Change some 7.2 mentions to version macro. 2001-10-04 04:46:43 +00:00
Bruce Momjian
864059c2c1 Update TODO list. 2001-10-04 04:24:24 +00:00
Bruce Momjian
1d75834722 Update TODO list. 2001-10-04 04:23:13 +00:00
Bruce Momjian
a2a0f7b79b Update TODO list. 2001-10-03 22:27:58 +00:00
Tom Lane
2e5fda7b7e DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
'aggname (aggtype)'.  The old syntax 'aggname aggtype' is still accepted
for backwards compatibility.  Fix pg_dump, which was actually broken for
most cases of user-defined aggregates.  Clean up error messages associated
with these commands.
2001-10-03 20:54:22 +00:00
Bruce Momjian
c8ae5c2de1 Update TODO list. 2001-10-03 18:36:03 +00:00
Bruce Momjian
683e47ae70 Update TODO list. 2001-10-03 18:35:41 +00:00
Bruce Momjian
873dd24313 Update TODO list. 2001-10-03 17:38:41 +00:00
Bruce Momjian
b3580dc571 Update TODO list. 2001-10-03 17:38:13 +00:00
Bruce Momjian
4a147ba641 Update TODO list. 2001-10-03 16:05:43 +00:00
Thomas G. Lockhart
a51de40fb6 Minor fixup in spacing for tabular information. 2001-10-03 05:24:22 +00:00
Tom Lane
f2c657375d Add CREATE OR REPLACE FUNCTION syntax to allow replacing a function
definition without changing the function's OID, thereby not breaking
rules, views, triggers, etc that depend on it.  From Gavin Sherry.
2001-10-02 21:39:36 +00:00
Bruce Momjian
f02ffdf4bd Update TODO list. 2001-10-02 01:21:16 +00:00
Bruce Momjian
c53457b5a6 Update TODO list. 2001-10-02 01:20:46 +00:00
Bruce Momjian
7ac746957c Update TODO list. 2001-10-02 01:20:14 +00:00
Bruce Momjian
80ba0da5ce Update TODO list. 2001-10-02 01:20:05 +00:00
Tom Lane
d7bdfab492 Fix typo (block size is 8 kB not 8192 kB). 2001-10-01 22:44:31 +00:00
Bruce Momjian
95b2a2a34f Fix wording. 2001-10-01 21:47:24 +00:00
Bruce Momjian
735594ff08 Update docs for 7.2 mention where appropriate. 2001-10-01 17:46:46 +00:00
Bruce Momjian
034895125d > > > > > - PostgreSQL requires to be compiled with --enable-multibyte
> > > > >   and --enable-unicode-convertion if it ought to work correctly
> > > > >   with Tcl/Tk >= 8.1 (client or server side).
> > > > >
> > > > > - PL/Tcl needs to be changed to use pg_do_encoding_conversion
> > > > >   if it runs on a Tcl version >= 8.1 .
> > >
> > > > I'll do pl/tcl part in the next version of patch. Using this approach we
> > > > can eliminate overhead for databases in UNICODE.
> > >
> > > Any progress on this?  I'd prefer to get rid of this --enable-pltcl-utf
> > > option before release.
> >
> > Done
> >
> > Next version removes --enable-pltcl-utf switch and enables embedded
> > utf conversion of pgsql if tcl version >=8.1 and --enable-unicode-conversion
2001-10-01 15:33:31 +00:00
Tatsuo Ishii
8ae8ddbb8e Update multibyte Japanese doc 2001-10-01 08:16:38 +00:00
Tom Lane
f00da6d841 Allow the postmaster to accept changes in PGC_BACKEND GUC variables
from the config file, so that these changes will propagate to backends
started later.  Already-started backends continue to ignore changes
in these variables.
2001-09-30 20:16:21 +00:00
Bruce Momjian
85c2d1c4ca Change tar -T file to tar cat file for BSD tar. 2001-09-30 19:18:29 +00:00
Bruce Momjian
e7bbf4bc1c Change tar -c -f to -cf for BSD tar. 2001-09-30 19:09:57 +00:00
Bruce Momjian
a2727d298d Update TODO list. 2001-09-30 19:01:44 +00:00
Bruce Momjian
e0be609e05 Update TODO list. 2001-09-30 19:01:18 +00:00
Tom Lane
f9f258281e Create a GUC parameter max_files_per_process that is a configurable
upper limit on what we will believe from sysconf(_SC_OPEN_MAX).  The
default value is 1000, so that under ordinary conditions it won't
affect the behavior.  But on platforms where the kernel promises far
more than it can deliver, this can be used to prevent running out of
file descriptors.  See numerous past discussions, eg, pgsql-hackers
around 23-Dec-2000.
2001-09-30 18:57:45 +00:00
Peter Eisentraut
14d330b5b6 Use <mediaobject> instead of <graphic> for forward compatibility. Be more
flexible about the extension of the graphic files, allow for other formats
in print output.  (Generating these formats is not implemented yet.)
2001-09-30 16:05:54 +00:00
Peter Eisentraut
b600319c25 Fix *.gif expansion to be empty when no gif files are used. 2001-09-30 16:01:12 +00:00
Bruce Momjian
36dcd8499f Update TODO list. 2001-09-30 00:50:05 +00:00
Bruce Momjian
52401d818e Update TODO list. 2001-09-30 00:49:15 +00:00
Bruce Momjian
cc4eea8fe1 Update TODO list. 2001-09-30 00:46:15 +00:00
Bruce Momjian
0386ccfed1 Back out change. Too many place to change too close to beta:
* HOLDER/HOLDERTAB rename to PROCLOCKLINK/PROCLOCKLINKTAG (Bruce)

Will return later.
2001-09-30 00:45:48 +00:00
Bruce Momjian
ebfa88c4ec Update TODO list. 2001-09-29 21:37:06 +00:00
Tom Lane
499abb0c0f Implement new 'lightweight lock manager' that's intermediate between
existing lock manager and spinlocks: it understands exclusive vs shared
lock but has few other fancy features.  Replace most uses of spinlocks
with lightweight locks.  All remaining uses of spinlocks have very short
lock hold times (a few dozen instructions), so tweak spinlock backoff
code to work efficiently given this assumption.  All per my proposal on
pghackers 26-Sep-01.
2001-09-29 04:02:27 +00:00
Bruce Momjian
a8385d07c8 Update TODO list. 2001-09-28 21:39:31 +00:00
Thomas G. Lockhart
0b268e5d88 Fix markup to allow compilation. The chapters on failure and recovery
need more work, but at least they have something now.
2001-09-28 20:48:17 +00:00
Bruce Momjian
7fb60b06ff Add to thread thread. 2001-09-28 19:06:50 +00:00
Bruce Momjian
466b644cc9 Add to thread. 2001-09-28 18:56:57 +00:00
Bruce Momjian
abb6134095 Add to threads. 2001-09-28 18:30:05 +00:00
Bruce Momjian
3676e121f0 Update TODO list. 2001-09-28 15:31:25 +00:00
Bruce Momjian
229aa5a54d Update TODO list. 2001-09-28 15:31:08 +00:00
Thomas G. Lockhart
f9681968e0 Add information on new timestamp and timestamptz data types.
Start chapter on recovery techniques. Still needs work for release.
2001-09-28 08:15:35 +00:00
Tom Lane
3d59ad00e8 Remove useless LockDisable() function and associated overhead, per my
proposal of 26-Aug.
2001-09-27 16:29:13 +00:00
Peter Eisentraut
c0a9283742 Rename collect_* options to more user-friendly names. 2001-09-23 21:52:36 +00:00
Bruce Momjian
9e60c0f698 Update TODO list. 2001-09-23 14:01:57 +00:00
Bruce Momjian
6aa7738524 Update TODO list. 2001-09-23 14:01:25 +00:00
Bruce Momjian
8dffc8fbef Update TODO list. 2001-09-23 13:59:17 +00:00
Bruce Momjian
328870a890 One more LIMIT doc update. 2001-09-23 13:34:44 +00:00
Bruce Momjian
296011d87e Update TODO list. 2001-09-23 04:15:13 +00:00
Bruce Momjian
1ea5d1b161 Update TODO list. 2001-09-23 04:13:29 +00:00
Bruce Momjian
c7bc0ddf76 Update TODO list. 2001-09-23 04:08:38 +00:00
Bruce Momjian
0a24c70a8f Add mention of log file rotation with mention of syslog SIGHUP capability. 2001-09-23 04:06:24 +00:00
Bruce Momjian
1aab783b59 Implement TODO item:
* Change LIMIT val,val to offset,limit to match MySQL

Documentation updates too.
2001-09-23 03:39:01 +00:00
Bruce Momjian
ddfdb1e3f1 Update anoncvs info, per Marc. 2001-09-23 01:16:35 +00:00
Bruce Momjian
c36e2b2d0d Update FAQ. 2001-09-23 00:07:50 +00:00
Bruce Momjian
39ceaa19f0 Fix 6.4.* release dates, pointed out by Tom Lane. 2001-09-22 21:36:38 +00:00
Bruce Momjian
f5ab01ada7 WAL file numbers: Sequenatial -> ever-increasing 2001-09-22 03:59:17 +00:00
Peter Eisentraut
91778e890d Suggest running ldconfig after installation if available. 2001-09-21 23:20:02 +00:00
Peter Eisentraut
fdf07fe14f For consistency with the rest of PostgreSQL, rename BLOBs to large objects
in messages and documentation.
2001-09-21 21:58:30 +00:00
Tom Lane
196700c372 Add 'reload' option to pg_ctl to send SIGHUP to the postmaster. 2001-09-21 21:10:56 +00:00
Tom Lane
c1c888a9de Code review for MD5 authorization patch. Clean up some breakage
(salts were always zero!?), add much missing documentation.
2001-09-21 20:31:49 +00:00
Peter Eisentraut
4e77b4a548 Readd test/regress/README file, this time with a well-defined and simple
rule to remake it when necessary.
2001-09-21 18:37:05 +00:00
Tom Lane
35b7601b04 Add an overall timeout on the client authentication cycle, so that
a hung client or lost connection can't indefinitely block a postmaster
child (not to mention the possibility of deliberate DoS attacks).
Timeout is controlled by new authentication_timeout GUC variable,
which I set to 60 seconds by default ... does that seem reasonable?
2001-09-21 17:06:12 +00:00
Tom Lane
c969fed7ec Give VACUUM its own GUC parameter for memory usage, rather than
piggybacking on SortMem.  Add documentation for some recently-added
GUC parameters that had so far escaped it.
2001-09-21 03:32:36 +00:00
Peter Eisentraut
14ac04710a Document the sign() function. 2001-09-20 16:41:26 +00:00
Peter Eisentraut
a1ee06625c Provide tunable knob for x = NULL -> x IS NULL transformation, default to off. 2001-09-20 14:20:28 +00:00
Peter Eisentraut
4a4abd4232 Generate index.html as the root file name of the documentation set,
rather than making index.html a symlink to the autogenerated name.
Fixes fatal problems with tar programs that don't handle symlinks
very well (MacOS X).

(The names user.html, admin.html, etc. are still available as make
targets, but they aren't packaged anymore.)

Use the manifest file that the stylesheets generate as the file list
for packaging.  Put graphics in the right place while building, not
while packaging, so you can actually look at them after building.
2001-09-18 12:08:27 +00:00
Tom Lane
89fa551808 EXPLAIN ANALYZE feature to measure and show actual runtimes and tuple
counts alongside the planner's estimates.  By Martijn van Oosterhout,
with some further work by Tom Lane.
2001-09-18 01:59:07 +00:00
Peter Eisentraut
27d2890b87 Unify the zip rules and variables. 2001-09-17 23:00:27 +00:00
Tom Lane
2aa6ad1183 Update documentation's info about location of our CVSROOT. 2001-09-16 23:52:29 +00:00
Peter Eisentraut
d3215af7ad Update intro in face of TOAST. 2001-09-16 22:53:52 +00:00
Peter Eisentraut
264f8f2b6c Install dynamically loadable modules into a private subdirectory
under libdir, for a cleaner separation in the installation layout
and compatibility with binary packaging standards.  Point backend's
default search location there.  The contrib modules are also
installed in the said location, giving them the benefit of the
default search path as well.  No changes in user interface
nevertheless.
2001-09-16 16:11:11 +00:00
Bruce Momjian
73a4bcc1aa Point to HISTORY File for current info. 2001-09-16 04:18:57 +00:00
Bruce Momjian
f5db0bc968 Add list of 7.2 changes in preparation for beta. 2001-09-16 04:12:35 +00:00
Peter Eisentraut
1b506c9661 updates 2001-09-15 19:56:59 +00:00
Peter Eisentraut
d694260765 Markup examples as examples. 2001-09-15 16:08:59 +00:00
Peter Eisentraut
4284002d35 Markup examples as examples. Fix formatting of examples. 2001-09-15 00:48:59 +00:00
Peter Eisentraut
184c4afcd6 Some formatting changes, add CSS stylesheet. Include indexes in
documentation tarball builds.
2001-09-14 20:37:55 +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
Bruce Momjian
4f0e6e3345 Update TODO list. 2001-09-14 03:21:42 +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
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
Peter Eisentraut
351a0c1736 Replace ASCII-quotes with proper markup. 2001-09-13 15:55:24 +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
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
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
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
d7f3cbc288 Fix regression test in the case of building as root. 2001-09-11 02:24:52 +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
Bruce Momjian
0682c26ed5 Update TODO list. 2001-09-10 15:21:20 +00:00
Tatsuo Ishii
531126c854 Short version of install procedure fails due to lacking chown. 2001-09-10 08:46:46 +00:00
Tatsuo Ishii
35d3c85ac0 The usage of kill is incorrect (lacks "data"). Anyway we should use
pg_ctl instead.
2001-09-10 07:17:01 +00:00
Tatsuo Ishii
acb66fc5bf Fix typo. split does not produce ".". 2001-09-10 07:11:28 +00:00
Tatsuo Ishii
0e76f1bb1a Fix typo. 2001-09-10 06:35:34 +00:00
Tatsuo Ishii
f8f0ff6b57 Example program lacks RETURN 2001-09-10 06:30:43 +00:00
Tatsuo Ishii
82b889a044 Fix typo. 2001-09-10 05:57:22 +00:00
Tatsuo Ishii
0d04ffeb0d Fix typo. 2001-09-10 05:46:41 +00:00
Tatsuo Ishii
16a7ec386e Fix initlocation messages 2001-09-10 05:20:23 +00:00
Bruce Momjian
bb35e499ea Remove mention of INV_ARCHIVE. 2001-09-10 04:15:41 +00:00
Tatsuo Ishii
ea41e77c22 fix typo. 2001-09-10 03:02:06 +00:00
Tatsuo Ishii
aa398e5034 Add missing ';' 2001-09-10 02:46:18 +00:00
Bruce Momjian
98d04116d3 Update TODO list. 2001-09-10 02:02:37 +00:00
Bruce Momjian
df7664c166 Update TODO list. 2001-09-10 00:14:29 +00:00
Peter Eisentraut
d07454f559 Markup additions and spell check. (covers Admin Guide) 2001-09-09 23:52:12 +00:00
Peter Eisentraut
84956e71a3 Markup additions and spell check. (covers User's Guide) 2001-09-09 17:21:59 +00:00
Peter Eisentraut
1a63ef056e fix markup 2001-09-08 16:46:34 +00:00
Peter Eisentraut
c0d4d5473a Make the world somewhat safe for (not from) DELETE FROM pg_shadow;
Assign the fixed user id 1 to the user created by initdb.
A stand-alone backend will always set the user id to 1.
(Consequently, the name of that user is no longer important.)

In stand-alone mode, the user id 1 will have implicit superuser
status, to allow repairs even if there are no users defined.

Print a warning message when starting in stand-alone mode when no
users are defined.

Disallow dropping the current user and session user.

Granting/revoking superuser status also grants/revokes usecatupd.
(Previously, it would never grant it back.  This could lead to "deadlocks".)

CREATE USER and CREATE GROUP will start allocating user ids at 100
(unless explicitly specified), to prevent accidental creation of a
superuser (plus some room for future extensions).
2001-09-08 15:24:00 +00:00
Bruce Momjian
20dd23c47a Update TODO list. 2001-09-08 02:42:53 +00:00
Bruce Momjian
1834987fb6 I've attached the fixed version of the patch below. After the
discussion on pgsql-hackers (especially the frightening memory dump in
<12273.999562219@sss.pgh.pa.us>), we decided that it is best not to
use identifiers from an untrusted source at all.  Therefore, all
claims of the suitability of PQescapeString() for identifiers have
been removed.

Florian Weimer
2001-09-07 22:02:32 +00:00
Bruce Momjian
bd9b32803b Here is my much-promised patch to let people add UNIQUE constraints after
table creation time.  Big deal you say - but this patch is the basis of the
next thing which is adding PRIMARY KEYs after table creation time.  (Which
is currently impossible without twiddling catalogs)

Rundown
-------

* I have made the makeObjectName function of analyze.c non-static, and
exported it in analyze.h

* I have included analyze.h and defrem.h into command.c, to support
makingObjectNames and creating indices

* I removed the 'case CONSTR_PRIMARY' clause so that it properly fails and
says you can't add primary keys, rather than just doing nothing and
reporting nothing!!!

* I have modified the docs.

Algorithm
---------

* If name specified is null, search for a new valid constraint name.  I'm
not sure if I should "lock" my generated name somehow tho - should I open
the relation before doing this step?

* Open relation in access exclusive mode

* Check that the constraint does not already exist

* Define the new index

* Warn if they're doubling up on an existing index

Christopher Kings-Lynne
2001-09-07 21:57:53 +00:00
Bruce Momjian
ca5134e694 Update SGML with new hostnames for CVS and CVSup. 2001-09-07 21:36:46 +00:00
Tom Lane
17c03b30b0 Revert treatment of NOTIFY in rules to its pre-7.1 behavior: notify will
occur unconditionally, even if the rule should otherwise execute
conditionally.  This is more useful than giving an error, even though it's
not truly the correct behavior.  Per today's pghackers discussion.
2001-09-07 20:52:31 +00:00
Bruce Momjian
0c585f7506 Update TODO list. 2001-09-07 18:50:07 +00:00
Bruce Momjian
de77c55515 Update TODO list. 2001-09-07 01:29:50 +00:00
Bruce Momjian
4ab2393729 Update tab completion for \d*. 2001-09-07 01:24:18 +00:00
Bruce Momjian
b579d4614f Update FAQ. 2001-09-07 00:51:10 +00:00
Tom Lane
e67bb7af5a Missed a few places that referred to a compile-time limit on
max_connections.
2001-09-07 00:46:42 +00:00
Bruce Momjian
4d8ce9bba3 Update FAQ. 2001-09-07 00:46:00 +00:00
Bruce Momjian
36ed0c98bd Update FAQ. 2001-09-07 00:45:14 +00:00
Bruce Momjian
1fbb2d9cc8 Update transactions for nested idea. 2001-09-06 20:41:30 +00:00
Bruce Momjian
68a3d2ef83 Update TODO list. 2001-09-06 20:40:05 +00:00
Bruce Momjian
e64ca0576b Update TODO list. 2001-09-06 20:37:14 +00:00
Bruce Momjian
e2b668bb00 Update TODO list. 2001-09-06 20:11:07 +00:00
Bruce Momjian
e4cfff6520 Update TODO list. 2001-09-06 16:59:45 +00:00
Bruce Momjian
e9dc342e33 Add mutex test. 2001-09-06 16:51:12 +00:00
Bruce Momjian
11808a9faa Update TODO list. 2001-09-06 16:50:40 +00:00
Bruce Momjian
4f952aaa5b Add to syntax error reporting. 2001-09-06 16:30:46 +00:00
Peter Eisentraut
22ae53d4cd Move the "how to write a PL call handler" parts from the CREATE LANGUAGE
man page to the Programmer's Guide.
2001-09-06 10:28:39 +00:00
Bruce Momjian
311eef41ea Update TODO list. 2001-09-06 03:46:09 +00:00
Bruce Momjian
04c1f72920 PAM authentication:
> pam_strerror() should be used a few more times, rather than just saying
> "Error!".  Also, the configure.in snippet seems wrong.  You add
> -I$pam_prefix/include/security to $INCLUDES and then you #include
> <security/pam_appl.h>.  This whole thing is probably unnecessary, since
> PAM is a system library on the systems where it exists, so the headers
> and libraries are found automatically, unlike OpenSSL and
> Kerberos.

See attached revised patch. (I'm sure the configure.in stuff can be done
right/better, I'm just not enough of a autoconf guru to know what to
change it to.)

Dominic J. Eidson
2001-09-06 03:23:38 +00:00
Bruce Momjian
2a34134b6c - new to_char(interval, text)
- new millisecond (ms) and microsecond (us) support
 - more robus parsing from string - used is separator checking for
   non-exact formats like to_date('2001-9-1', 'YYYY-MM-DD')
 - SGML docs are included

Karel Zak
2001-09-06 03:22:42 +00:00
Bruce Momjian
16910e44de Next version of patch.
Now with documentation update and disabling of UTF conversion for Tcl <=8.0

On Fri, 24 Aug 2001, Vsevolod Lobko wrote:

> On Thu, 23 Aug 2001, Tom Lane wrote:
>
> > > Is this looks better?
> >
> > It does, but one small gripe: the lack of semicolons will probably cause
> > pg_indent to mess up the indentation.  (I know emacs' autoindent mode
> > will not work nicely with it, either.)  Please set up the macros so that
> > you write
> >
> >                         UTF_BEGIN;
> >                         Tcl_DStringAppend(&unknown_src, UTF_E2U(part), -1);
> >                         UTF_END;
> >
> > and then I'll be happy.
>
> Attached revised patch
>
> > Your point about overhead is a good one, so I retract the gripe about
> > using a configure switch.  But please include documentation patches to
> > describe the configure option in the administrator's guide (installation
> > section).
>
> This patch still uses configure switch for enabling feature.
>
> For enabling based on tcl version we have 2 posibilites:
>  1) having feature enabled by default, but in pltcl.c check for tcl
>     version and disable it for old versions
>  2) enable or disable at configure time based on tcl version, but there
>     are problem - current configure don't checks for tcl version at all
>     and my configure skills not enought for adding this
>

Vsevolod Lobko
2001-09-06 02:56:32 +00:00
Tom Lane
6c91eef7b7 Fix handling of pg_type.typdefault per bug report from Dave Blasby.
If there's anyone out there who's actually using datatype-defined
default values, this will be an incompatible change in behavior ...
but the old behavior was so broken that I doubt anyone was using it.
2001-09-06 02:07:42 +00:00
Bruce Momjian
c2ed891512 Overhaul ecpg manual page.
Update Italian jdbc error messages.
2001-09-06 00:23:42 +00:00
Bruce Momjian
0cae3ecf55 Update TODO list. 2001-09-04 16:27:18 +00:00
Bruce Momjian
711aa6ba2c Add java mention. 2001-09-04 15:40:18 +00:00
Bruce Momjian
2ec5eedd4f Update FAQ. 2001-09-04 05:14:36 +00:00
Bruce Momjian
9d634d3917 Update FAQ. 2001-09-04 05:06:20 +00:00
Bruce Momjian
9b77572662 Add mention of bytea data type and escaping rules. 2001-09-04 03:17:54 +00:00
Peter Eisentraut
3c59a9e3b7 Bring references to ipcclean in sync with reality. 2001-09-04 00:22:34 +00:00
Peter Eisentraut
ff5e8a26a2 Fix typo. 2001-09-04 00:18:18 +00:00
Bruce Momjian
34f80de0e6 Add items. 2001-09-03 21:38:37 +00:00
Bruce Momjian
2c1b5de4c0 Add two emails about TODO.detail PL/java discussion. 2001-09-03 21:17:53 +00:00
Peter Eisentraut
89a1ea4207 Put some kind of grammatical uniformity in the <refpurpose> lines. 2001-09-03 12:57:50 +00:00
Peter Eisentraut
60ce9e9279 New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00
Tatsuo Ishii
5608f13028 The actual execution results are different from examples. 2001-08-31 07:45:09 +00:00
Tatsuo Ishii
a32624b45c Actual results are different from examples 2001-08-31 07:30:05 +00:00
Tatsuo Ishii
933fd7e2de Add ; to the create operator. 2001-08-31 04:17:13 +00:00
Tatsuo Ishii
94427b1914 Since 7.1 the data type size of TIME has been increased. 2001-08-31 01:55:25 +00:00
Tatsuo Ishii
7ecff3f39c Fix typo. 2001-08-30 08:16:42 +00:00
Peter Eisentraut
b1a38a4380 Install the SQL command man pages into a section appropriate for each
system.  Some systems did not understand the 'l' section, and in general
it wasn't entirely appropriate.

On SCO OpenServer, the man pages won't be installed at all until someone
figures out their man system.
2001-08-29 19:14:40 +00:00
Peter Eisentraut
2c6b599c04 Remove useless xreflabel. 2001-08-29 19:11:00 +00:00
Peter Eisentraut
f5944af8ba Include directory rearrangement
Client headers are no longer in a subdirectory, since they have been made
namespace-clean.

Internal libpq headers are in a private subdirectory.

Server headers are in a private subdirectory.  pg_config has a new option
to point there.
2001-08-28 14:20:28 +00:00
Tom Lane
a1e28d3505 Fix some typos. 2001-08-27 23:42:34 +00:00
Tom Lane
8e0d642c9b Documentation for transaction-ID-wraparound changes. Add a chapter to
the Admin Guide about routine maintenance tasks.  Currently this only
discusses the various reasons for doing VACUUM, but perhaps it could be
fleshed out with topics like log rotation.
2001-08-26 21:17:12 +00:00
Bruce Momjian
e1635b4402 Back out "Remove outdated documentation section of ecpg." for Michael. 2001-08-26 17:04:02 +00:00
Tom Lane
bc7d37a525 Transaction IDs wrap around, per my proposal of 13-Aug-01. More
documentation to come, but the code is all here.  initdb forced.
2001-08-26 16:56:03 +00:00
Bruce Momjian
d1ee78f296 Document single-letter createuser encryption options. 2001-08-26 04:20:36 +00:00
Tom Lane
2589735da0 Replace implementation of pg_log as a relation accessed through the
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog.  This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log.  Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.
2001-08-25 18:52:43 +00:00
Bruce Momjian
4699d81dc9 Add ENCRYPTED/UNENCRYPTED control in createuser script. 2001-08-25 17:46:11 +00:00
Peter Eisentraut
7e20c35e1c Add ecpg --help and --version. Renumber the exit status codes, which were
documented wrong.
2001-08-24 22:37:36 +00:00
Peter Eisentraut
9cf701f324 Start adding some more documentation about the number types. Make
bigserial and alias for serial8 for consistency with bigint/int8.
2001-08-24 20:03:45 +00:00
Bruce Momjian
680d465b75 Remove outdated documentation section of ecpg. 2001-08-24 18:08:25 +00:00
Peter Eisentraut
968d7733a1 Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
places that were including the wrong files.
2001-08-24 14:07:50 +00:00
Bruce Momjian
839c7924ec Update TODO list. 2001-08-23 14:42:05 +00:00
Peter Eisentraut
627c0d4472 Add option to output SET SESSION AUTHORIZATION commands rather than
\connect, to avoid possible password prompts and such, at the drawback of
having to have superuser access.
2001-08-22 20:23:24 +00:00
Tom Lane
f933766ba7 Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in
pgsql-hackers.  pg_opclass now has a row for each opclass supported by each
index AM, not a row for each opclass name.  This allows pg_opclass to show
directly whether an AM supports an opclass, and furthermore makes it possible
to store additional information about an opclass that might be AM-dependent.
pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we
previously expected the user to remember to provide in CREATE INDEX commands.
Lossiness is no longer an index-level property, but is associated with the
use of a particular operator in a particular index opclass.

Along the way, IndexSupportInitialize now uses the syscaches to retrieve
pg_amop and pg_amproc entries.  I find this reduces backend launch time by
about ten percent, at the cost of a couple more special cases in catcache.c's
IndexScanOK.

Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane.

initdb forced.
2001-08-21 16:36:06 +00:00
Bruce Momjian
c89dc74001 Update TODO list. 2001-08-21 11:07:48 +00:00
Bruce Momjian
c5325c03f9 Update FAQ. 2001-08-21 11:05:54 +00:00
Bruce Momjian
bca9d0cdf4 Add SCM_CREDS to get owner of unix-domain socket on BSD-like systems. 2001-08-21 00:33:28 +00:00
Bruce Momjian
04fdf73a05 Update FAQ. 2001-08-20 20:37:19 +00:00
Tom Lane
d4f4b971a4 Sequences are now based on int8, not int4, arithmetic. SERIAL pseudo-type
has an alias SERIAL4 and a sister SERIAL8.  SERIAL8 is just the same
except the created column is type int8 not int4.
initdb forced.  Note this also breaks any chance of pg_upgrade from 7.1,
unless we hack up pg_upgrade to drop and recreate sequences.  (Which is
not out of the question, but I don't wanna do it.)
2001-08-16 20:38:56 +00:00
Bruce Momjian
bcb0ccf5be Add new MD5 pg_hba.conf keyword. Prevent fallback to crypt. 2001-08-16 16:24:16 +00:00
Tatsuo Ishii
1e59edd298 Fix typo. pg_dump -B --> pg_dump -b 2001-08-16 04:30:41 +00:00
Bruce Momjian
b5b0ce2bb7 Remove unneeded patch. 2001-08-15 19:42:34 +00:00
Bruce Momjian
4d0c90b82f Remove UNDO dicussion. It was inconclusive, and too large. 2001-08-15 19:41:59 +00:00
Bruce Momjian
38bb1abcda Use MD5 for wire protocol encryption for >= 7.2 client/server.
Allow pg_shadow to be MD5 encrypted.
Add ENCRYPTED/UNENCRYPTED option to CREATE/ALTER user.
Add password_encryption postgresql.conf option.
Update wire protocol version to 2.1.
2001-08-15 18:42:16 +00:00
Tatsuo Ishii
397f65d102 Add convert. 2001-08-15 07:10:12 +00:00
Bruce Momjian
495f996765 Put back changes I overwrote in packaging 7.1.3. 2001-08-14 23:38:20 +00:00
Tom Lane
5f7c2bdb53 sum() on int2 and int4 columns now uses an int8, not numeric, accumulator
for speed reasons; its result type also changes to int8.  avg() on these
datatypes now accumulates the running sum in int8 for speed; but we still
deliver the final result as numeric, so that fractional accuracy is
preserved.

count() now counts and returns in int8, not int4.  I am a little nervous
about this possibly breaking users' code, but there didn't seem to be
a strong sentiment for avoiding the problem.  If we get complaints during
beta, we can change count back to int4 and add a "count8" aggregate.
For that matter, users can do it for themselves with a simple CREATE
AGGREGATE command; the int4inc function is still present, so no C hacking
is needed.

Also added max() and min() aggregates for OID that do proper unsigned
comparison, instead of piggybacking on int4 aggregates.

initdb forced.
2001-08-14 22:21:59 +00:00
Bruce Momjian
6f2943b52e Add HISTORY for 7.1.3. Packaging done. 2001-08-14 21:21:40 +00:00
Peter Eisentraut
ee8ed85da3 Make LANCOMPILER clause in CREATE LANGUAGE optional. Allow "identifier"
syntax for language names (instead of 'string').

createlang now handles the case where a second language uses the same call
handler as an already installed language (e.g., plperl/plperlu).

droplang now handles the reverse case, i.e., dropping a language where
the call handler is still used by another language.  Moreover, droplang
can now be used to drop any user-defined language, not just the supplied
ones.
2001-08-13 21:34:54 +00:00
Bruce Momjian
4d7af98759 Patch NAME section of reference pages. 2001-08-13 15:24:46 +00:00
Peter Eisentraut
a0c449a0f8 Make pg_dump handle the new privileges.
Don't hardcode the maximum accepted server version, use PG_VERSION instead.
Install a notice processor so notices are handled like error messages.
Word smithing.
2001-08-12 19:02:39 +00:00
Tom Lane
548512ad03 Document column-name-list option of CREATE VIEW ... which has been there
awhile, but the man page didn't know it.
2001-08-10 23:49:20 +00:00
Tom Lane
6568939852 Mention that COPY cannot be used on a view (per recent suggestion).
Other small improvements.
2001-08-10 23:09:30 +00:00
Tom Lane
135dea6322 Since PQoidStatus is deprecated, we should probably stop using it in
our own code ...
2001-08-10 22:50:10 +00:00
Tom Lane
ef6ccb0bcc Cleanup some minor oversights in optional-OIDs stuff. 2001-08-10 20:52:25 +00:00
Tom Lane
bf56f0759b Make OIDs optional, per discussions in pghackers. WITH OIDS is still the
default, but OIDS are removed from many system catalogs that don't need them.
Some interesting side effects: TOAST pointers are 20 bytes not 32 now;
pg_description has a three-column key instead of one.

Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey
has some usefulness; pg_dump dumps comments on indexes, rules, and
triggers in a valid order.

initdb forced.
2001-08-10 18:57:42 +00:00
Bruce Momjian
e24b4b2832 No longer need TODO.detail/lock. 2001-08-10 15:43:49 +00:00
Bruce Momjian
24641335cf The portion about the PQgetssl() function in the libpq documentation
appears to be duplicated (two identical <listitems> right after each
other). Here is a quick patch to remove one instance of it.

Magnus Hagander
2001-08-10 14:42:47 +00:00
Bruce Momjian
77a69a2ed1 Patch to LOCK multiple tables in one LOCK command.
Neil Padgett
2001-08-10 14:30:15 +00:00
Bruce Momjian
49eb4f47c7 Update TODO list. 2001-08-10 14:29:30 +00:00
Bruce Momjian
fa59ac4933 Update TODO list. 2001-08-10 14:23:33 +00:00
Peter Eisentraut
e65007827a corrections from the DocNotes 2001-08-09 16:20:43 +00:00
Peter Eisentraut
e29c16dc50 some clarifications inspired by the DocNotes 2001-08-07 22:41:49 +00:00
Tom Lane
af3487e9bf Update now-obsolete example of platform-specific regression comparison
files.
2001-08-06 22:53:26 +00:00
Tom Lane
246793469e Modify partial-index-predicate applicability tester to test whether
clauses are equal(), before trying to match them up using btree opclass
inference rules.  This allows it to recognize many simple cases involving
non-btree operations, for example 'x IS NULL'.  Clean up code a little.
2001-08-06 18:09:45 +00:00
Bruce Momjian
d1c9633060 Back out LOCK A,B,C patch at Tom's suggestion. 2001-08-04 22:01:39 +00:00
Bruce Momjian
16365ac75b Add LOCK A,B,C functionality as LOCK A;LOCK B;LOCK C; as agreed.
Neil Padgett
2001-08-04 19:39:00 +00:00
Tom Lane
fd61fbe837 For some reason, CREATE TYPE has only accepted alignment specifications
of 'int4' and 'double'.  Add 'char' and 'int2' to allow user-defined types
to access the full set of supported alignments.
2001-08-03 20:47:40 +00:00
Tom Lane
f59f3c8899 Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie,
it copies the tupdesc into upper-executor memory.  This is necessary
for returning tuple descriptors without leaking all of lower exec memory.
2001-08-02 18:08:43 +00:00
Bruce Momjian
84d2c518fe I noticed that pltcl didn't have any way to get to SPI_lastoid like plpgsql does.. I started using pltcl a lot because I like to decide when and how my queries get planned.. so I put one together really quick
Sorry I don't have the original around to make a quick diff, but its a very small change... I think this should be in the next release, there's no reason not to have it.

its a function with no expected arguments, so you can use it like:
spi_exec "INSERT INTO mytable(columns...) VALUES(values..)"
set oid [spi_lastoid]
spi_exec "SELECT mytable_id from mytable WHERE oid=$oid"

It just didn't make sense for me to use plpgsql and pltcl, or just screw
them both and use SPI from C.


bob@redivi.com
2001-08-02 15:45:55 +00:00
Tom Lane
bc042e0a77 Support ident authentication on local (Unix) socket connections, if the
system supports SO_PEERCRED requests for Unix sockets.  This is an
amalgamation of patches submitted by Helge Bahmann and Oliver Elphick,
with some editorializing by yours truly.
2001-08-01 23:25:39 +00:00
Bruce Momjian
8ef0aa170f Add documentation changes for new pg_hba.conf behavior. 2001-08-01 00:48:52 +00:00
Bruce Momjian
6a6da4f291 Update TODO list. 2001-07-31 13:21:31 +00:00
Tom Lane
6d0d838ceb Remove WIN32_NON_BLOCKING_CONNECTIONS tests, since we don't need 'em
anymore.
2001-07-31 02:14:49 +00:00
Bruce Momjian
9c2b1a92b5 Update TODO list. 2001-07-30 17:58:25 +00:00
Bruce Momjian
27f9d6ee2e Update TODO list. 2001-07-30 16:48:48 +00:00
Bruce Momjian
12f59470a1 Remove libpq TODO.detail. We don't need it any more because the item is done. 2001-07-21 04:41:29 +00:00
Bruce Momjian
bf3fcf3de9 Update TODO list. 2001-07-21 04:41:08 +00:00
Bruce Momjian
f6d523c1f2 Update TODO list. 2001-07-21 04:40:07 +00:00
Bruce Momjian
d4042234f9 Update TODO list. 2001-07-20 20:51:31 +00:00
Bruce Momjian
8f75c1b0c7 Update TODO list. 2001-07-20 16:14:55 +00:00
Bruce Momjian
e741737fc3 Update TODO list. 2001-07-20 16:07:32 +00:00
Bruce Momjian
32aa093c44 Update TODO list. 2001-07-20 14:31:28 +00:00
Bruce Momjian
551d8a46ce Update TODO list. 2001-07-20 14:29:56 +00:00
Bruce Momjian
00faa575b0 Update TODO list. 2001-07-20 14:23:33 +00:00
Bruce Momjian
8b77efdded Update TODO list. 2001-07-18 15:37:34 +00:00
Bruce Momjian
ffbd97c8ac Update TODO list. 2001-07-16 21:18:14 +00:00
Bruce Momjian
8ba3548ebf Update TODO list. 2001-07-16 14:34:26 +00:00
Tom Lane
f31dc0ada7 Partial indexes work again, courtesy of Martijn van Oosterhout.
Note: I didn't force an initdb, figuring that one today was enough.
However, there is a new function in pg_proc.h, and pg_dump won't be
able to dump partial indexes until you add that function.
2001-07-16 05:07:00 +00:00
Bruce Momjian
237e5dfa58 Update TODO list. 2001-07-16 05:01:46 +00:00
Bruce Momjian
a9bf773017 Update TODO list. 2001-07-16 05:00:29 +00:00
Tom Lane
c8076f09d2 Restructure index AM interface for index building and index tuple deletion,
per previous discussion on pghackers.  Most of the duplicate code in
different AMs' ambuild routines has been moved out to a common routine
in index.c; this means that all index types now do the right things about
inserting recently-dead tuples, etc.  (I also removed support for EXTEND
INDEX in the ambuild routines, since that's about to go away anyway, and
it cluttered the code a lot.)  The retail indextuple deletion routines have
been replaced by a "bulk delete" routine in which the indexscan is inside
the access method.  I haven't pushed this change as far as it should go yet,
but it should allow considerable simplification of the internal bookkeeping
for deletions.  Also, add flag columns to pg_am to eliminate various
hardcoded tests on AM OIDs, and remove unused pg_am columns.

Fix rtree and gist index types to not attempt to store NULLs; before this,
gist usually crashed, while rtree managed not to crash but computed wacko
bounding boxes for NULL entries (which might have had something to do with
the performance problems we've heard about occasionally).

Add AtEOXact routines to hash, rtree, and gist, all of which have static
state that needs to be reset after an error.  We discovered this need long
ago for btree, but missed the other guys.

Oh, one more thing: concurrent VACUUM is now the default.
2001-07-15 22:48:19 +00:00
Bruce Momjian
1e3eacc6f1 Update TODO list. 2001-07-15 14:34:02 +00:00
Peter Eisentraut
1a17447be1 NLS for libpq. Clean up the message formats and change the documentation
accordingly.
2001-07-15 13:45:04 +00:00
Bruce Momjian
379ac0d03a Update TODO list. 2001-07-13 18:22:03 +00:00
Bruce Momjian
fb02b000a7 Update TODO list. 2001-07-13 17:58:31 +00:00
Bruce Momjian
3647a72262 Update TODO list. 2001-07-13 00:57:37 +00:00
Bruce Momjian
5ab456b7ba Update TODO list. 2001-07-12 21:47:13 +00:00
Bruce Momjian
bc26c83ca9 Add jdbc items. 2001-07-12 19:59:55 +00:00
Tom Lane
3284758a17 Remove grammar restrictions on order of optional clauses in CREATE GROUP.
From Vince Vielhaber.
2001-07-12 18:03:00 +00:00
Bruce Momjian
eaafc9d66c Update TODO list. 2001-07-12 03:53:11 +00:00
Bruce Momjian
7771436e18 > > Put encode() into base system. Used part of Alex' patch
> > for docs, hope he does not mind ;)

Marko Kreen
2001-07-11 22:14:03 +00:00
Bruce Momjian
75d872aa69 More comment out of block quote. 2001-07-11 21:27:07 +00:00
Bruce Momjian
4cf7b823ce Update TODO list. 2001-07-11 20:40:06 +00:00
Bruce Momjian
461ea6b796 Better document use of ident on localhost, per Tom Lane's idea. 2001-07-11 20:32:11 +00:00
Bruce Momjian
62f5badebf Remove mention that PREPARE is not implemented. 2001-07-11 03:43:52 +00:00