- 04 7月, 2000 4 次提交
-
-
由 Tom Lane 提交于
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.
-
由 Jan Wieck 提交于
WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan
-
由 Peter Eisentraut 提交于
-
由 Peter Eisentraut 提交于
parsing to not clobber the optarg string -- so that we can bring SetOptsFile() up to speed.
-
- 29 6月, 2000 1 次提交
-
-
由 Tom Lane 提交于
in copyfuncs and equalfuncs exposed by regression tests. We still have some work to do: these modules really ought to handle most or all of the utility statement node types. But it's better than it was.
-
- 28 6月, 2000 1 次提交
-
-
由 Tom Lane 提交于
for details). It doesn't really do that much yet, since there are no short-term memory contexts in the executor, but the infrastructure is in place and long-term contexts are handled reasonably. A few long- standing bugs have been fixed, such as 'VACUUM; anything' in a single query string crashing. Also, out-of-memory is now considered a recoverable ERROR, not FATAL. Eliminate a large amount of crufty, now-dead code in and around memory management. Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and backend startup.
-
- 23 6月, 2000 1 次提交
-
-
由 Peter 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.
-
- 15 6月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 12 6月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 09 6月, 2000 2 次提交
-
-
由 Bruce 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
-
由 Bruce Momjian 提交于
-
- 05 6月, 2000 2 次提交
-
-
由 Tom Lane 提交于
inputs have been converted to newstyle. This should go a long way towards fixing our portability problems with platforms where char and short parameters are passed differently from int-width parameters. Still more to do for the Alpha port however.
-
由 Tom Lane 提交于
that name and issue a NOTICE to the effect that we did. Previously, code would try to assign the new cursor declaration to the old portal, but this didn't work reliably since new parsetree is still sitting in blank portal and is likely to get clobbered.
-
- 04 6月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
Install a default configuration file. Clean up some funny business in the config file code.
-
- 31 5月, 2000 1 次提交
-
-
由 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)
-
- 30 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
-
- 29 5月, 2000 2 次提交
-
-
由 Tom Lane 提交于
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
-
由 Tom 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.
-
- 21 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
defined then statistics about memory usage of all the global memory contexts are printed after each commit.
-
- 11 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
It's still pretty fundamentally bogus :-(. Freebie side benefit: ALTER TABLE RENAME works on indexes now.
-
- 01 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
cleanup, ie, as soon as we have caught the longjmp. This ensures that current context will be a valid context throughout error cleanup. Before it was possible that current context was pointing at a context that would get deleted during cleanup, leaving any subsequent pallocs in deep trouble. I was able to provoke an Assert failure when compiled with asserts + -DCLOBBER_FREED_MEMORY, if I did something that would cause an error to be reported by the backend large-object code, because indeed that code operates in a context that gets deleted partway through xact abort --- and CurrentMemoryContext was still pointing at it! Boo hiss.
-
- 28 4月, 2000 1 次提交
-
-
由 Tom Lane 提交于
because StatFp never got set in that case. Set it immediately before use to eliminate such problems.
-
- 25 4月, 2000 1 次提交
-
-
由 Hiroshi Inoue 提交于
-
- 23 4月, 2000 1 次提交
-
-
由 Tom Lane 提交于
fsync settings, so the -F option no longer needs to be treated as secure.
-
- 13 4月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 05 4月, 2000 2 次提交
-
-
由 Tom Lane 提交于
xact abort state in pg_exec_query_dest, we should continue scanning the querytree list, on the off chance that one of the later queries in the string is COMMIT or ROLLBACK.
-
由 Tom Lane 提交于
would crash, due to premature invocation of SetQuerySnapshot(). Clean up problems with handling of multiple queries by splitting pg_parse_and_plan into two routines. The old code would not, for example, do the right thing with END; SELECT... submitted in one query string when it had been in transaction abort state, because it'd decide to skip planning the SELECT before it had executed the END. New arrangement is simpler and doesn't force caller to plan if only parse+rewrite is needed.
-
- 24 3月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
easy (maybe dumb) fix for 5 in attachment define.patch greetings, Andreas
-
- 01 3月, 2000 1 次提交
-
-
由 Tatsuo Ishii 提交于
-
- 22 2月, 2000 1 次提交
-
-
由 Hiroshi Inoue 提交于
-
- 21 2月, 2000 1 次提交
-
-
由 Hiroshi Inoue 提交于
* Allow PQrequestCancel() to terminate when in waiting-for-lock state Changes are limited to BACKEND,however.
-
- 20 2月, 2000 2 次提交
-
-
由 Tom Lane 提交于
command line processing. As it stood, a bogus PGOPTIONS value from a client would force a database system restart. Not bad as a denial- of-service attack...
-
由 Tom Lane 提交于
variable, instead calling same code in variable.c that is used to parse SET DATESTYLE. Fix bug: although backend's startup datestyle had been changed to ISO, 'RESET DATESTYLE' and 'SET DATESTYLE TO DEFAULT' didn't know about it. For consistency I have made the latter two reset to the PGDATESTYLE-defined initial value, which may not be the same as the compiled-in default of ISO.
-
- 19 2月, 2000 1 次提交
-
-
由 Tom Lane 提交于
for 'const' qualifiers yet ...
-
- 18 2月, 2000 1 次提交
-
-
由 Hiroshi Inoue 提交于
-
- 30 1月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
Initdb help correction Changed end/abort to commit/rollback and changed related notices Commented out way old printing functions in libpq Fixed a typo in alter table / alter column
-
- 26 1月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 23 1月, 2000 1 次提交
-
-
由 Tom Lane 提交于
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
-
- 19 1月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 17 1月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
-