summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-05-20 - Fixed some parser bugs.Michael Meskes
- Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
2002-05-19 - Fixed reduce/reduce conflict in parser.Michael Meskes
- Synced preproc.y with gram.y. - Synced pgc.l with scan.l. - Synced keywords.c.
2002-05-19Reorder keyword token declarations alphabetically. Status of the keywordsPeter Eisentraut
in the various standards can be found in the documentation these days.
2002-05-19Remove bitrotten view_perms test. Add some similar test cases toPeter Eisentraut
privileges test.
2002-05-19Dump privileges on functions, aggregates, languages.Peter Eisentraut
2002-05-18Add display of sort keys to the default EXPLAIN output.Tom Lane
2002-05-18Teach query_tree_walker, query_tree_mutator, and SS_finalize_plan toTom Lane
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).
2002-05-18Revise command completion tags as per hackers message on 20 March.Peter Eisentraut
2002-05-18Allow functions to be executed with the privileges of the function owner.Peter Eisentraut
I took the opportunity to remove the pg_proc.proistrusted field.
2002-05-18Change set_plan_references and join_references to take an rtable ListTom Lane
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.
2002-05-18Add missing fix_expr_references() step for the funcexpr of aTom Lane
FunctionScan plan node.
2002-05-17Get rid of the last few uses of typeidTypeName() rather thanTom Lane
format_type_be() in error messages.
2002-05-17Support temporary setting of search path during CREATE SCHEMA; thisTom Lane
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.
2002-05-17Dept. of second thoughts: interaction between DoIt and makeDependTom Lane
in set_config_option wasn't quite right. Also clean up a couple other things that could have been done better.
2002-05-17Extend syntax of CREATE FUNCTION to resemble SQL99.Peter Eisentraut
2002-05-17Guard against empty-string results from pg_getlocale.Tom Lane
2002-05-17Merge the last few variable.c configuration variables into the genericTom Lane
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.
2002-05-14Remove unnecessary pfree's in geometric operators. At least one of theseTom Lane
is actively dangerous, per bug report from Ewald Geschwinde 14-May-02, and several of the rest look suspicious to me. Since there is no longer any significant value in retail pfree's in these functions, just get rid of all of them for safety's sake.
2002-05-14Fix lookup tables used for rounding interval data values when not usingThomas G. Lockhart
integer datetimes. Thanks to Tom Lane for spotting the problem.
2002-05-14Make regression tests locale-proof by setting some locale categoriesPeter Eisentraut
to C at run-time, and providing alternative output files for different sort orders.
2002-05-14Fix bug in psql.Tatsuo Ishii
per report from sugita@sra.co.jp on Thu, 09 May 2002 11:57:51 +0900 (JST) at pgsql-patches list. Illegal long options to pg_dump makes core on some systems, since it lacks the last null sentinel of struct option array. Attached is a patch made by Mr. Ishida Akio <iakio@pjam.jpweb.net>.
2002-05-14fixed problem connecting to server with client_min_messages set to debug. ↵Barry Lind
The code was not expecting to receive notice messages during the connection handshake.
2002-05-13Fix typo in _copyAlterUserSetStmt.Tom Lane
2002-05-13Make operators have their own comments separate from those of theTom Lane
underlying function; but cause psql's \do to show the underlying function's comment if the operator has no comment of its own, to preserve the useful functionality of the original behavior. Also, implement COMMENT ON SCHEMA. Patch from Rod Taylor.
2002-05-12Get rid of long-since-vestigial Iter node type, in favor of adding aTom Lane
returns-set boolean field in Func and Oper nodes. This allows cleaner, more reliable tests for expressions returning sets in the planner and parser. For example, a WHERE clause returning a set is now detected and complained of in the parser, not only at runtime.
2002-05-12First pass at set-returning-functions in FROM, by Joe Conway withTom Lane
some kibitzing from Tom Lane. Not everything works yet, and there's no documentation or regression test, but let's commit this so Joe doesn't need to cope with tracking changes in so many files ...
2002-05-11Forgot to handle 'opaque' function arguments in regprocedurein/out.Tom Lane
2002-05-10First pass at schema-fying pg_dump/pg_restore. Much to do still,Tom Lane
but the basic capability seems to work.
2002-05-10Suppress duplicate logging of utility commands under debug_print_query.Tom Lane
2002-05-09Make initdb print a message about which locale it is about to use.Peter Eisentraut
Re-add warning if the locale prevents LIKE-optimization. Done within initdb now.
2002-05-09Add a file for version control.Hiroshi Inoue
2002-05-06Accept SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATIONTom Lane
to reset session userid to the originally-authenticated name. Also, relax SET SESSION AUTHORIZATION to allow specifying one's own username even if one is not superuser, so as to avoid unnecessary error messages when loading a pg_dump file that uses this command. Per discussion from several months ago.
2002-05-06Make dumpACL behave more reasonably for case where owner has revokedTom Lane
some of his own privileges.
2002-05-06Cause fmtId to always use its internal buffer for the returned value,Tom Lane
in hopes of making erroneous usage more apparent. Per discussion 15-Apr.
2002-05-06Reorder snapshot checks to save a couple comparisons in the common case,Tom Lane
where the tuple's xmin or xmax is older than the snapshot xmin. There is no need to check it against snapshot xmax in that case.
2002-05-05A little paranoia never hurt anyone.Tom Lane
2002-05-05plpgsql_dstring_append was broken for long strings.Tom Lane
2002-05-05Not needed anymore.Tom Lane
2002-05-05Add missing includes.Tom Lane
2002-05-05Add a trivial testbed for pg_sema and pg_shmem code.Tom Lane
2002-05-05Cope with case that SEM_FAILED is not defined (assume failure code is -1)Tom Lane
2002-05-05First test of Darwin port with POSIX semaphore code.Tom Lane
2002-05-05Fix code to work when isalpha and friends are macros, not functions.Tom Lane
2002-05-05Create an internal semaphore API that is not tied to SysV semaphores.Tom Lane
As proof of concept, provide an alternate implementation based on POSIX semaphores. Also push the SysV shared-memory implementation into a separate file so that it can be replaced conveniently.
2002-05-03Fix compile errors in CYR_RECODE code, per report from Oliver Elphick.Tom Lane
2002-05-03Make ruleutils.c schema-aware. Displayed names are schema-qualifiedTom Lane
only if they would not be found without qualification given the current search path, as per idea from Peter Eisentraut.
2002-05-03Fix obsolete comments.Tom Lane
2002-05-03Use quote_identifier on relation names in EXPLAIN output, per suggestionTom Lane
from Liam Stewart. Minor code cleanups also.
2002-05-03Fix typo in usage instructions.Tom Lane
2002-05-03Remove the last traces of datatypes datetime and timespan.Tom Lane