git.postgresql.org Git - postgresql.git/log

git projects / postgresql.git / log
? search:
summary | shortlog | log | commit | commitdiff | tree
first ⋅ prev ⋅ next
postgresql.git
25 years agoUpdate aggregate-function docs for STDDEV, VARIANCE.
commit | commitdiff | tree
Tom Lane [2000年7月17日 03:52:28 +0000 (03:52 +0000)]
Update aggregate-function docs for STDDEV, VARIANCE.

25 years agoRevise aggregate functions per earlier discussions in pghackers.
commit | commitdiff | tree
Tom Lane [2000年7月17日 03:05:41 +0000 (03:05 +0000)]
Revise aggregate functions per earlier discussions in pghackers.
There's now only one transition value and transition function.
NULL handling in aggregates is a lot cleaner. Also, use Numeric
accumulators instead of integer accumulators for sum/avg on integer
datatypes --- this avoids overflow at the cost of being a little slower.
Implement VARIANCE() and STDDEV() aggregates in the standard backend.

Also, enable new LIKE selectivity estimators by default. Unrelated
change, but as long as I had to force initdb anyway...

25 years agoupdate pltcl test to have at least some chance of running ... still
commit | commitdiff | tree
Tom Lane [2000年7月17日 02:22:50 +0000 (02:22 +0000)]
update pltcl test to have at least some chance of running ... still
seems to be busted though ...

25 years agopltcl seems to be broken on HPUX with recent Tcl versions, because
commit | commitdiff | tree
Tom Lane [2000年7月17日 01:26:42 +0000 (01:26 +0000)]
pltcl seems to be broken on HPUX with recent Tcl versions, because
link needs to specify -lc but doesn't. Quick hack to make it better.

25 years agoHmm. I didn't expect a change since I hadn't added tests for the new
commit | commitdiff | tree
Bruce Momjian [2000年7月16日 19:27:29 +0000 (19:27 +0000)]
Hmm. I didn't expect a change since I hadn't added tests for the new
stuff, but fixing the bug that existed in reporting the constraint name
changes the error line. Patch to expected output enclosed.

Stephan Szabo

25 years agoAutomatic dependency tracking
commit | commitdiff | tree
Peter Eisentraut [2000年7月16日 14:50:44 +0000 (14:50 +0000)]
Automatic dependency tracking

The .DEFAULT rule in backend/Makefile is harmful -- removed.
Replace `::' rules by `:'.

25 years agoIncorporate README.fsync into main documentation body
commit | commitdiff | tree
Peter Eisentraut [2000年7月16日 14:47:57 +0000 (14:47 +0000)]
Incorporate README.fsync into main documentation body

25 years agoRevise locale and Kerberos documentation
commit | commitdiff | tree
Peter Eisentraut [2000年7月15日 21:35:47 +0000 (21:35 +0000)]
Revise locale and Kerberos documentation

25 years agoRename templates to match names in makefiles/Makefile.* and include/port.
commit | commitdiff | tree
Peter Eisentraut [2000年7月15日 15:54:52 +0000 (15:54 +0000)]
Rename templates to match names in makefiles/Makefile.* and include/port.
Read templates after compiler is detected. Convert all templates to real
shell scripts. Rename bsd->openbsd, alpha->osf.

25 years agoThis should be a slighly more complete patch for commands/command.c
commit | commitdiff | tree
Bruce Momjian [2000年7月15日 12:37:14 +0000 (12:37 +0000)]
This should be a slighly more complete patch for commands/command.c
AlterTableAddConstraint. The major changes from the last patch
are that it should hopefully check for references to temp tables
(not in the shadow case, but at defination time) from permanent tables in
foreign keys and refuse them and that it doesn't allow the table(s)
being constrained to be views (because those cases don't currently
work).

Stephan SzaboThis should be a slighly more complete patch for commands/command.c
AlterTableAddConstraint. The major changes from the last patch
are that it should hopefully check for references to temp tables
(not in the shadow case, but at defination time) from permanent tables in
foreign keys and refuse them and that it doesn't allow the table(s)
being constrained to be views (because those cases don't currently
work).

Stephan Szabo

25 years agoUpdate implementation notes for new memory management logic.
commit | commitdiff | tree
Tom Lane [2000年7月15日 00:52:22 +0000 (00:52 +0000)]
Update implementation notes for new memory management logic.

25 years agoRemove useless and dangerous 'opt_type' option from CREATE INDEX.
commit | commitdiff | tree
Tom Lane [2000年7月15日 00:01:41 +0000 (00:01 +0000)]
Remove useless and dangerous 'opt_type' option from CREATE INDEX.

25 years agoCleanup of code for creating index entries. Functional indexes with
commit | commitdiff | tree
Tom Lane [2000年7月14日 22:18:02 +0000 (22:18 +0000)]
Cleanup of code for creating index entries. Functional indexes with
pass-by-ref data types --- eg, an index on lower(textfield) --- no longer
leak memory during index creation or update. Clean up a lot of redundant
code ... did you know that copy, vacuum, truncate, reindex, extend index,
and bootstrap each basically duplicated the main executor's logic for
extracting information about an index and preparing index entries?
Functional indexes should be a little faster now too, due to removal
of repeated function lookups.
CREATE INDEX 'opt_type' clause is deimplemented by these changes,
but I haven't removed it from the parser yet (need to merge with
Thomas' latest change set first).

25 years agoRemove dangling else warning (Cyrillic recode stuff)
commit | commitdiff | tree
Peter Eisentraut [2000年7月14日 16:41:44 +0000 (16:41 +0000)]
Remove dangling else warning (Cyrillic recode stuff)

25 years agodidn't compile
commit | commitdiff | tree
Peter Eisentraut [2000年7月14日 16:40:40 +0000 (16:40 +0000)]
didn't compile

25 years agoRemove references to symbols that no longer get defined
commit | commitdiff | tree
Peter Eisentraut [2000年7月14日 16:39:35 +0000 (16:39 +0000)]
Remove references to symbols that no longer get defined

25 years agoFix munged markup from previous commit.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 16:04:18 +0000 (16:04 +0000)]
Fix munged markup from previous commit.

25 years agoImplement nested block comments in the backend and in psql.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:43:57 +0000 (15:43 +0000)]
Implement nested block comments in the backend and in psql.
Include updates for the comment.sql regression test.
Implement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.
Implement SET SESSION CHARACTERISTICS TRANSACTION COMMIT
and SET AutoCommit in the parser only.
Need to add code to actually do something.
Implement WITHOUT TIME ZONE type qualifier.
Define SCHEMA keyword, along with stubbed-out grammar.
Implement "[IN|INOUT|OUT] [varname] type" function arguments
in parser only; INOUT and OUT throws an elog(ERROR).
Add PATH as a type-specific token, since PATH is in SQL99
to support schema resource search and resolution.

25 years agoImplement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:35:44 +0000 (15:35 +0000)]
Implement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.

25 years agoFix indenting in prototype declarations. No functional changes.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:33:33 +0000 (15:33 +0000)]
Fix indenting in prototype declarations. No functional changes.

25 years agoInclude rule to build include/parser/parse.h since nothing else can
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:32:04 +0000 (15:32 +0000)]
Include rule to build include/parser/parse.h since nothing else can
build in this directory otherwise :(

25 years agoChange order of builds to get parser before commands.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:30:56 +0000 (15:30 +0000)]
Change order of builds to get parser before commands.
This will ensure building parse.h for commands, though this is also
covered with other build rules.

25 years agoSave changes from last docs release.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:28:16 +0000 (15:28 +0000)]
Save changes from last docs release.

25 years agoAdd information on SET SESSION CHARACTERISTICS.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:27:14 +0000 (15:27 +0000)]
Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.
Make minor repairs to "Compatibility" subsections.

25 years agoUpdate docs for TIME WITHOUT TIME ZONE.
commit | commitdiff | tree
Thomas G. Lockhart [2000年7月14日 15:26:21 +0000 (15:26 +0000)]
Update docs for TIME WITHOUT TIME ZONE.
Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.

25 years agoFix typo, from Keith Parks
commit | commitdiff | tree
Peter Eisentraut [2000年7月13日 16:08:01 +0000 (16:08 +0000)]
Fix typo, from Keith Parks

25 years agoRepair parallel make in backend tree (and make it really parallel).
commit | commitdiff | tree
Peter Eisentraut [2000年7月13日 16:07:14 +0000 (16:07 +0000)]
Repair parallel make in backend tree (and make it really parallel).
Make Gen_fmgrtab.sh reasonably robust against concurrent invocation.

25 years agoPlanner did the wrong thing with index-scan-backward plans: generated
commit | commitdiff | tree
Tom Lane [2000年7月13日 05:47:29 +0000 (05:47 +0000)]
Planner did the wrong thing with index-scan-backward plans: generated
them, but forgot to attach relevant restriction clauses, so that the
plan represented a scan over the whole table with restrictions applied
as qpquals not indexquals. Another day, another bug...

25 years agoRemove a bunch of unused configure tests, in particular cases where
commit | commitdiff | tree
Peter Eisentraut [2000年7月12日 22:59:15 +0000 (22:59 +0000)]
Remove a bunch of unused configure tests, in particular cases where
* the result is not recorded anywhere
* the result is not used anywhere
* the result is only used in some places, whereas others have been getting away with it
* the result is used improperly

Also make command line options handling a little better (e.g., --disable-locale,
while redundant, should really still *dis*able).

25 years agoCan you please apply the following patch to current CVS
commit | commitdiff | tree
Bruce Momjian [2000年7月12日 18:04:47 +0000 (18:04 +0000)]
Can you please apply the following patch to current CVS
to make AIX'ers happy with the changes to the version.o ?

Together with the patch I sent Tom, AIX now regresses ok.

Thanx
Andreas

25 years agoAdd assert checking to GUC ("debug_assertions")
commit | commitdiff | tree
Peter Eisentraut [2000年7月12日 17:38:53 +0000 (17:38 +0000)]
Add assert checking to GUC ("debug_assertions")
Rename settings net_server to tcpip_socket, max_backends to max_connections
Add --help and --version to postmaster, reformat help output

25 years agoRepair missing MEMORY_CONTEXT_CHECKING logic for realloc().
commit | commitdiff | tree
Tom Lane [2000年7月12日 05:15:20 +0000 (05:15 +0000)]
Repair missing MEMORY_CONTEXT_CHECKING logic for realloc().
Doesn't anyone around here run regression tests before submitting
patches, or before committing them?

25 years agoFirst stage of reclaiming memory in executor by resetting short-term
commit | commitdiff | tree
Tom Lane [2000年7月12日 02:37:39 +0000 (02:37 +0000)]
First stage of reclaiming memory in executor by resetting short-term
memory contexts. Currently, only leaks in expressions executed as
quals or projections are handled. Clean up some old dead cruft in
executor while at it --- unused fields in state nodes, that sort of thing.

25 years ago Here is the patch with memory leak checker. This checker allow detect
commit | commitdiff | tree
Bruce Momjian [2000年7月11日 14:30:37 +0000 (14:30 +0000)]
Here is the patch with memory leak checker. This checker allow detect
in-chunk leaks, overwrite-next-chunk leaks and overwrite block-freeptr leaks.

A in-chunk leak --- if something overwrite space after wanted (via palloc()
size, but it is still inside chunk. For example

x = palloc(12); /* create 16b chunk */
memset(x, '#', 13);

this leak is in the current source total invisible, because chunk is 16b and
leak is in the "align space".

For this feature I add data_size to StandardChunk, and all memory which go
from AllocSetAlloc() is marked as 0x7F.

The MemoryContextCheck() is compiled '#ifdef USE_ASSERT_CHECKING'.

I add this checking to 'tcop/postgres.c' and is active after each backend
query, but it is probably not sufficient, because some MemoryContext exist
only during memory processing --- will good if someone who known where
it is needful (Tom:-) add it for others contexts;
A problem in the current source is that we have still some malloc()
allocation that is not needful and this allocation is total invisible for
all context routines. For example Dllist in backend (pretty dirty it is in
catcache where values in Dllist are palloc-ed, but list is malloc-ed).
--- and BTW. this Dllist design stand in the way for query cache :-)

Tom, if you agree I start replace some mallocs.

BTW. --- Tom, have you idea for across transaction presistent allocation for
SQL functions? (like regex - now it is via malloc)

I almost forget. I add one if() to AllocSetAlloc(), for 'size' that are
greater than ALLOC_BIGCHUNK_LIMIT is not needful check AllocSetFreeIndex(),
because 'fidx' is always 'ALLOCSET_NUM_FREELISTS - 1'. It a little brisk up
allocation for very large chunks. Right?

Karel

25 years agoDone. In backend/commands/define.c unused field is set to '-' for the
commit | commitdiff | tree
Bruce Momjian [2000年7月11日 13:07:17 +0000 (13:07 +0000)]
Done. In backend/commands/define.c unused field is set to '-' for the
moment.

A patch for CVS is attached, and I have amended my BLOB dumping version
appropriately.

Philip Warner

25 years agoSome security checks that we've found an external value completely
commit | commitdiff | tree
Jan Wieck [2000年7月11日 12:32:03 +0000 (12:32 +0000)]
Some security checks that we've found an external value completely
when fetching toasted values.

Jan

25 years agoPrevent creating a boatload of empty segments when md.c is asked to
commit | commitdiff | tree
Tom Lane [2000年7月10日 04:32:00 +0000 (04:32 +0000)]
Prevent creating a boatload of empty segments when md.c is asked to
access a ridiculously large block number within a relation.

25 years agooidvectortypes: use SQL type names and separate by commas
commit | commitdiff | tree
Peter Eisentraut [Sun, 9 Jul 2000 21:30:21 +0000 (21:30 +0000)]
oidvectortypes: use SQL type names and separate by commas
psql \df: use format_type and oidvectortypes
map type REAL to float4, not float8
psql \dd :work around UNION bug

25 years agotypo
commit | commitdiff | tree
Peter Eisentraut [Sun, 9 Jul 2000 13:48:45 +0000 (13:48 +0000)]
typo

25 years agoFix handling of pre-existing LD_LIBRARY_PATH, from Keith Parks
commit | commitdiff | tree
Peter Eisentraut [Sun, 9 Jul 2000 13:19:24 +0000 (13:19 +0000)]
Fix handling of pre-existing LD_LIBRARY_PATH, from Keith Parks

25 years agoFix sed invocation, from Keith Parks
commit | commitdiff | tree
Peter Eisentraut [Sun, 9 Jul 2000 13:16:12 +0000 (13:16 +0000)]
Fix sed invocation, from Keith Parks

25 years agoAnother round of those unportable config/build changes :-/
commit | commitdiff | tree
Peter Eisentraut [Sun, 9 Jul 2000 13:14:19 +0000 (13:14 +0000)]
Another round of those unportable config/build changes :-/

* Add option to build with OpenSSL out of the box. Fix thusly exposed
bit rot. Although it compiles now, getting this to do something
useful is left as an exercise.

* Fix Kerberos options to defer checking for required libraries until
all the other libraries are checked for.

* Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc.

* Install work around for Autoconf's install-sh relative path anomaly.
Get rid of old INSTL_*_OPTS variables, now that we don't need them
anymore.

* Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX.

* Look for only one of readline.h or readline/readline.h, not both.

* Make check for PS_STRINGS cacheable. Don't test for the header files
separately.

* Disable fcntl(F_SETLK) test on Linux.

* Substitute the standard GCC warnings set into CFLAGS in configure,
don't add it on in Makefile.global.

* Sweep through contrib tree to teach makefiles standard semantics.

... and in completely unrelated news:

* Make postmaster.opts arbitrary options-aware. I still think we need to
save the environment as well.

25 years agoMake view/rule permission checking behave properly with
commit | commitdiff | tree
Tom Lane [Sun, 9 Jul 2000 04:56:32 +0000 (04:56 +0000)]
Make view/rule permission checking behave properly with
subqueries in the rule.

25 years agoFix bogus DatumGetInt32 coercion.
commit | commitdiff | tree
Tom Lane [Sun, 9 Jul 2000 04:17:53 +0000 (04:17 +0000)]
Fix bogus DatumGetInt32 coercion.

25 years agoRemove reference to tag which is not available to the User's Guide
commit | commitdiff | tree
Thomas G. Lockhart [Sat, 8 Jul 2000 16:00:15 +0000 (16:00 +0000)]
Remove reference to tag which is not available to the User's Guide
when built on its own. UG now builds cleanly.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Sat, 8 Jul 2000 15:04:27 +0000 (15:04 +0000)]
Update TODO list.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Sat, 8 Jul 2000 13:15:14 +0000 (13:15 +0000)]
Update TODO list.

25 years agoSeems we need <errno.h> to be included explicitly now...
commit | commitdiff | tree
Tom Lane [Sat, 8 Jul 2000 05:30:33 +0000 (05:30 +0000)]
Seems we need <errno.h> to be included explicitly now...

25 years agoRemove long-dead support for invoking queries from dynamically loaded
commit | commitdiff | tree
Tom Lane [Sat, 8 Jul 2000 03:04:41 +0000 (03:04 +0000)]
Remove long-dead support for invoking queries from dynamically loaded
backend functions via backend PQexec(). The SPI interface has long
been our only documented way to do this, and the backend pqexec/portal
code is unused and suffering bit-rot. I'm putting it out of its misery.

25 years agoPut back separate install-bin target ... I was using that,
commit | commitdiff | tree
Tom Lane [Sat, 8 Jul 2000 02:40:27 +0000 (02:40 +0000)]
Put back separate install-bin target ... I was using that,
thank you ...

25 years agoFix misuse of StrNCpy to copy and add null to non-null-terminated data.
commit | commitdiff | tree
Tom Lane [Fri, 7 Jul 2000 21:12:53 +0000 (21:12 +0000)]
Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Does not work since it fetches one byte beyond the source data, and when
the phase of the moon is wrong, the source data is smack up against the
end of backend memory and you get SIGSEGV. Don't laugh, this is a fix
for an actual user bug report.

25 years ago- format_type function, in use by psql
commit | commitdiff | tree
Peter Eisentraut [Fri, 7 Jul 2000 19:24:43 +0000 (19:24 +0000)]
- format_type function, in use by psql
- added bigint as synonym of int8
- set typelem of varlen non-array types to 0

25 years agoRename cash_words_out to cash_words.
commit | commitdiff | tree
Bruce Momjian [Fri, 7 Jul 2000 18:49:56 +0000 (18:49 +0000)]
Rename cash_words_out to cash_words.

25 years agoRemove HTML FAQ files that are really just text files.
commit | commitdiff | tree
Bruce Momjian [Fri, 7 Jul 2000 15:41:42 +0000 (15:41 +0000)]
Remove HTML FAQ files that are really just text files.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Fri, 7 Jul 2000 03:24:09 +0000 (03:24 +0000)]
Update TODO list.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Fri, 7 Jul 2000 01:31:16 +0000 (01:31 +0000)]
Update TODO list.

25 years ago|> The Makefile.shlib changes will have to be discussed with other Linux
commit | commitdiff | tree
Bruce Momjian [Fri, 7 Jul 2000 01:23:44 +0000 (01:23 +0000)]
|> The Makefile.shlib changes will have to be discussed with other Linux
|> developers so we are sure it will work on all platforms.

The problem with the current settings is that the linker is called
directly. This is wrong, it should always be called through the
compiler
driver (the only exception is `ld -r'). This will make sure that the
necessary libraries like libgcc are linked in.

But there is still a different problem with the setting of LDFLAGS_ODBC.
The psqlodbc module defines the functions _init and _fini which are
reserved for the shared library initialisation. These should be changed
to constructor functions. Then LDFLAGS_ODBC can be changed to be just
`-lm'. Btw, why does it use -Bsymbolic?

Andreas Schwab

25 years agoMove FAQ source into main cvs tree.
commit | commitdiff | tree
Bruce Momjian [Thu, 6 Jul 2000 23:14:30 +0000 (23:14 +0000)]
Move FAQ source into main cvs tree.

25 years agoCorrect unsafe use of strcmp(). See rant of same date posted to pghackers.
commit | commitdiff | tree
Tom Lane [Thu, 6 Jul 2000 23:03:37 +0000 (23:03 +0000)]
Correct unsafe use of strcmp(). See rant of same date posted to pghackers.

25 years agoBackend makefile cleanup. make maintainer-clean is now completely
commit | commitdiff | tree
Peter Eisentraut [Thu, 6 Jul 2000 21:33:45 +0000 (21:33 +0000)]
Backend makefile cleanup. make maintainer-clean is now completely
functional.

Handle include file installation in src/include/Makefile

genbki.sh improvements: Don't substitute anything by config.status,
instead pass in AWK and CPP through environment. Change calling
convention to support named output files, so we get to see error
messages on stderr.

Rename bootstrap template files and install them into PREFIX/share.
Update initdb to that effect and other readability improvements
in initdb.

25 years agoAdded comments about the compression algorithm as requested by Tom
commit | commitdiff | tree
Jan Wieck [Thu, 6 Jul 2000 21:02:07 +0000 (21:02 +0000)]
Added comments about the compression algorithm as requested by Tom

Jan

25 years agoPlease find attached a patch for the pg_dump directory which addresses:
commit | commitdiff | tree
Jan Wieck [Thu, 6 Jul 2000 18:39:39 +0000 (18:39 +0000)]
Please find attached a patch for the pg_dump directory which addresses:

- The problems Jan reported

- incompatibility with configure (now uses HAVE_LIBZ instead of HAVE_ZLIB)

- a problem in auto-detecting archive file format on piped archives

Philip Warner

25 years agoBugfix. If toasted tuple containted NULLs, DataFill() was handed
commit | commitdiff | tree
Jan Wieck [Thu, 6 Jul 2000 18:22:45 +0000 (18:22 +0000)]
Bugfix. If toasted tuple containted NULLs, DataFill() was handed
a wrong pointer causing the bitmap overwriting the tuple header.

Jan

25 years agoFunctions on 'text' type updated to new fmgr style. 'text' is
commit | commitdiff | tree
Tom Lane [Thu, 6 Jul 2000 05:48:31 +0000 (05:48 +0000)]
Functions on 'text' type updated to new fmgr style. 'text' is
now TOAST-able.

25 years agoUpdate textin() and textout() to new fmgr style. This is just phase
commit | commitdiff | tree
Tom Lane [Wed, 5 Jul 2000 23:12:09 +0000 (23:12 +0000)]
Update textin() and textout() to new fmgr style. This is just phase
one of updating the whole text datatype, but there are so dang many
calls of these two routines that it seems worth a separate commit.

25 years agoMake the regression tests safe for TOAST.
commit | commitdiff | tree
Tom Lane [Wed, 5 Jul 2000 23:02:37 +0000 (23:02 +0000)]
Make the regression tests safe for TOAST.

25 years agoFix typo (extraneous semicolon) in fd.c patch to avoid excess seeks.
commit | commitdiff | tree
Tom Lane [Wed, 5 Jul 2000 21:10:05 +0000 (21:10 +0000)]
Fix typo (extraneous semicolon) in fd.c patch to avoid excess seeks.
Now it skips useless SEEK_CUR 0 calls too, as intended.

25 years agoEnable pg_rewrite to be toasted (unlimited size of views and rules).
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 19:51:03 +0000 (19:51 +0000)]
Enable pg_rewrite to be toasted (unlimited size of views and rules).

Jan

25 years agoadd check for libz compression library for pg_dump
commit | commitdiff | tree
Marc G. Fournier [Wed, 5 Jul 2000 17:44:29 +0000 (17:44 +0000)]
add check for libz compression library for pg_dump

25 years agoChanged TOAST relations to have relkind RELKIND_TOASTVALUE.
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 16:17:43 +0000 (16:17 +0000)]
Changed TOAST relations to have relkind RELKIND_TOASTVALUE.

Special handling of TOAST relations during VACUUM. TOAST relations
are vacuumed while the lock on the master table is still active.
The ANALYZE flag doesn't propagate to their vacuuming because the
toaster access routines allways use index access ignoring stats, so
why compute them at all.

Protection of TOAST relations against normal INSERT/UPDATE/DELETE
while offering SELECT for debugging purposes.

Jan

25 years agoautoconf
commit | commitdiff | tree
Bruce Momjian [Wed, 5 Jul 2000 16:11:27 +0000 (16:11 +0000)]
autoconf

25 years agoattached to this mail is a patch from a colleague that makes
commit | commitdiff | tree
Bruce Momjian [Wed, 5 Jul 2000 16:09:31 +0000 (16:09 +0000)]
attached to this mail is a patch from a colleague that makes
PostgreSQL-7.0.2 run on Linux for the Intel-IA64 architecture. It also
fixes a bug in the configure scripts that caused configure to fail on
the fcntl(F_SETLK) test.

This fix triggered a bug in the fcntl(F_SETLK) code of the Linux
kernel when used on unix domain sockets resulting in postmaster to
segfault immediately after startup. There is a fix available and
included in the kernel that will be on SuSE Linux 7.0, but kernels <=
2.2.16 still have this bug.

Reinhard Max

25 years agoSmall fix for ALTER TABLE xxx* ADD COLUMN ...
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 13:50:59 +0000 (13:50 +0000)]
Small fix for ALTER TABLE xxx* ADD COLUMN ...

Inherited child tables must not be open during creation of TOAST table

Jan

25 years agoAutomatically create toast tables on ALTER TABLE ... ADD COLUMN
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 13:22:25 +0000 (13:22 +0000)]
Automatically create toast tables on ALTER TABLE ... ADD COLUMN
and SELECT ... INTO ... too.

Jan

25 years agoBugfix in ALTER TABLE CREATE TOAST TABLE
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 12:45:31 +0000 (12:45 +0000)]
Bugfix in ALTER TABLE CREATE TOAST TABLE

Automatically create toast table at CREATE TABLE if new table
has toastable attributes.

Jan

25 years agoFixed lztextlen() bug in MULTIBYTE, still thinking that lztext
commit | commitdiff | tree
Jan Wieck [Wed, 5 Jul 2000 10:09:53 +0000 (10:09 +0000)]
Fixed lztextlen() bug in MULTIBYTE, still thinking that lztext
does compression itself the old way.

Jan

25 years agoU Re-add flock TODO.detail.
commit | commitdiff | tree
Bruce Momjian [Wed, 5 Jul 2000 04:39:15 +0000 (04:39 +0000)]
U Re-add flock TODO.detail.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Wed, 5 Jul 2000 04:39:07 +0000 (04:39 +0000)]
Update TODO list.

25 years agoNew resultmap for Alpha, from Ryan Kirkpatrick
commit | commitdiff | tree
Bruce Momjian [Wed, 5 Jul 2000 04:28:19 +0000 (04:28 +0000)]
New resultmap for Alpha, from Ryan Kirkpatrick

25 years agoFix broken pg_dump makefile
commit | commitdiff | tree
Peter Eisentraut [Tue, 4 Jul 2000 19:52:00 +0000 (19:52 +0000)]
Fix broken pg_dump makefile

25 years agoMoving toaster out of NO ELOG area in heap_update().
commit | commitdiff | tree
Jan Wieck [Tue, 4 Jul 2000 17:11:40 +0000 (17:11 +0000)]
Moving toaster out of NO ELOG area in heap_update().

Jan

25 years agomake TEMP -> TEMPORARY
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 16:57:49 +0000 (16:57 +0000)]
make TEMP -> TEMPORARY

25 years agoMake pgdump_oid a temp table. Rename to pg_dump_oid.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 16:57:18 +0000 (16:57 +0000)]
Make pgdump_oid a temp table. Rename to pg_dump_oid.

25 years agoExpand secondary password file feature, so that you can use these
commit | commitdiff | tree
Peter Eisentraut [Tue, 4 Jul 2000 16:32:01 +0000 (16:32 +0000)]
Expand secondary password file feature, so that you can use these
files to restrict the set of users that can connect to a database
but can still use the pg_shadow password. (You just leave off the
password field in the secondary file.)

25 years agoFix thinko in my last pg_dumpall change
commit | commitdiff | tree
Peter Eisentraut [Tue, 4 Jul 2000 16:29:59 +0000 (16:29 +0000)]
Fix thinko in my last pg_dumpall change

25 years agoMakefile cleanup from Karel.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 16:17:21 +0000 (16:17 +0000)]
Makefile cleanup from Karel.

25 years agoAdded CVS header
commit | commitdiff | tree
Jan Wieck [Tue, 4 Jul 2000 14:37:32 +0000 (14:37 +0000)]
Added CVS header
Jan

25 years agoNew contrib module for statistical mathematics
commit | commitdiff | tree
Jan Wieck [Tue, 4 Jul 2000 14:36:03 +0000 (14:36 +0000)]
New contrib module for statistical mathematics

Jan

25 years agopg_dump patch from Philip Warner
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 14:25:28 +0000 (14:25 +0000)]
pg_dump patch from Philip Warner

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 14:10:37 +0000 (14:10 +0000)]
Update TODO list.

25 years agoNow that I look at it, is_stopword() is broken and always has been.
commit | commitdiff | tree
Tom Lane [Tue, 4 Jul 2000 06:29:27 +0000 (06:29 +0000)]
Now that I look at it, is_stopword() is broken and always has been.
Doesn't anyone remember how to program a binary search??

25 years agoResult of strcmp() is a signed int. Per bug report
commit | commitdiff | tree
Tom Lane [Tue, 4 Jul 2000 06:20:14 +0000 (06:20 +0000)]
Result of strcmp() is a signed int. Per bug report
from Paul McGarry.

25 years agoMake toast-table creation and deletion work somewhat reliably.
commit | commitdiff | tree
Tom Lane [Tue, 4 Jul 2000 06:11:54 +0000 (06:11 +0000)]
Make toast-table creation and deletion work somewhat reliably.
Don't go through pg_exec_query_dest(), but directly to the execution
routines. Also, extend parameter lists so that there's no need to
change the global setting of allowSystemTableMods, a hack that was
certain to cause trouble in the event of any error.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 05:17:31 +0000 (05:17 +0000)]
Update TODO list.

25 years agoRemove unused TODO.detail files.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 05:17:03 +0000 (05:17 +0000)]
Remove unused TODO.detail files.

25 years agoUpdate tablespaces TODO.detail item.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 05:04:19 +0000 (05:04 +0000)]
Update tablespaces TODO.detail item.

25 years agoUpdate TODO list.
commit | commitdiff | tree
Bruce Momjian [Tue, 4 Jul 2000 04:45:22 +0000 (04:45 +0000)]
Update TODO list.

25 years agoDataFill() has no business resetting xact status bits
commit | commitdiff | tree
Tom Lane [Tue, 4 Jul 2000 02:40:56 +0000 (02:40 +0000)]
DataFill() has no business resetting xact status bits
in the infomask of the provided tuple.

25 years agomisc
commit | commitdiff | tree
Vadim B. Mikheev [Tue, 4 Jul 2000 01:49:44 +0000 (01:49 +0000)]
misc

25 years agounlock buffer before releasing in heap_insert
commit | commitdiff | tree
Vadim B. Mikheev [Tue, 4 Jul 2000 01:39:24 +0000 (01:39 +0000)]
unlock buffer before releasing in heap_insert
+unlock buffer in heap_fetch under !ItemIdIsUsed().

next
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /