]> granicus.if.org Git - postgresql/log
postgresql
24 years agoFix \pset null to use ', not ".
Bruce Momjian [Mon, 26 Jun 2000 14:16:34 +0000 (14:16 +0000)]
Fix \pset null to use ', not ".

24 years agoAdded new commands and intelligence to psql tab completion.
Peter Eisentraut [Sun, 25 Jun 2000 14:25:51 +0000 (14:25 +0000)]
Added new commands and intelligence to psql tab completion.

24 years agoRelaxed pickiness about user and group commands in transaction blocks.
Peter Eisentraut [Sun, 25 Jun 2000 14:24:59 +0000 (14:24 +0000)]
Relaxed pickiness about user and group commands in transaction blocks.

24 years agoUpdate FAQ.
Bruce Momjian [Sat, 24 Jun 2000 01:51:14 +0000 (01:51 +0000)]
Update FAQ.

24 years agoSecond pass over run-time configuration system. Adjust priorities on some
Peter Eisentraut [Thu, 22 Jun 2000 22:31:24 +0000 (22:31 +0000)]
Second pass over run-time configuration system. Adjust priorities on some
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
here, so make explicit checks. Add comments explaining all of this.
Removed permissions check on SHOW command.

Add examine_subclass to the game, rename to SQL_inheritance to fit the
official data model better. Adjust documentation.

Standalone backend needs to reset all options before it starts. To
facilitate that, have IsUnderPostmaster be set by the postmaster itself,
don't wait for the magic -p switch.

Also make sure that all environment variables and argv's survive
init_ps_display(). Use strdup where necessary.

Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
0600 -- having configuration files is no fun if you can't edit them.

24 years agoFix typo
Peter Eisentraut [Wed, 21 Jun 2000 22:42:32 +0000 (22:42 +0000)]
Fix typo

24 years ago> Great! Please cc: the docs or hackers mailing lists to make sure the
Bruce Momjian [Tue, 20 Jun 2000 18:04:18 +0000 (18:04 +0000)]
> Great! Please cc: the docs or hackers mailing lists to make sure the
> patches are not lost...

Aggregate doc patches:

The patches are attached. Be great if you could check them over to make
sure all relevant content (and markup) is there...

Isaac Wilcox

24 years agoCleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
Peter Eisentraut [Tue, 20 Jun 2000 16:40:19 +0000 (16:40 +0000)]
Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
interfaces and interfaces/odbc make files. Adjusted regression test
driver to start building and installing in the top level directory.

24 years agoMake renaming a temp table behave sensibly. We don't need to touch
Tom Lane [Tue, 20 Jun 2000 06:41:13 +0000 (06:41 +0000)]
Make renaming a temp table behave sensibly.  We don't need to touch
the underlying table at all, just change the mapping entry ... but
that logic was missing.

24 years agoMake inheritance planning logic a little simpler and clearer,
Tom Lane [Tue, 20 Jun 2000 04:22:21 +0000 (04:22 +0000)]
Make inheritance planning logic a little simpler and clearer,
hopefully even a little faster.

24 years agoFix handling of type tuple associated with a temp relation. We have
Tom Lane [Tue, 20 Jun 2000 01:41:22 +0000 (01:41 +0000)]
Fix handling of type tuple associated with a temp relation.  We have
to apply the tempname->realname mapping to type name lookup as well
as relation name lookup, else the type tuple will not be found when
wanted.  This fixes bugs like this one:
create temp table foo (f1 int);
select foo.f2 from foo;
ERROR:  Unable to locate type name 'foo' in catalog

24 years agoModify index-opening code to guarantee that the indexes of a relation
Tom Lane [Mon, 19 Jun 2000 23:40:48 +0000 (23:40 +0000)]
Modify index-opening code to guarantee that the indexes of a relation
are opened in a consistent order by different backends (I ordered them
by index OID because that's easy, but any other consistent order would
do as well).  This avoids potential deadlock for index types that we
acquire exclusive locks on ... ie, rtree.

24 years agoEnsure that kernel error code is included in smgr-level error reports.
Tom Lane [Mon, 19 Jun 2000 23:37:08 +0000 (23:37 +0000)]
Ensure that kernel error code is included in smgr-level error reports.
Tweak mdcreate a little bit so that it returns the right errno.

24 years agoIntegrated ODBC driver into regular build. No more standalone business,
Peter Eisentraut [Mon, 19 Jun 2000 16:58:48 +0000 (16:58 +0000)]
Integrated ODBC driver into regular build. No more standalone business,
which didn't work anyway. Had to back out unixodbc related patch which
broke the regular ODBC build.

24 years agoRemove old README files.
Bruce Momjian [Mon, 19 Jun 2000 14:07:37 +0000 (14:07 +0000)]
Remove old README files.

24 years agoAdd missing /contrib files
Bruce Momjian [Mon, 19 Jun 2000 14:02:16 +0000 (14:02 +0000)]
Add missing /contrib files

24 years agoUpdate to /contrib from Karel.
Bruce Momjian [Mon, 19 Jun 2000 13:54:50 +0000 (13:54 +0000)]
Update to /contrib from Karel.

24 years agoautoconf
Bruce Momjian [Mon, 19 Jun 2000 13:40:37 +0000 (13:40 +0000)]
autoconf

24 years agoRename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
Bruce Momjian [Mon, 19 Jun 2000 13:39:03 +0000 (13:39 +0000)]
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.

24 years agofix HAVE_SQLGETPRIVATEPROFILESTRING define
Bruce Momjian [Mon, 19 Jun 2000 13:35:30 +0000 (13:35 +0000)]
fix HAVE_SQLGETPRIVATEPROFILESTRING define

24 years agoClean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc
Tom Lane [Mon, 19 Jun 2000 03:55:01 +0000 (03:55 +0000)]
Clean up bogosities in pg_opclass, pg_amop, pg_amproc.  There are amproc
entries now for int8 and network hash indexes.  int24_ops and int42_ops
are gone.  pg_opclass no longer contains multiple entries claiming to be
the default opclass for the same datatype.  opr_sanity regress test
extended to catch errors like these in the future.

24 years agoLinux/alpha patch.
Bruce Momjian [Mon, 19 Jun 2000 00:51:23 +0000 (00:51 +0000)]
Linux/alpha patch.

24 years agoReimplement nodeMaterial to use a temporary BufFile (or even memory, if the
Tom Lane [Sun, 18 Jun 2000 22:44:35 +0000 (22:44 +0000)]
Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the
materialized tupleset is small enough) instead of a temporary relation.
This was something I was thinking of doing anyway for performance, and Jan
says he needs it for TOAST because he doesn't want to cope with toasting
noname relations.  With this change, the 'noname table' support in heap.c
is dead code, and I have accordingly removed it.  Also clean up 'noname'
plan handling in planner --- nonames are either sort or materialize plans,
and it seems less confusing to handle them separately under those names.

24 years agoSeparated set constraints and set transaction reference pages, revised set
Peter Eisentraut [Sun, 18 Jun 2000 21:24:54 +0000 (21:24 +0000)]
Separated set constraints and set transaction reference pages, revised set
reference page to new configuration system. Big update to administrator's
guide, chapters Runtime environment, Client authentication, and User
management, the latter two were part of the old Security chapter.

24 years agoReinstate BufFileTell().
Tom Lane [Sun, 18 Jun 2000 03:11:40 +0000 (03:11 +0000)]
Reinstate BufFileTell().

24 years agoGet rid of IndexIsUniqueNoCache() kluge by the simple expedient of
Tom Lane [Sat, 17 Jun 2000 23:41:51 +0000 (23:41 +0000)]
Get rid of IndexIsUniqueNoCache() kluge by the simple expedient of
passing the index-is-unique flag to index build routines (duh! ...
why wasn't it done this way to begin with?).  Aside from eliminating
an eyesore, this should save a few milliseconds in btree index creation
because a full scan of pg_index is not needed any more.

24 years agoFix performance problems with pg_index lookups (see, for example,
Tom Lane [Sat, 17 Jun 2000 21:49:04 +0000 (21:49 +0000)]
Fix performance problems with pg_index lookups (see, for example,
discussion of 5/19/00).  pg_index is now searched for indexes of a
relation using an indexscan.  Moreover, this is done once and cached
in the relcache entry for the relation, in the form of a list of OIDs
for the indexes.  This list is used by the parser and executor to drive
lookups in the pg_index syscache when they want to know the properties
of the indexes.  Net result: index information will be fully cached
for repetitive operations such as inserts.

24 years agoClean out another pocket of functions called via nonspecific function
Tom Lane [Sat, 17 Jun 2000 04:56:39 +0000 (04:56 +0000)]
Clean out another pocket of functions called via nonspecific function
pointers, namely the catcache tuple fetch routines.  Also get rid of
the unused and possibly confusing 'size' field in struct cachedesc.
Since it doesn't allow for variable-length fields, anyone who
actually trusted it would likely be making a mistake...

24 years agoRemove fmgrstamp-h business -- not needed and confusing
Peter Eisentraut [Sat, 17 Jun 2000 00:10:40 +0000 (00:10 +0000)]
Remove fmgrstamp-h business -- not needed and confusing

Add options to configure to automatically build for Kerberos
support; no more editing of make files.

24 years agoCleanup README Makefile installs.
Bruce Momjian [Fri, 16 Jun 2000 18:59:30 +0000 (18:59 +0000)]
Cleanup README Makefile installs.

24 years agoRepair unforgivably brain-dead representation of CaseExpr nodes in
Tom Lane [Fri, 16 Jun 2000 05:27:03 +0000 (05:27 +0000)]
Repair unforgivably brain-dead representation of CaseExpr nodes in
stored rules.  Bump catversion to reflect incompatibility.

24 years agoRemove old doc files, now README.
Bruce Momjian [Thu, 15 Jun 2000 19:08:37 +0000 (19:08 +0000)]
Remove old doc files, now README.

24 years agoAdd missing /contrib files to CVS.
Bruce Momjian [Thu, 15 Jun 2000 19:05:22 +0000 (19:05 +0000)]
Add missing /contrib files to CVS.

24 years ago/contrib patch from Karel.
Bruce Momjian [Thu, 15 Jun 2000 18:55:34 +0000 (18:55 +0000)]
/contrib patch from Karel.

24 years agoUpdate TODO list.
Bruce Momjian [Thu, 15 Jun 2000 13:54:51 +0000 (13:54 +0000)]
Update TODO list.

24 years agoRepair Large Object bugs demonstrated by Ian Grant's example. inv_write
Tom Lane [Thu, 15 Jun 2000 06:07:34 +0000 (06:07 +0000)]
Repair Large Object bugs demonstrated by Ian Grant's example.  inv_write
was inappropriately relying on rel->rd_nblocks to tell if the LO is
empty (apparently a hack to get around a long-dead index bug), causing
misbehavior on a written-but-never-vacuumed LO.  Also, inv_read failed
to cope gracefully with 'holes' (unwritten regions) in the object.

24 years agoFinal #include cleanup.
Bruce Momjian [Thu, 15 Jun 2000 04:10:30 +0000 (04:10 +0000)]
Final #include cleanup.

24 years agoClean up #include's.
Bruce Momjian [Thu, 15 Jun 2000 03:33:12 +0000 (03:33 +0000)]
Clean up #include's.

24 years ago#include cleanups
Bruce Momjian [Thu, 15 Jun 2000 00:52:26 +0000 (00:52 +0000)]
#include cleanups

24 years agoUpdate include cleaning scripts.
Bruce Momjian [Wed, 14 Jun 2000 22:33:06 +0000 (22:33 +0000)]
Update include cleaning scripts.

24 years agoUpdate include scripts
Bruce Momjian [Wed, 14 Jun 2000 22:28:16 +0000 (22:28 +0000)]
Update include scripts

24 years agoAdd () around define -1.
Bruce Momjian [Wed, 14 Jun 2000 18:59:42 +0000 (18:59 +0000)]
Add () around define -1.

24 years agoBig warnings cleanup for Solaris/GCC. Down to about 40 now, but
Peter Eisentraut [Wed, 14 Jun 2000 18:18:01 +0000 (18:18 +0000)]
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
we'll get there one day.

Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
have automake installed.

Only run the autoconf rule in the top-level GNUmakefile if the
invoker specified `make configure', don't run it automatically
because of CVS timestamp skew.

24 years agoautoconf
Bruce Momjian [Wed, 14 Jun 2000 17:08:57 +0000 (17:08 +0000)]
autoconf

24 years agoBack out libpgtcl tcl/tksh includes.
Bruce Momjian [Wed, 14 Jun 2000 17:07:31 +0000 (17:07 +0000)]
Back out libpgtcl tcl/tksh includes.

24 years agoRemove -O0 linux ppc flag
Bruce Momjian [Wed, 14 Jun 2000 17:01:35 +0000 (17:01 +0000)]
Remove -O0 linux ppc flag

24 years agoRepair markup to allow clean doc builds.
Thomas G. Lockhart [Wed, 14 Jun 2000 13:12:52 +0000 (13:12 +0000)]
Repair markup to allow clean doc builds.

24 years agoReword to reduce redundant wording in some wording ;)
Thomas G. Lockhart [Wed, 14 Jun 2000 13:12:17 +0000 (13:12 +0000)]
Reword to reduce redundant wording in some wording ;)

24 years agoFix up typos.
Thomas G. Lockhart [Wed, 14 Jun 2000 13:10:48 +0000 (13:10 +0000)]
Fix up typos.
Move "query result" tables to left side of page (remove leading spaces).

24 years agoI had overlooked the fact that some fmgr-callable functions return void
Tom Lane [Wed, 14 Jun 2000 05:24:50 +0000 (05:24 +0000)]
I had overlooked the fact that some fmgr-callable functions return void
--- ie, they're only called for side-effects.  Add a PG_RETURN_VOID()
macro and use it where appropriate.  This probably doesn't change the
machine code by a single bit ... it's just for documentation.

24 years agoFix for memory leak from Denis Perchine
Bruce Momjian [Wed, 14 Jun 2000 04:53:44 +0000 (04:53 +0000)]
Fix for memory leak from Denis Perchine

24 years agoAdd drop detail item.
Bruce Momjian [Wed, 14 Jun 2000 03:33:49 +0000 (03:33 +0000)]
Add drop detail item.

24 years agoAdd type conversion TODO.detail
Bruce Momjian [Wed, 14 Jun 2000 03:30:49 +0000 (03:30 +0000)]
Add type conversion TODO.detail

24 years ago> If read or write fails. Position will left the same. This
Bruce Momjian [Wed, 14 Jun 2000 03:19:24 +0000 (03:19 +0000)]
> If read or write fails. Position will left the same. This
> situation is already tracked in File routines, but a little bit
> incorrectly.

> After small survey in Linux kernel code, I am not sure about
> it.  New patch set pos to unknown in the case of read/write
> fails. And do lseek again.

> Here is the full patch for this. This patch reduce amount of
> lseek call ten ti mes for update statement and twenty times for
> select statement. I tested joined up date and count(*) select
> for table with rows > 170000 and 10 indices.  I think this is
> worse of trying. Before lseek calls account for more than 5% o
> f time.  Now they are 0.89 and 0.15 respectevly.
>
> Due to only one file modification patch should be applied in
> src/backedn/stora ge/file/ dir.

-- Sincerely Yours,
Denis Perchine

24 years agoUpdate TODO list.
Bruce Momjian [Wed, 14 Jun 2000 02:57:08 +0000 (02:57 +0000)]
Update TODO list.

24 years agoautoconf
Bruce Momjian [Wed, 14 Jun 2000 02:46:44 +0000 (02:46 +0000)]
autoconf

24 years agoOK, I have tidied up todays (13th) snapshot with the attached patch, I
Bruce Momjian [Wed, 14 Jun 2000 02:43:46 +0000 (02:43 +0000)]
OK, I have tidied up todays (13th) snapshot with the attached patch, I
have'nt r un autoconf to create a new configure, I guess that's done by
the smapshot process, I had to remove a line from interface/odbc/
GNUMakefile to get it to build, it was a autoconf variable that looks to
not be used anymore, I am assuming that this is  ok.

Nick Gorham
Easysoft Ltd

24 years agoUpdate TODO list.
Bruce Momjian [Wed, 14 Jun 2000 02:25:02 +0000 (02:25 +0000)]
Update TODO list.

24 years agoadd missing files
Bruce Momjian [Tue, 13 Jun 2000 12:49:33 +0000 (12:49 +0000)]
add missing files

24 years agoautoconf
Bruce Momjian [Tue, 13 Jun 2000 09:17:34 +0000 (09:17 +0000)]
autoconf

24 years agoin the Directory src/bin/pgtclsh there is a good mechanism to integrate
Bruce Momjian [Tue, 13 Jun 2000 09:16:39 +0000 (09:16 +0000)]
in the Directory src/bin/pgtclsh there is a good mechanism to integrate
the
tcl-spec in the Makefile.
The patch in the attachemant does this in the src/interfaces/libpgtcl
too

Thank you
 Rudolf Weber

24 years agoUpdate FAQ.
Bruce Momjian [Tue, 13 Jun 2000 08:07:50 +0000 (08:07 +0000)]
Update FAQ.

24 years agoUpdate TODO list.
Bruce Momjian [Tue, 13 Jun 2000 08:05:41 +0000 (08:05 +0000)]
Update TODO list.

24 years agoAnother batch of fmgr updates. I think I have gotten all old-style
Tom Lane [Tue, 13 Jun 2000 07:35:40 +0000 (07:35 +0000)]
Another batch of fmgr updates.  I think I have gotten all old-style
functions that take pass-by-value datatypes.  Should be ready for
port testing ...

24 years agoUpdate TODO list.
Bruce Momjian [Tue, 13 Jun 2000 07:11:35 +0000 (07:11 +0000)]
Update TODO list.

24 years agoBrand 7.1 release. Also update jdbc version in release branch.
Bruce Momjian [Mon, 12 Jun 2000 22:36:19 +0000 (22:36 +0000)]
Brand 7.1 release.  Also update jdbc version in release branch.

24 years agoRename rule CURRENT to OLD in source tree. Add mapping for backward
Bruce Momjian [Mon, 12 Jun 2000 19:40:58 +0000 (19:40 +0000)]
Rename rule CURRENT to OLD in source tree.  Add mapping for backward
compatiblity with old rules.

24 years agoautoconf
Bruce Momjian [Mon, 12 Jun 2000 18:08:29 +0000 (18:08 +0000)]
autoconf

24 years agoBack out old unixodbc patches and apply new ones. Nick Gorham
Bruce Momjian [Mon, 12 Jun 2000 17:58:20 +0000 (17:58 +0000)]
Back out old unixodbc patches and apply new ones.  Nick Gorham

24 years agoPut back old Makefiles, in pgsql and pgsql/src.
Bruce Momjian [Mon, 12 Jun 2000 16:37:22 +0000 (16:37 +0000)]
Put back old Makefiles, in pgsql and pgsql/src.

24 years agoRemove Makefile. Now generated by configure.
Bruce Momjian [Mon, 12 Jun 2000 16:05:25 +0000 (16:05 +0000)]
Remove Makefile.  Now generated by configure.

24 years ago Well, pg_dumplo is in attache. It is really simple program and now is not
Bruce Momjian [Mon, 12 Jun 2000 04:01:52 +0000 (04:01 +0000)]
 Well, pg_dumplo is in attache. It is really simple program and now is not
prepared for dirtribution (it needs a little changes). I can change and work
on this, but I need motivation :-)

And Peter, I know and I agree that standard PG tree is not good space for
all interfaces and for all tools based on PG, but LO is PG feature and we
haven't backup tool for LO.

Karel Zak

24 years agoAdd makefile to warn about not using gmake.
Bruce Momjian [Mon, 12 Jun 2000 03:54:03 +0000 (03:54 +0000)]
Add makefile to warn about not using gmake.

24 years agoBack out pg_shadow changes to allow create table and locking permissions.
Bruce Momjian [Mon, 12 Jun 2000 03:41:03 +0000 (03:41 +0000)]
Back out pg_shadow changes to allow create table and locking permissions.

24 years ago>> What happened to the patch I sent regarding the bug in the TCL
Bruce Momjian [Mon, 12 Jun 2000 02:23:52 +0000 (02:23 +0000)]
>> What happened to the patch I sent regarding the bug in the TCL
>> Makefile where the make bombs if "." is not in the builder's path?
>> The last I checked, it wasn't applied and the fix is very easy
>> (explicitly use "./" to call the script).

 SL Baur

24 years agoUpdate TODO list.
Bruce Momjian [Mon, 12 Jun 2000 01:12:26 +0000 (01:12 +0000)]
Update TODO list.

24 years agoUpdate sequence-related functions to new fmgr style. Remove downcasing,
Tom Lane [Sun, 11 Jun 2000 20:08:01 +0000 (20:08 +0000)]
Update sequence-related functions to new fmgr style.  Remove downcasing,
quote-stripping, and acl-checking tasks for these functions from the
parser, and do them at function execution time instead.  This fixes
the failure of pg_dump to produce correct output for nextval(Foo)
used in a rule, and also eliminates the restriction that the argument
of these functions must be a parse-time constant.

24 years agoFix typo.
Tom Lane [Sun, 11 Jun 2000 18:52:29 +0000 (18:52 +0000)]
Fix typo.

24 years agoSmall bug fix
Peter Eisentraut [Sun, 11 Jun 2000 18:51:23 +0000 (18:51 +0000)]
Small bug fix

24 years agoRemove overenthusiastic use of dependencies to control autoconf.
Tom Lane [Sun, 11 Jun 2000 18:43:52 +0000 (18:43 +0000)]
Remove overenthusiastic use of dependencies to control autoconf.

24 years agoSubstituted new configure test for types of accept()
Peter Eisentraut [Sun, 11 Jun 2000 11:40:09 +0000 (11:40 +0000)]
Substituted new configure test for types of accept()

Interfaced a lot of the custom tests to the config.cache, in the process
made them separate macros and grouped them out into files. Made naming
adjustments.

Removed a couple of useless/unused configure tests.

Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl.
And it breaks equally often. :(

24 years agoUpdate TODO list.
Bruce Momjian [Sat, 10 Jun 2000 22:12:18 +0000 (22:12 +0000)]
Update TODO list.

24 years agoMoved the intricacies of the perl interface build into its own makefile
Peter Eisentraut [Sat, 10 Jun 2000 18:02:12 +0000 (18:02 +0000)]
Moved the intricacies of the perl interface build into its own makefile
that now functions as a wrapper around the MakeMaker stuff. It might
even behave sensically when we have separate build dirs. Same for plperl,
which of course still doesn't work very well. Made sure that plperl
respects the choice of --libdir.

Added --with-python to automatically build and install the Python interface.
Works similarly to the Perl5 stuff.

Moved the burden of the distclean targets lower down into the source tree.
Eventually, each make file should have its own.

Added automatic remaking of makefiles and configure. Currently only for the
top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around
missing autoconf and aclocal. Start factoring out macros into their own
config/*.m4 files to increase readability and organization.

24 years agoUpdate regression tests for ONLY and other recent changes.
Tom Lane [Sat, 10 Jun 2000 05:19:26 +0000 (05:19 +0000)]
Update regression tests for ONLY and other recent changes.

24 years agoUpdate rule dumper for the brave new world of ONLY.
Tom Lane [Sat, 10 Jun 2000 05:17:23 +0000 (05:17 +0000)]
Update rule dumper for the brave new world of ONLY.

24 years agonodeAppend tried to deal with multiple result relations, but apparently it never
Tom Lane [Sat, 10 Jun 2000 05:16:38 +0000 (05:16 +0000)]
nodeAppend tried to deal with multiple result relations, but apparently it never
really worked.  Until now.

24 years agoFix some more gratuitous breakage ... also throw in a couple of
Tom Lane [Sat, 10 Jun 2000 03:53:59 +0000 (03:53 +0000)]
Fix some more gratuitous breakage ... also throw in a couple of
fflush(stderr)'s for good luck.

24 years agoRepair configure.in breakage from unixODBC patch. Doesn't anyone around
Tom Lane [Sat, 10 Jun 2000 03:16:34 +0000 (03:16 +0000)]
Repair configure.in breakage from unixODBC patch.  Doesn't anyone around
here bother to run autoconf, or pay attention when it complains?
To say nothing of actually committing the configure that goes with the
configure.in.
-- Tom the janitor.

24 years agoupdate developers faq
Bruce Momjian [Sat, 10 Jun 2000 02:05:26 +0000 (02:05 +0000)]
update developers faq

24 years agoUPdate developers faq
Bruce Momjian [Sat, 10 Jun 2000 01:55:37 +0000 (01:55 +0000)]
UPdate developers faq

24 years agoFix initdb spaces problem.
Bruce Momjian [Fri, 9 Jun 2000 23:50:24 +0000 (23:50 +0000)]
Fix initdb spaces problem.

24 years agoAdd tablespaces todo item
Bruce Momjian [Fri, 9 Jun 2000 17:31:25 +0000 (17:31 +0000)]
Add tablespaces todo item

24 years agoThis patch fixes the 0-based/1-based result set indexing problem for
Bruce Momjian [Fri, 9 Jun 2000 17:27:57 +0000 (17:27 +0000)]
This patch fixes the 0-based/1-based result set indexing problem for
absolute.  It also makes it more compliant with the interface
specification in Sun's documentation;

1. absolute(0) should throw an exception.
2. absolute(>num-records) should set the current row to after the last
record in addition to returning false.
3. absolute(<num-records) should set the current row to before the first
record in addition to returning false.

These operations in the existing code just return false and don't change
current_row.

These changes required a minor change to relative(int) since it calls
absolute(int)

The attached patch is against the cvs repository tree as of this morning.

Also, who is in charge of maintaining the jdbc driver?  I'm working on
getArray for the jdbc2 driver, but it's going to require three more
classes to be added to the driver, and thus three more source files
in the repository.  Is there someone I can contact directly to ask about
this?

Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer

24 years agoUpdate bsdi faq.
Bruce Momjian [Fri, 9 Jun 2000 16:35:24 +0000 (16:35 +0000)]
Update bsdi faq.

24 years agoI have made the couple of mods required to make the odbc driver with
Bruce Momjian [Fri, 9 Jun 2000 16:03:09 +0000 (16:03 +0000)]
I have made the couple of mods required to make the odbc driver with
postgres build and use unixODBC (http://www.unixodbc.org)

This patch was applied against the postgresql-7.0beta1 build

Any problems let me know.

Nick Gorham

24 years ago I have large database and with this DB work more users and I very need
Bruce Momjian [Fri, 9 Jun 2000 15:51:02 +0000 (15:51 +0000)]
 I have large database and with this DB work more users and I very need
more restriction for fretful users. The current PG allow define only
NO-CREATE-DB and NO-CREATE-USER restriction, but for some users I need
NO-CREATE-TABLE and NO-LOCK-TABLE.

This patch add to current code NOCREATETABLE and NOLOCKTABLE feature:

CREATE USER username
    [ WITH
     [ SYSID uid ]
     [ PASSWORD 'password' ] ]
    [ CREATEDB   | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
->  [ CREATETABLE | NOCREATETABLE ] [ LOCKTABLE | NOLOCKTABLE ]
    ...etc.

 If CREATETABLE or LOCKTABLE is not specific in CREATE USER command,
as default is set CREATETABLE or LOCKTABLE (true).

 A user with NOCREATETABLE restriction can't call CREATE TABLE or
SELECT INTO commands, only create temp table is allow for him.

                                                Karel

24 years agoPrompt username/password on stderr so:
Bruce Momjian [Fri, 9 Jun 2000 12:33:42 +0000 (12:33 +0000)]
Prompt username/password on stderr so:

     pg_dump -o -u some_db >dump_file

works.

24 years agoUpdate FAQ.
Bruce Momjian [Fri, 9 Jun 2000 12:20:15 +0000 (12:20 +0000)]
Update FAQ.

24 years agoUpdate TODO list.
Bruce Momjian [Fri, 9 Jun 2000 12:13:21 +0000 (12:13 +0000)]
Update TODO list.

24 years agoClean up regression for new 1st/9th/3rd fixes.
Bruce Momjian [Fri, 9 Jun 2000 11:40:03 +0000 (11:40 +0000)]
Clean up regression for new 1st/9th/3rd fixes.