Commit Graph

13348 Commits

Author SHA1 Message Date
Bruce Momjian bc8f725a4a Done:
> 	o -Cluster all tables at once using pg_index.indisclustered set during
2002-08-27 04:30:24 +00:00
Bruce Momjian a4965520f6 Add to mmap discussion. 2002-08-27 04:09:01 +00:00
Bruce Momjian a77d34f0b8 This patch updates the lock listing code to use Joe Conway's new
anonymous return type SRF code. It gets rid of the superflous
'pg_locks_result' that Bruce/Tom had commented on. Otherwise, no
changes in functionality.

Neil Conway
2002-08-27 04:00:28 +00:00
Bruce Momjian bda45958a8 This is a 2 line patch to src/interfaces/perl5/GNUMakefile that fixes
the 'override CPPFLAGS' to include the source directory during compile,
and makes the install target look in the proper place for the man page.

Changes are only required when building outside the source directory.

J. R. Nield
2002-08-27 03:57:11 +00:00
Bruce Momjian dd912c6977 This patches replaces a few more usages of strcpy() and sprintf() when
copying into a fixed-size buffer (in this case, a buffer of
NAMEDATALEN bytes). AFAICT nothing to worry about here, but worth
fixing anyway...

Neil Conway
2002-08-27 03:56:35 +00:00
Bruce Momjian e0a77f56e3 Cleanup of SGML 2002-08-27 03:55:17 +00:00
Bruce Momjian c0ad595386 I attach a little patch to make CLUSTER set and reset the indisclustered
bit on the indexes.

I also attach clusterdb and clusterdb.sgml; both of them are blatant
rips of vacuumdb and vacuumdb.sgml, but get the job done.  Please review
them, as I'm probably making a lot of mistakes with SGML and I can't
compile it here.

vacuumdb itself is not very comfortable to use when the databases have
passwords, because it has to connect once for each table (I can probably
make it connect only once for each database; should I?).  Because of
this I added a mention of PGPASSWORDFILE in the documentation, but I
don't know if that is the correct place for that.

Alvaro Herrera
2002-08-27 03:38:28 +00:00
Bruce Momjian b7e272429c Add to skip list in check_guc 2002-08-27 03:06:16 +00:00
Bruce Momjian fd9d665908 Comment cleanup. 2002-08-27 03:02:31 +00:00
Bruce Momjian fc67e1fb94 Script cleanups. 2002-08-27 03:01:13 +00:00
Bruce Momjian f20ec2e8f8 Clean up script. 2002-08-27 02:54:39 +00:00
Bruce Momjian 1051346fb7 Add check_guc utility to compare guc.c and postgresql.conf.sample. 2002-08-27 02:52:42 +00:00
Bruce Momjian e46afb588d Fix units in postgresql.conf. 2002-08-27 02:50:41 +00:00
Bruce Momjian 90997ddaac Add OS X link line example for external functions. 2002-08-26 23:22:47 +00:00
Bruce Momjian 543539bb35 Add discussion of pre-write pages to WAL. 2002-08-26 23:14:15 +00:00
Bruce Momjian 52b784a728 Add:
>   partial page writes [wal]
2002-08-26 23:13:37 +00:00
Bruce Momjian 3109e33eb8 Add:
> * Add CORRESPONDING BY to UNION/INTERSECT/EXCEPT
2002-08-26 23:02:21 +00:00
Bruce Momjian 9ede612245 Add units to postgresql.conf file. 2002-08-26 22:23:07 +00:00
Bruce Momjian c6b67cac6b Remove:
< 	o Add plsh server-side shell language (Peter E)
2002-08-26 22:02:20 +00:00
Bruce Momjian 9072329da8 *** empty log message *** 2002-08-26 22:01:50 +00:00
Bruce Momjian 6f8d160be3 Add to selfjoin DELETE todo. 2002-08-26 21:52:00 +00:00
Bruce Momjian 80d5040fd7 Add:
> * Allow DELETE to handle table aliases for self-joins [delete]
2002-08-26 21:35:32 +00:00
Bruce Momjian 566cde8cdc Add delete selfjoin item. 2002-08-26 21:35:01 +00:00
Bruce Momjian 89f4f4a8e5 Add info on disabled triggers. 2002-08-26 20:03:10 +00:00
Bruce Momjian 339982c850 Add:
> * Allow triggers to be disabled [trigger]
2002-08-26 20:02:45 +00:00
Tom Lane 5d6758fd24 Increase WIDTH_THRESHOLD from 256 to 1K. This addresses recent observation
that ANALYZE would not gather any stats for a CHAR(255) column.  I still
think a width threshold is appropriate for the reasons mentioned in the
code, but we can loosen it at least.
2002-08-26 18:45:57 +00:00
Tom Lane 5cabcfccce Modify array operations to include array's element type OID in the
array header, and to compute sizing and alignment of array elements
the same way normal tuple access operations do --- viz, using the
tupmacs.h macros att_addlength and att_align.  This makes the world
safe for arrays of cstrings or intervals, and should make it much
easier to write array-type-polymorphic functions; as examples see
the cleanups of array_out and contrib/array_iterator.  By Joe Conway
and Tom Lane.
2002-08-26 17:54:02 +00:00
Bruce Momjian 8009c27592 Add 'return' file. 2002-08-26 17:40:27 +00:00
Bruce Momjian c7f3263dfb Add return tuple count item to TODO. 2002-08-26 17:40:00 +00:00
Bruce Momjian 50bbb3a11d Add:
> * Return proper effected tuple count from complex commands [return]
2002-08-26 17:39:31 +00:00
Bruce Momjian d87677022b Add anther sequential scan email. 2002-08-26 17:14:29 +00:00
Bruce Momjian 43e740b317 Add mention of 1 terrabyte databases. 2002-08-26 01:05:43 +00:00
Bruce Momjian f5615ed45d *** empty log message *** 2002-08-26 01:04:44 +00:00
Bruce Momjian e21e02ab12 Add raw file discussion to performance TODO.detail. 2002-08-26 01:04:13 +00:00
Bruce Momjian 7e3f2449d8 Done:
> * -Disallow TRUNCATE on tables that are involved in referential constraints
2002-08-26 00:52:40 +00:00
Bruce Momjian 11825dd96e Add to tablespaces discussion. 2002-08-26 00:22:53 +00:00
Bruce Momjian 15f335eab9 Add to tablespaces file. 2002-08-26 00:19:33 +00:00
Bruce Momjian 39e331be72 Add Bob Devine's name to the optimizer README. 2002-08-25 22:39:37 +00:00
Bruce Momjian a10353ab83 Add file describing error message format. 2002-08-25 20:36:14 +00:00
Bruce Momjian f82bab0952 Add:
> * Make error messages more consistent [error]
2002-08-25 20:30:30 +00:00
Tom Lane 58de480999 Clean up comments to be careful about the distinction between variable-
width types and varlena types, since with the introduction of CSTRING as
a more-or-less-real type, these concepts aren't identical.  I've tried to
use varlena consistently to denote datatypes with typlen = -1, ie, they
have a length word and are potentially TOASTable; while the term variable
width covers both varlena and cstring (and, perhaps, someday other types
with other rules for computing the actual width).  No code changes in this
commit except for renaming a couple macros.
2002-08-25 17:20:01 +00:00
Bruce Momjian d46172e4fa Update docs for 7.2.2 release info. 2002-08-25 14:34:24 +00:00
Bruce Momjian 58e47c40a0 Update Japanese FAQ, from Jun Kuwamura 2002-08-25 12:58:44 +00:00
Tom Lane 976246cc7e The cstring datatype can now be copied, passed around, etc. The typlen
value '-2' is used to indicate a variable-width type whose width is
computed as strlen(datum)+1.  Everything that looks at typlen is updated
except for array support, which Joe Conway is working on; at the moment
it wouldn't work to try to create an array of cstring.
2002-08-24 15:00:47 +00:00
Bruce Momjian cf4d885c67 Done:
> * -SELECT cash_out(2) crashes because of opaque
2002-08-24 11:24:58 +00:00
Barry Lind fe2dec75a9 Enhancements to how queries with bind values are stored internally and sent to
the server.  Previously we allocated a new String object for the entire final
query we were sending to the database.  If you had a big query, or especially
if you had large bind values you ended up with essentially two copies in memory.
This change will reuse the existing objects and therefore should take 1/2 the
memory it does today for a given query.  This restructuring will also allow
in the future the ability to stream bytea data to the server instead of the current approach of pulling it all into memory.
I also fixed a test that was failing on a 7.2 database.
Also renamed some internal variables and some minor cleanup.

 Modified Files:
 	jdbc/org/postgresql/core/QueryExecutor.java
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
 	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
 	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
 	jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
2002-08-23 20:45:49 +00:00
Tom Lane a2a3192802 Further cleanup around the edges of OPAQUE/pseudotype changes. Correct
the declarations of some index access method support functions.  Support
SQL functions returning VOID.
2002-08-23 16:41:38 +00:00
Tatsuo Ishii cf7ee638a7 Adapt for SRF(Set Returning Function). 2002-08-23 08:19:49 +00:00
Bruce Momjian 6415ffe7af Not sure how I fixed it the first time, but here's a fix for another
instance in which the docs mention that 'NAMEDATALEN == 32".

Neil Conway
2002-08-23 04:27:19 +00:00
Bruce Momjian 77072f891b Add space.k> 2002-08-23 03:10:44 +00:00