- 05 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
without needing a running backend. Reorder postgresql.conf.sample to match new layout of runtime.sgml. This commit re-adds work lost in Wednesday's crash.
-
- 03 6月, 2003 1 次提交
-
-
由 Tom Lane 提交于
Per recent gripe.
-
- 29 5月, 2003 2 次提交
-
-
由 Tom Lane 提交于
in initdb will result in exit(1), allowing the initdb script to realize that there's something wrong.
-
由 Tom Lane 提交于
of order; the 'server log' output is actually client output in these scenarios and we ought to treat elevels the same way as in the client case. This allows initdb to not send backend stderr to /dev/null anymore, which makes it much more likely that people will notice problems during initdb.
-
- 15 5月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
class when lc_collate is not C.
-
- 04 4月, 2003 1 次提交
-
-
由 Tom Lane 提交于
return type, make protection condition agree with recent change to pg_stat_get_backend_activity, clean up documentation.
-
- 26 3月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
vague cross-references with real links.
-
- 20 3月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
Neil Conway
-
由 Peter Eisentraut 提交于
commands, to arrive at a valid and dumpable state.
-
- 20 2月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 19 2月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
RelOid_pg_class, and transaction locks XactLockTableId. RelId is renamed to objId. - LockObject() and UnlockObject() functions created, and their use sprinkled throughout the code to do descent locking for domains and types. They accept lock modes AccessShare and AccessExclusive, as we only really need a 'read' and 'write' lock at the moment. Most locking cases are held until the end of the transaction. This fixes the cases Tom mentioned earlier in regards to locking with Domains. If the patch is good, I'll work on cleaning up issues with other database objects that have this problem (most of them). Rod Taylor
-
- 24 1月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
users right now, not groups. Extension of has_foo_privileges functions to query the grant options. Extension of aclitem type to store grantor.
-
- 21 1月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 16 1月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 15 1月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
in the documentation from that same data.
-
- 14 12月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 26 11月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
--- not needed.
-
- 19 10月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 25 9月, 2002 1 次提交
-
-
由 Tom Lane 提交于
and PUBLIC EXECUTE, respectively. Per discussion about easing updates from prior versions.
-
- 19 9月, 2002 1 次提交
-
-
由 Tom Lane 提交于
to be flexible about assignment casts without introducing ambiguity in operator/function resolution. Introduce a well-defined promotion hierarchy for numeric datatypes (int2->int4->int8->numeric->float4->float8). Change make_const to initially label numeric literals as int4, int8, or numeric (never float8 anymore). Explicitly mark Func and RelabelType nodes to indicate whether they came from a function call, explicit cast, or implicit cast; use this to do reverse-listing more accurately and without so many heuristics. Explicit casts to char, varchar, bit, varbit will truncate or pad without raising an error (the pre-7.2 behavior), while assigning to a column without any explicit cast will still raise an error for wrong-length data like 7.3. This more nearly follows the SQL spec than 7.2 behavior (we should be reporting a 'completion condition' in the explicit-cast cases, but we have no mechanism for that, so just do silent truncation). Fix some problems with enforcement of typmod for array elements; it didn't work at all in 'UPDATE ... SET array[n] = foo', for example. Provide a generalized array_length_coerce() function to replace the specialized per-array-type functions that used to be needed (and were missing for NUMERIC as well as all the datetime types). Add missing conversions int8<->float4, text<->numeric, oid<->int8. initdb forced.
-
- 06 9月, 2002 1 次提交
-
-
由 Tom Lane 提交于
system tables.
-
- 04 9月, 2002 2 次提交
-
-
由 Tom Lane 提交于
creation to world, but disallow temp table creation in template1. Per latest round of pghackers discussion. I did not force initdb, but the permissions lockdown on template1 will not take effect unless you do one (or manually REVOKE TEMP ON DATABASE template1 FROM public).
-
由 Peter Eisentraut 提交于
referring to "multibyte" where it really means character encoding.
-
- 01 9月, 2002 1 次提交
-
-
由 Tom Lane 提交于
available (else there's no way to interpret the list links). Change pg_locks view to show transaction ID locks separately from ordinary relation locks. Avoid showing N duplicate rows when the same lock is held multiple times (seems unlikely that users care about exact hold count). Improve documentation.
-
- 27 8月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
anonymous return type SRF code. It gets rid of the superflous 'pg_locks_result' that Bruce/Tom had commented on. Otherwise, no changes in functionality. Neil Conway
-
- 17 8月, 2002 2 次提交
-
-
由 Bruce Momjian 提交于
Original patch from Thomas.
-
由 Bruce Momjian 提交于
This patch is an updated version of the lock listing patch. I've made the following changes: - write documentation - wrap the SRF in a view called 'pg_locks': all user-level access should be done through this view - re-diff against latest CVS One thing I chose not to do is adapt the SRF to use the anonymous composite type code from Joe Conway. I'll probably do that eventually, but I'm not really convinced it's a significantly cleaner way to bootstrap SRF builtins than the method this patch uses (of course, it has other uses...) Neil Conway
-
- 15 8月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
composite type capability makes it possible to create a system view based on a table function in a way that is hopefully palatable to everyone. The attached patch takes advantage of this, moving show_all_settings() from contrib/tablefunc into the backend (renamed all_settings(). It is defined as a builtin returning type RECORD. During initdb a system view is created to expose the same information presently available through SHOW ALL. For example: test=# select * from pg_settings where name like '%debug%'; name | setting -----------------------+--------- debug_assertions | on debug_pretty_print | off debug_print_parse | off debug_print_plan | off debug_print_query | off debug_print_rewritten | off wal_debug | 0 (7 rows) Additionally during initdb two rules are created which make it possible to change settings by updating the system view -- a "virtual table" as Tom put it. Here's an example: Joe Conway
-
- 09 8月, 2002 1 次提交
-
-
由 Tom Lane 提交于
I did not force an initdb via catversion ... but the rules regression test will fail until you do an initdb.
-
- 04 8月, 2002 1 次提交
-
-
由 Thomas G. Lockhart 提交于
-
- 30 7月, 2002 1 次提交
-
-
由 Tom Lane 提交于
documentation (xindex.sgml should be rewritten), need to teach pg_dump about it, need to update contrib modules that currently build pg_opclass entries by hand. Original patch by Bill Studenmund, grammar adjustments and general update for 7.3 by Tom Lane.
-
- 25 7月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
pg_language.lancompiler pg_operator.oprprec pg_operator.oprisleft pg_proc.proimplicit pg_proc.probyte_pct pg_proc.properbyte_cpu pg_proc.propercall_cpu pg_proc.prooutin_ratio pg_shadow.usetrace pg_type.typprtlen pg_type.typreceive pg_type.typsend Attempts to use the obsoleted attributes of pg_operator or pg_proc in the CREATE commands will be greeted by a warning. For pg_type, there is no warning (yet) because pg_dump scripts still contain these attributes. Also remove new but already obsolete spellings isVolatile, isStable, isImmutable in WITH clause. (Use new syntax instead.)
-
- 19 7月, 2002 2 次提交
-
-
由 Peter Eisentraut 提交于
extension to create binary compatible casts. Includes dependency tracking as well. pg_proc.proimplicit is now defunct, but will be removed in a separate commit. pg_dump provides a migration path from the previous scheme to declare casts. Dumping binary compatible casts is currently impossible, though.
-
由 Tom Lane 提交于
operator classes, both of which are schema-local and so should really be droppable.
-
- 18 7月, 2002 1 次提交
-
-
由 Tatsuo Ishii 提交于
conversion procs and conversions are added in initdb. Currently supported conversions are: UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR, EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC, JOHAB, TCVN EUC_JP <--> SJIS EUC_TW <--> BIG5 MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5 Note that initial contents of pg_conversion system catalog are created in the initdb process. So doing initdb required is ideal, it's possible to add them to your databases by hand, however. To accomplish this: psql -f your_postgresql_install_path/share/conversion_create.sql your_database So I did not bump up the version in cataversion.h. TODO: Add more conversion procs Add [CASCADE|RESTRICT] to DROP CONVERSION Add tuples to pg_depend Add regression tests Write docs Add SQL99 CONVERT command? -- Tatsuo Ishii
-
- 17 7月, 2002 1 次提交
-
-
由 Tom Lane 提交于
objects created during initdb (except for the system views, which I think do not need to be pinned).
-
- 13 7月, 2002 1 次提交
-
-
由 Tom Lane 提交于
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY constraints all have real live entries in pg_constraint. pg_depend exists, and RESTRICT/CASCADE options work on most kinds of DROP; however, pg_depend is not yet very well populated with dependencies. (Most of the ones that are present at this point just replace formerly hardwired associations, such as the implicit drop of a relation's pg_type entry when the relation is dropped.) Need to add more logic to create dependency entries, improve pg_dump to dump constraints in place of indexes and triggers, and add some regression tests.
-
- 21 6月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
-
- 17 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
-