- 25 May, 2002 1 commit
-
-
Tom Lane authored
-
- 24 May, 2002 5 commits
-
-
Tom Lane authored
-
Tom Lane authored
wasn't seen before, maybe the Tcl compiler flags were less strict.
-
Tom Lane authored
-
Tom Lane authored
transaction, so as to avoid returning them out of the index AM. Saves repeated heap_fetch operations on frequently-updated rows. Also detect queries on unique keys (equality to all columns of a unique index), and don't bother continuing scan once we have found first match. Killing is implemented in the btree and hash AMs, but not yet in rtree or gist, because there isn't an equally convenient place to do it in those AMs (the outer amgetnext routine can't do it without re-pinning the index page). Did some small cleanup on APIs of HeapTupleSatisfies, heap_fetch, and index_insert to make this a little easier.
-
Peter Eisentraut authored
system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary.
-
- 22 May, 2002 8 commits
-
-
Tom Lane authored
to do profiling on Cygwin, per report from Dave Page.
-
Tom Lane authored
exemplified by bug #671. Moving the storage to relcache turned out to be a bad idea because relcache might decide to discard the info. Instead, open and close the relcache entry on each sequence operation, and use a record of the current XID to discover whether we already hold AccessShareLock on the sequence.
-
Tom Lane authored
-
Peter Eisentraut authored
function body (and other properties) as a function in the language is created. This generalizes ad hoc code that already existed for the built-in languages. The validation now happens after the pg_proc tuple of the new function is created, so it is possible to define recursive SQL functions. Add some regression test cases that cover bogus function definition attempts.
-
Tom Lane authored
reference count. This avoids leaving dangling pointers around, as in recent bug report against sequences (bug# 671).
-
Tom Lane authored
-
Hiroshi Inoue authored
CREATE VIEW as SELECT CTID, .... SELECT currtid( a view, ..).
-
Hiroshi Inoue authored
2) Supprt ARD precision/scale and SQL_C_NUEMRIC. 3) Minimal implementation of SQLGetDiagField(). 4) SQLRowCount() reports the result of SQLSetPos and SQLBulkOperation. 5) int8 -> SQL_NUMERIC for Microsoft Jet. 6) Support isolation level change. 7) ODBC3.0 SQLSTATE code. 8) Append mode log files.
-
- 21 May, 2002 5 commits
-
-
Tom Lane authored
a frozen (copied) snapshot too. Move execMain's snapshot copying code out into a subroutine in case we find other places that need it.
-
Tom Lane authored
or appropriate, since the snapshot that will be used by the cursor was frozen when ExecutorStart was run for it.
-
Tom Lane authored
in snapshots, per my proposal of a few days ago. Also, tweak heapam.c routines (heap_insert, heap_update, heap_delete, heap_mark4update) to be passed the command ID to use, instead of doing GetCurrentCommandID. For catalog updates they'll still get passed current command ID, but for updates generated from the main executor they'll get passed the command ID saved in the snapshot the query is using. This should fix some corner cases associated with functions and triggers that advance current command ID while an outer query is still in progress.
-
Tom Lane authored
-
Tom Lane authored
be smarter about parentheses in read_sql_construct(). Sigh.
-
- 20 May, 2002 4 commits
-
-
Tom Lane authored
yesterday's proposal to pghackers. Also remove unnecessary parameters to heap_beginscan, heap_rescan. I modified pg_proc.h to reflect the new numbers of parameters for the AM interface routines, but did not force an initdb because nothing actually looks at those fields.
-
Bruce Momjian authored
> o -Disallow missing columns in INSERT ... VALUES, per ANSI
-
Michael Meskes authored
- Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
-
Tatsuo Ishii authored
-
- 19 May, 2002 4 commits
-
-
Michael Meskes authored
- Synced preproc.y with gram.y. - Synced pgc.l with scan.l. - Synced keywords.c.
-
Peter Eisentraut authored
in the various standards can be found in the documentation these days.
-
Peter Eisentraut authored
privileges test.
-
Peter Eisentraut authored
-
- 18 May, 2002 6 commits
-
-
Tom Lane authored
-
Tom Lane authored
process function RTE expressions, which they were previously missing. This allows outer-Var references and subselects to work correctly in the arguments of a function RTE. Install check to prevent function RTEs from cross-referencing Vars of sibling FROM-items, which doesn't make any sense (if you want to join, write a JOIN or WHERE clause).
-
Peter Eisentraut authored
-
Peter Eisentraut authored
I took the opportunity to remove the pg_proc.proistrusted field.
-
Tom Lane authored
rather than a Query node; this allows set_plan_references to recurse into subplans correctly. Fixes core dump on full outer joins in subplans. Also, invoke preprocess_expression on function RTEs' function expressions. This seems to fix the planner's problems with outer-level Vars in function RTEs.
-
Tom Lane authored
FunctionScan plan node.
-
- 17 May, 2002 6 commits
-
-
Tom Lane authored
format_type_be() in error messages.
-
Tom Lane authored
allows the example in the CREATE SCHEMA ref page to actually work now. Also, clean up when the transaction that initially creates a temp-table namespace is later aborted. Simplify internal representation of search path by folding special cases into the main list.
-
Tom Lane authored
in set_config_option wasn't quite right. Also clean up a couple other things that could have been done better.
-
Peter Eisentraut authored
-
Tom Lane authored
-
Tom Lane authored
GUC support. It's now possible to set datestyle, timezone, and client_encoding from postgresql.conf and per-database or per-user settings. Also, implement rollback of SET commands that occur in a transaction that later fails. Create a SET LOCAL var = value syntax that sets the variable only for the duration of the current transaction. All per previous discussions in pghackers.
-
- 14 May, 2002 1 commit
-
-
Tom Lane authored
about TO/FROM direction in several places.
-