]> granicus.if.org Git - postgresql/log
postgresql
24 years ago- Support for BLOB output from pg_dump and input via pg_restore
Philip Warner [Fri, 21 Jul 2000 11:40:08 +0000 (11:40 +0000)]
- Support for BLOB output from pg_dump and input via pg_restore
- Support for direct DB connection in pg_restore
- Fixes in support for --insert flag
- pg_dump now outputs in modified OID order
- various other bug fixes

24 years agoNeed to switch to tuples memory context when replacing the toasted
Jan Wieck [Fri, 21 Jul 2000 11:18:51 +0000 (11:18 +0000)]
Need to switch to tuples memory context when replacing the toasted
one with the plain one.

Jan

24 years agoTemporary fix to make TOAST vacuum-safe. All values are forced to be
Jan Wieck [Fri, 21 Jul 2000 10:31:31 +0000 (10:31 +0000)]
Temporary fix to make TOAST vacuum-safe. All values are forced to be
in memory (plain or compressed) in the tuple returned from the heap-am.
So no index will ever contain an external reference.

Jan

24 years agoMajor overhaul of btree index code. Eliminate special BTP_CHAIN logic for
Tom Lane [Fri, 21 Jul 2000 06:42:39 +0000 (06:42 +0000)]
Major overhaul of btree index code.  Eliminate special BTP_CHAIN logic for
duplicate keys by letting search go to the left rather than right when an
equal key is seen at an upper tree level.  Fix poor choice of page split
point (leading to insertion failures) that was forced by chaining logic.
Don't store leftmost key in non-leaf pages, since it's not necessary.
Don't create root page until something is first stored in the index, so an
unused index is now 8K not 16K.  (Doesn't seem to be as easy to get rid of
the metadata page, unfortunately.)  Massive cleanup of unreadable code,
fix poor, obsolete, and just plain wrong documentation and comments.
See src/backend/access/nbtree/README for the gory details.

24 years agocleanup
Bruce Momjian [Fri, 21 Jul 2000 04:49:23 +0000 (04:49 +0000)]
cleanup

24 years agocleanup
Bruce Momjian [Fri, 21 Jul 2000 04:48:33 +0000 (04:48 +0000)]
cleanup

24 years agoCleanup
Bruce Momjian [Fri, 21 Jul 2000 04:42:28 +0000 (04:42 +0000)]
Cleanup

24 years agoCleanujp
Bruce Momjian [Fri, 21 Jul 2000 04:37:10 +0000 (04:37 +0000)]
Cleanujp

24 years agoCleanup
Bruce Momjian [Fri, 21 Jul 2000 04:25:05 +0000 (04:25 +0000)]
Cleanup

24 years agoreference page cleanup
Bruce Momjian [Fri, 21 Jul 2000 03:38:22 +0000 (03:38 +0000)]
reference page cleanup

24 years agoClean up flags
Bruce Momjian [Fri, 21 Jul 2000 03:14:33 +0000 (03:14 +0000)]
Clean up flags

24 years agoFix postgres -A options flags
Bruce Momjian [Fri, 21 Jul 2000 03:13:32 +0000 (03:13 +0000)]
Fix postgres -A options flags

24 years agoUpdate installation instructions to new realities. Combined into one file.
Peter Eisentraut [Fri, 21 Jul 2000 00:44:13 +0000 (00:44 +0000)]
Update installation instructions to new realities. Combined into one file.
Improved automation of INSTALL file generation.

24 years agoChange > prompt to $
Bruce Momjian [Fri, 21 Jul 2000 00:42:34 +0000 (00:42 +0000)]
Change > prompt to $

24 years agoChange prompt % to $.
Bruce Momjian [Fri, 21 Jul 2000 00:24:37 +0000 (00:24 +0000)]
Change prompt % to $.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 20:31:38 +0000 (20:31 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 20:13:15 +0000 (20:13 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:48:37 +0000 (17:48 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:48:36 +0000 (17:48 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:45:32 +0000 (17:45 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:44:18 +0000 (17:44 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:43:22 +0000 (17:43 +0000)]
Update FAQ.

24 years agoUpdate FAQ.
Bruce Momjian [Thu, 20 Jul 2000 17:40:38 +0000 (17:40 +0000)]
Update FAQ.

24 years agoFixed DatabaseMetaData.getTableTypes()
Peter Mount [Thu, 20 Jul 2000 15:30:05 +0000 (15:30 +0000)]
Fixed DatabaseMetaData.getTableTypes()

24 years agoFixed memory allocation problems when compressing multi-MB
Jan Wieck [Thu, 20 Jul 2000 14:23:28 +0000 (14:23 +0000)]
Fixed memory allocation problems when compressing multi-MB
items. Lookup history is now a double linked list, used in
a wrap-around style.

Jan

24 years agoDon't need this anymore. It's now handled in the Makefile.
Peter Eisentraut [Wed, 19 Jul 2000 22:47:13 +0000 (22:47 +0000)]
Don't need this anymore. It's now handled in the Makefile.

24 years agoAdd distprep target to take some of the job of the release_prep script.
Peter Eisentraut [Wed, 19 Jul 2000 16:30:27 +0000 (16:30 +0000)]
Add distprep target to take some of the job of the release_prep script.
The latter updated accordingly. Also add `dist' and `distcheck' targets
to play with, but caveat packager.

Updated backend/bootstrap and backend/parser makefile to make them
marginally builddir aware and fix the usual set of things.

Add rule to automatically remake config.h dependent on config.h.in and
config.status. (Adopted from Autoconf manual and about every other
package.) On a good day we should now have a complete and accurate set
of dependencies throughout everything.

24 years agoAdded untrusted PL/TclU (pltclu) language. Executes all procedures
Jan Wieck [Wed, 19 Jul 2000 11:53:02 +0000 (11:53 +0000)]
Added untrusted PL/TclU (pltclu) language. Executes all procedures
in a non-safe interpreter, so with full OS access! Language is
restricted to be used by DB superusers.

Added "argisnull n" and "return_null" commands to gain full control
over NULL values from new FMGR capabilities.

Jan

24 years agoFixed an ordering problem in test queries and
Jan Wieck [Tue, 18 Jul 2000 11:28:20 +0000 (11:28 +0000)]
Fixed an ordering problem in test queries and
formatting differences due to new psql.

Jan

24 years agoAdd an opr_sanity check for misdefined aggregates that have transition
Tom Lane [Tue, 18 Jul 2000 05:02:19 +0000 (05:02 +0000)]
Add an opr_sanity check for misdefined aggregates that have transition
type different from input type but are expecting ExecAgg to insert the
first non-null input as the starting transition value.  This has always
been verboten, but wasn't checked for until now...

24 years agoUpdate pltcl regress test's expected output for 7.0 psql output format.
Tom Lane [Tue, 18 Jul 2000 04:45:59 +0000 (04:45 +0000)]
Update pltcl regress test's expected output for 7.0 psql output format.
NOTE: this implementation of tcl_avg() fails with 'divide by zero'
for zero input rows.  It ought to return NULL, but pltcl does not
currently provide a way to do that, so I'm leaving the problem unsolved
for now.

24 years ago'const' decorations are fine, but not when they're inserted without
Tom Lane [Tue, 18 Jul 2000 03:57:33 +0000 (03:57 +0000)]
'const' decorations are fine, but not when they're inserted without
bothering to clean up the resulting warnings ...

24 years agoforgot autoconf run...
Peter Eisentraut [Mon, 17 Jul 2000 22:32:59 +0000 (22:32 +0000)]
forgot autoconf run...

24 years agoCorrect erroneous explanation of DEADLOCK_TIMEOUT configuration setting.
Tom Lane [Mon, 17 Jul 2000 22:32:44 +0000 (22:32 +0000)]
Correct erroneous explanation of DEADLOCK_TIMEOUT configuration setting.

24 years agoEnd users shouldn't have to invoke a separate command to install the
Peter Eisentraut [Mon, 17 Jul 2000 22:31:59 +0000 (22:31 +0000)]
End users shouldn't have to invoke a separate command to install the
documentation. Therefore it's now installed by default. If there is no
documentation to be found (i.e., you are not using the distribution)
then this step is skipped.

Add --docdir option to configure to control installation directory.

24 years agoDon't strip trailing backslashes from a line. Treat them more reasonably.
Peter Eisentraut [Mon, 17 Jul 2000 18:24:33 +0000 (18:24 +0000)]
Don't strip trailing backslashes from a line. Treat them more reasonably.

24 years agoUpdate TODO list.
Bruce Momjian [Mon, 17 Jul 2000 13:23:18 +0000 (13:23 +0000)]
Update TODO list.

24 years agoI concur with Andreas: unconditionally including <sys/fcntl.h> is not
Tom Lane [Mon, 17 Jul 2000 04:35:55 +0000 (04:35 +0000)]
I concur with Andreas: unconditionally including  <sys/fcntl.h>  is not
portable.  Seems to have been added for O_BINARY, which is only needed
for __CYGWIN32__, so include it here only in that case.

24 years agoStat functions now in main system, contrib code no longer needed.
Tom Lane [Mon, 17 Jul 2000 03:55:43 +0000 (03:55 +0000)]
Stat functions now in main system, contrib code no longer needed.

24 years agoUpdate aggregate-function docs for STDDEV, VARIANCE.
Tom Lane [Mon, 17 Jul 2000 03:52:28 +0000 (03:52 +0000)]
Update aggregate-function docs for STDDEV, VARIANCE.

24 years agoRevise aggregate functions per earlier discussions in pghackers.
Tom Lane [Mon, 17 Jul 2000 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...

24 years agoupdate pltcl test to have at least some chance of running ... still
Tom Lane [Mon, 17 Jul 2000 02:22:50 +0000 (02:22 +0000)]
update pltcl test to have at least some chance of running ... still
seems to be busted though ...

24 years agopltcl seems to be broken on HPUX with recent Tcl versions, because
Tom Lane [Mon, 17 Jul 2000 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.

24 years agoHmm. I didn't expect a change since I hadn't added tests for the new
Bruce Momjian [Sun, 16 Jul 2000 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

24 years agoAutomatic dependency tracking
Peter Eisentraut [Sun, 16 Jul 2000 14:50:44 +0000 (14:50 +0000)]
Automatic dependency tracking

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

24 years agoIncorporate README.fsync into main documentation body
Peter Eisentraut [Sun, 16 Jul 2000 14:47:57 +0000 (14:47 +0000)]
Incorporate README.fsync into main documentation body

24 years agoRevise locale and Kerberos documentation
Peter Eisentraut [Sat, 15 Jul 2000 21:35:47 +0000 (21:35 +0000)]
Revise locale and Kerberos documentation

24 years agoRename templates to match names in makefiles/Makefile.* and include/port.
Peter Eisentraut [Sat, 15 Jul 2000 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.

24 years agoThis should be a slighly more complete patch for commands/command.c
Bruce Momjian [Sat, 15 Jul 2000 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

24 years agoUpdate implementation notes for new memory management logic.
Tom Lane [Sat, 15 Jul 2000 00:52:22 +0000 (00:52 +0000)]
Update implementation notes for new memory management logic.

24 years agoRemove useless and dangerous 'opt_type' option from CREATE INDEX.
Tom Lane [Sat, 15 Jul 2000 00:01:41 +0000 (00:01 +0000)]
Remove useless and dangerous 'opt_type' option from CREATE INDEX.

24 years agoCleanup of code for creating index entries. Functional indexes with
Tom Lane [Fri, 14 Jul 2000 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).

24 years agoRemove dangling else warning (Cyrillic recode stuff)
Peter Eisentraut [Fri, 14 Jul 2000 16:41:44 +0000 (16:41 +0000)]
Remove dangling else warning (Cyrillic recode stuff)

24 years agodidn't compile
Peter Eisentraut [Fri, 14 Jul 2000 16:40:40 +0000 (16:40 +0000)]
didn't compile

24 years agoRemove references to symbols that no longer get defined
Peter Eisentraut [Fri, 14 Jul 2000 16:39:35 +0000 (16:39 +0000)]
Remove references to symbols that no longer get defined

24 years agoFix munged markup from previous commit.
Thomas G. Lockhart [Fri, 14 Jul 2000 16:04:18 +0000 (16:04 +0000)]
Fix munged markup from previous commit.

24 years agoImplement nested block comments in the backend and in psql.
Thomas G. Lockhart [Fri, 14 Jul 2000 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.

24 years agoImplement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.
Thomas G. Lockhart [Fri, 14 Jul 2000 15:35:44 +0000 (15:35 +0000)]
Implement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.

24 years agoFix indenting in prototype declarations. No functional changes.
Thomas G. Lockhart [Fri, 14 Jul 2000 15:33:33 +0000 (15:33 +0000)]
Fix indenting in prototype declarations. No functional changes.

24 years agoInclude rule to build include/parser/parse.h since nothing else can
Thomas G. Lockhart [Fri, 14 Jul 2000 15:32:04 +0000 (15:32 +0000)]
Include rule to build include/parser/parse.h since nothing else can
 build in this directory otherwise :(

24 years agoChange order of builds to get parser before commands.
Thomas G. Lockhart [Fri, 14 Jul 2000 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.

24 years agoSave changes from last docs release.
Thomas G. Lockhart [Fri, 14 Jul 2000 15:28:16 +0000 (15:28 +0000)]
Save changes from last docs release.

24 years agoAdd information on SET SESSION CHARACTERISTICS.
Thomas G. Lockhart [Fri, 14 Jul 2000 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.

24 years agoUpdate docs for TIME WITHOUT TIME ZONE.
Thomas G. Lockhart [Fri, 14 Jul 2000 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.

24 years agoFix typo, from Keith Parks
Peter Eisentraut [Thu, 13 Jul 2000 16:08:01 +0000 (16:08 +0000)]
Fix typo, from Keith Parks

24 years agoRepair parallel make in backend tree (and make it really parallel).
Peter Eisentraut [Thu, 13 Jul 2000 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.

24 years agoPlanner did the wrong thing with index-scan-backward plans: generated
Tom Lane [Thu, 13 Jul 2000 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...

24 years agoRemove a bunch of unused configure tests, in particular cases where
Peter Eisentraut [Wed, 12 Jul 2000 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).

24 years agoCan you please apply the following patch to current CVS
Bruce Momjian [Wed, 12 Jul 2000 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

24 years agoAdd assert checking to GUC ("debug_assertions")
Peter Eisentraut [Wed, 12 Jul 2000 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

24 years agoRepair missing MEMORY_CONTEXT_CHECKING logic for realloc().
Tom Lane [Wed, 12 Jul 2000 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?

24 years agoFirst stage of reclaiming memory in executor by resetting short-term
Tom Lane [Wed, 12 Jul 2000 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.

24 years ago Here is the patch with memory leak checker. This checker allow detect
Bruce Momjian [Tue, 11 Jul 2000 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

24 years agoDone. In backend/commands/define.c unused field is set to '-' for the
Bruce Momjian [Tue, 11 Jul 2000 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

24 years agoSome security checks that we've found an external value completely
Jan Wieck [Tue, 11 Jul 2000 12:32:03 +0000 (12:32 +0000)]
Some security checks that we've found an external value completely
when fetching toasted values.

Jan

24 years agoPrevent creating a boatload of empty segments when md.c is asked to
Tom Lane [Mon, 10 Jul 2000 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.

24 years agooidvectortypes: use SQL type names and separate by commas
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

24 years agotypo
Peter Eisentraut [Sun, 9 Jul 2000 13:48:45 +0000 (13:48 +0000)]
typo

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

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

24 years agoAnother round of those unportable config/build changes :-/
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.

24 years agoMake view/rule permission checking behave properly with
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.

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

24 years agoRemove reference to tag which is not available to the User's Guide
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.

24 years agoUpdate TODO list.
Bruce Momjian [Sat, 8 Jul 2000 15:04:27 +0000 (15:04 +0000)]
Update TODO list.

24 years agoUpdate TODO list.
Bruce Momjian [Sat, 8 Jul 2000 13:15:14 +0000 (13:15 +0000)]
Update TODO list.

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

24 years agoRemove long-dead support for invoking queries from dynamically loaded
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.

24 years agoPut back separate install-bin target ... I was using that,
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 ...

24 years agoFix misuse of StrNCpy to copy and add null to non-null-terminated data.
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.

24 years ago- format_type function, in use by psql
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

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

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

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

24 years agoUpdate TODO list.
Bruce Momjian [Fri, 7 Jul 2000 01:31:16 +0000 (01:31 +0000)]
Update TODO list.

24 years ago|> The Makefile.shlib changes will have to be discussed with other Linux
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

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

24 years agoCorrect unsafe use of strcmp(). See rant of same date posted to pghackers.
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.

24 years agoBackend makefile cleanup. make maintainer-clean is now completely
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.

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

Jan