Commit Graph

12128 Commits

Author SHA1 Message Date
Bruce Momjian 670547014d Add:
> * Inline simple SQL functions to avoid overhead (Tom)
2002-02-22 04:19:37 +00:00
Dave Cramer 391e1f7b7f fixed compile error 2002-02-22 03:22:31 +00:00
Bruce Momjian 7364208ad2 Add NAMEDATALEN discussion.
<   first, breaks notify API;
>   first, breaks notify API;  [namedatalen]
2002-02-22 03:05:26 +00:00
Bruce Momjian 1149bb21a4 Add discussion. 2002-02-22 03:04:48 +00:00
Dave Cramer 8c17e4e0fc This patch fixes the exception thrown to inform the user the method
getColumnClassName(int) is not implemented. This will futher fixes method
ResultSet.getObject(int) since it requires the getColumnClassName(int) method to return the proper java class used to map the database column.

auther Ed Yu
2002-02-22 02:58:24 +00:00
Dave Cramer deaad93462 Patch from Cormac Twomey
fixes getIndexInfo throwing NullPointerException
fixes getIndexInfo improper results when multiple key indexs are used
2002-02-22 02:40:09 +00:00
Dave Cramer 0786c61c14 Patch from Cormac Twomey
fixes getIndexInfo throwing NullPointerException
fixes getIndexInfo improper results when multiple key indexs are used
2002-02-22 02:17:13 +00:00
Dave Cramer 178961ad47 now compiles clean with jdk 1.4 2002-02-22 02:07:30 +00:00
Bruce Momjian 2ea01da59b Clarify:
< * Allow ability to easily build only certain interfaces (Marc)
> * Better document ability to build only certain interfaces (Marc)
2002-02-22 01:28:15 +00:00
Bruce Momjian bc26fd76d9 More wording improvement. 2002-02-22 00:12:08 +00:00
Bruce Momjian e0729ab565 Add:
> * Remove or relicense modules that are not under the BSD license, if possible
2002-02-22 00:12:07 +00:00
Bruce Momjian 581599b903 Improve wording of meaning of /contrib directory. 2002-02-22 00:10:11 +00:00
Bruce Momjian 5028e34f57 Update. 2002-02-21 22:58:11 +00:00
Bruce Momjian 926990b24b Update FAQ. 2002-02-21 22:56:16 +00:00
Bruce Momjian e3e41a648d Small spacing cleanup. 2002-02-21 22:42:04 +00:00
Bruce Momjian 3a95427d42 Wrap some SQL syntax examples so \h shows them better. 2002-02-21 22:39:36 +00:00
Bruce Momjian 5d71160601 Add to replication discussion. 2002-02-21 22:30:22 +00:00
Bruce Momjian 5db2b6e11d Update FAQ. 2002-02-21 22:19:30 +00:00
Bruce Momjian 77d2aa0613 Update FAQ. 2002-02-21 20:15:00 +00:00
Bruce Momjian 7e1de695fe Update FAQ. 2002-02-21 20:13:39 +00:00
Bruce Momjian 170c6760e8 Marc, you get this one. :-) You are the expert on the item:
> * Allow ability to easily build only certain interfaces (Marc)
2002-02-21 05:10:49 +00:00
Tom Lane a40c17e17d Fix comment. 2002-02-20 22:47:12 +00:00
Bruce Momjian 8b9f293e7d Add:
> 	o Allow cursors outside transactions [cursor]
2002-02-20 03:50:33 +00:00
Bruce Momjian 9cfb55c55a Add cursors outside transactions thread. 2002-02-20 03:49:06 +00:00
Bruce Momjian fe3045f5a9 Add savepoints discussion. 2002-02-20 00:44:30 +00:00
Bruce Momjian 6e73984d52 Add schema discussion. 2002-02-20 00:42:01 +00:00
Bruce Momjian 02f3a69571 Add:
> * Clarify use of 'application' and 'command' tags in SGML docs
2002-02-19 22:41:29 +00:00
Bruce Momjian 8a58c7f5bc Add:
> * Improve concurrency of hash indexes
> * Test hash index performance and recommend or discourage usage
2002-02-19 22:34:27 +00:00
Tom Lane d9b01c13a6 Avoid failures in cash_out and cash_words for INT_MIN.
Also, 'fourty' -> 'forty'.
2002-02-19 22:19:34 +00:00
Bruce Momjian a2b4dbd4a7 Clearify:
> * Make single-user local access permissions the default by limiting
>   permissions on the socket file (Peter E)
2002-02-19 21:38:29 +00:00
Bruce Momjian 0e8c26eeca Added:
---
> * Improve caching of attribute offsets when NULLs exist in the row
2002-02-19 21:36:58 +00:00
Tom Lane 2220a2b5d7 Add casts to suppress gcc warnings on Solaris (where apparently pid_t
is different from int).
2002-02-19 20:45:04 +00:00
Bruce Momjian 0519a1a1f7 Update as done:
> * -Cache system catalog information in per-database files (Tom)
2002-02-19 20:31:31 +00:00
Tom Lane 7863404417 A bunch of changes aimed at reducing backend startup time...
Improve 'pg_internal.init' relcache entry preload mechanism so that it is
safe to use for all system catalogs, and arrange to preload a realistic
set of system-catalog entries instead of only the three nailed-in-cache
indexes that were formerly loaded this way.  Fix mechanism for deleting
out-of-date pg_internal.init files: this must be synchronized with transaction
commit, not just done at random times within transactions.  Drive it off
relcache invalidation mechanism so that no special-case tests are needed.

Cache additional information in relcache entries for indexes (their pg_index
tuples and index-operator OIDs) to eliminate repeated lookups.  Also cache
index opclass info at the per-opclass level to avoid repeated lookups during
relcache load.

Generalize 'systable scan' utilities originally developed by Hiroshi,
move them into genam.c, use in a number of places where there was formerly
ugly code for choosing either heap or index scan.  In particular this allows
simplification of the logic that prevents infinite recursion between syscache
and relcache during startup: we can easily switch to heapscans in relcache.c
when and where needed to avoid recursion, so IndexScanOK becomes simpler and
does not need any expensive initialization.

Eliminate useless opening of a heapscan data structure while doing an indexscan
(this saves an mdnblocks call and thus at least one kernel call).
2002-02-19 20:11:20 +00:00
Tom Lane 8e2998d8a6 Remove some unnecessary pqsignal() calls to shave a few cycles off
backend startup.
2002-02-19 19:54:43 +00:00
Tom Lane 6e546c286c Arrange to call localtime() during postmaster startup. On most Unixen,
the first call of localtime() in a process will read /usr/lib/tztab or
local equivalent.  Better to do this once in the postmaster and inherit
the data by fork() than to have to do it during every backend start.
2002-02-19 19:53:35 +00:00
Tom Lane 9103372f52 Avoid calling pq_flush just after sending AUTH_REQ_OK; this saves one
send() and probable process context swap during backend startup.
2002-02-19 19:49:09 +00:00
Peter Eisentraut 8adf56f77a Privileges on functions and procedural languages 2002-02-18 23:11:58 +00:00
Peter Eisentraut 5e03503126 Set version to 7.3devel. 2002-02-18 21:46:17 +00:00
Bruce Momjian 04802852b6 Add:
> 	o Generate failure on short COPY lines rather than pad NULLs
2002-02-18 16:54:38 +00:00
Tom Lane c89e0d9666 Minor copy-editing. 2002-02-18 16:13:10 +00:00
Tom Lane e4dd067398 Replace number-of-distinct-values estimator equation, per recent
pghackers discussion.
2002-02-18 16:04:14 +00:00
Bruce Momjian b4a5fa4518 Remove MAX/MIN() macros, use c.h Max/Min() instead. 2002-02-18 14:25:40 +00:00
Bruce Momjian d622cf867b Disable LIMIT #,# syntax, as agreed to months ago. Print message saying
to use separate LIMIT/OFFSET clauses.
2002-02-18 06:49:20 +00:00
Bruce Momjian 890a012d0a Reorder postgresql.conf WAL section to be clearer. 2002-02-18 06:42:54 +00:00
Bruce Momjian 5651a1665f Don't mention TIOGA in Makefile and move strdup.c rule into proper
'ifdef' in Makefile.
2002-02-18 06:03:23 +00:00
Bruce Momjian fb8e3f15c0 Add code to preserve paren level display after \g, as submitted months ago. 2002-02-18 05:57:41 +00:00
Hiroshi Inoue c03e7fbadc Remove compile warnings in multibute mode. 2002-02-18 05:54:50 +00:00
Bruce Momjian fbcc0d69e8 Fix param handling of create* admin scripts as described months ago.
Properly handles default values.
2002-02-18 05:48:45 +00:00
Bruce Momjian c9361a7a9c Remove CHECKPOINT call from pgbench -- Not needed and affects performance. 2002-02-18 05:46:41 +00:00