summaryrefslogtreecommitdiff
path: root/src/bin
AgeCommit message (Collapse)Author
2000-06-22Second pass over run-time configuration system. Adjust priorities on somePeter Eisentraut
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.
2000-06-17Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut
Add options to configure to automatically build for Kerberos support; no more editing of make files.
2000-06-14Big warnings cleanup for Solaris/GCC. Down to about 40 now, butPeter Eisentraut
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.
2000-06-12Back out pg_shadow changes to allow create table and locking permissions.Bruce Momjian
2000-06-12>> What happened to the patch I sent regarding the bug in the TCLBruce Momjian
>> 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
2000-06-10Moved the intricacies of the perl interface build into its own makefilePeter Eisentraut
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.
2000-06-10Fix some more gratuitous breakage ... also throw in a couple ofTom Lane
fflush(stderr)'s for good luck.
2000-06-09Fix initdb spaces problem.Bruce Momjian
2000-06-09 I have large database and with this DB work more users and I very needBruce Momjian
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
2000-06-09Prompt username/password on stderr so:Bruce Momjian
pg_dump -o -u some_db >dump_file works.
2000-06-09Inheritance overhaul by Chris Bitmead <chris@bitmead.com>Bruce Momjian
2000-06-04New ps display code, works on more platforms.Peter Eisentraut
Install a default configuration file. Clean up some funny business in the config file code.
2000-06-02Remove NT-specific file open defines by defining our own open macros forBruce Momjian
"rb" and "wb".
2000-05-31The heralded `Grand Unified Configuration scheme' (GUC)Peter Eisentraut
That means you can now set your options in either or all of $PGDATA/configuration, some postmaster option (--enable-fsync=off), or set a SET command. The list of options is in backend/utils/misc/guc.c, documentation will be written post haste. pg_options is gone, so is that pq_geqo config file. Also removed were backend -K, -Q, and -T options (no longer applicable, although -d0 does the same as -Q). Added to configure an --enable-syslog option. changed all callers from TPRINTF to elog(DEBUG)
2000-05-29More <> cleanupBruce Momjian
2000-05-29Cleanup of <> and ""Bruce Momjian
2000-05-29Generated header files parse.h and fmgroids.h are now copied intoTom Lane
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
2000-05-28Miscellaneous cleanups of places that needed to account for newTom Lane
pg_language entries.
2000-05-28First round of changes for new fmgr interface. fmgr itself and theTom Lane
key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
2000-05-27Remove pgaccess dll's from the distribution.Bruce Momjian
2000-05-26Fix \h SELECT to not show SELECT INTO.Bruce Momjian
2000-05-26Spell fixBruce Momjian
2000-05-25Quote database name so that not-all-lowercase names are handled safely.Tom Lane
2000-05-19pg_dump barfs on negative values for index column numbers --- like, say,Tom Lane
an index on a table's OID column. Mea maxima culpa ... but how'd we get through beta with no one noticing this?
2000-05-15cleanupBruce Momjian
2000-05-15cleanupBruce Momjian
2000-05-15Fix createlang -l dbname so it works, update sgml.Bruce Momjian
2000-05-14That psql option should be --no-readline (as it used to be), not --noreadline.Peter Eisentraut
2000-05-14Fix create user for pgaccess.Bruce Momjian
2000-05-12Back out -\?. Didn't look good to Peter.Bruce Momjian
2000-05-12/home/peter/commit-msgPeter Eisentraut
2000-05-12Small cleanup of file.Bruce Momjian
2000-05-11More psql help cleanupBruce Momjian
2000-05-11Makefile CFLAGS cleanups.Bruce Momjian
2000-05-11Display -? as -\? under unix for psql.Bruce Momjian
2000-05-11Add options and cleanup psql \? and -? help displaysBruce Momjian
2000-05-09Update psql \? to show file rather than "fname".Bruce Momjian
2000-05-05Forgot that dumpall's output script should 'delete from pg_group' beforeTom Lane
loading new data, for consistency with its handling of pg_shadow.
2000-05-05psql: suppress warnings about too many arguments if the command is not valid ↵Peter Eisentraut
in the first place
2000-05-05Spello SERIALIZED -> SERIALIZABLE in psql tab completionPeter Eisentraut
2000-05-05Accept pg_group as well as pg_shadow data from dumpall script.Tom Lane
Rearrange handling of VACUUMs so that they are certain to be executed as superuser not some random user; also, do not forget to vacuum template1 itself.
2000-05-05Dump contents of pg_group along with pg_shadow.Tom Lane
2000-04-26Fix include "" to <>Bruce Momjian
2000-04-26Add res clear to exampleBruce Momjian
2000-04-25initdb didn't always remove temp filePeter Eisentraut
2000-04-25Update pg_ctl so that it does not redirect outputs from postmasterTatsuo Ishii
to a temp file.
2000-04-24Fix \h to not go past array boundsBruce Momjian
2000-04-21Fix still more static-declaration-vs-nonstatic-definition glitches.Tom Lane
gcc doesn't think these are a problem, but somewhere out there is a compiler that will spit up.
2000-04-16squished \dS+ bug pointed out by Mike MascariPeter Eisentraut
2000-04-16Tweak create_help.pl so it will work under either perl 4.* or perl 5.*.Tom Lane
Remove knowledge of path to documentation source directory from perl script, instead have Makefile pass it to script.