aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove unnecessary pfree's in geometric operators. At least one of theseTom Lane2002-05-14
| | | | | | | 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.
* Fix lookup tables used for rounding interval data values when not usingThomas G. Lockhart2002-05-14
| | | | integer datetimes. Thanks to Tom Lane for spotting the problem.
* Make regression tests locale-proof by setting some locale categoriesPeter Eisentraut2002-05-14
| | | | | to C at run-time, and providing alternative output files for different sort orders.
* Fix bug in psql.Tatsuo Ishii2002-05-14
| | | | | | | | | | 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>.
* fixed problem connecting to server with client_min_messages set to debug. ↵Barry Lind2002-05-14
| | | | The code was not expecting to receive notice messages during the connection handshake.
* Fix typo in _copyAlterUserSetStmt.Tom Lane2002-05-13
|
* Make operators have their own comments separate from those of theTom Lane2002-05-13
| | | | | | | 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.
* Get rid of long-since-vestigial Iter node type, in favor of adding aTom Lane2002-05-12
| | | | | | | 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.
* First pass at set-returning-functions in FROM, by Joe Conway withTom Lane2002-05-12
| | | | | | 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 ...
* Forgot to handle 'opaque' function arguments in regprocedurein/out.Tom Lane2002-05-11
|
* First pass at schema-fying pg_dump/pg_restore. Much to do still,Tom Lane2002-05-10
| | | | but the basic capability seems to work.
* Suppress duplicate logging of utility commands under debug_print_query.Tom Lane2002-05-10
|
* Make initdb print a message about which locale it is about to use.Peter Eisentraut2002-05-09
| | | | | Re-add warning if the locale prevents LIKE-optimization. Done within initdb now.
* Add a file for version control.Hiroshi Inoue2002-05-09
|
* Accept SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATIONTom Lane2002-05-06
| | | | | | | | 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.
* Make dumpACL behave more reasonably for case where owner has revokedTom Lane2002-05-06
| | | | some of his own privileges.
* Cause fmtId to always use its internal buffer for the returned value,Tom Lane2002-05-06
| | | | in hopes of making erroneous usage more apparent. Per discussion 15-Apr.
* Reorder snapshot checks to save a couple comparisons in the common case,Tom Lane2002-05-06
| | | | | 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.
* A little paranoia never hurt anyone.Tom Lane2002-05-05
|
* plpgsql_dstring_append was broken for long strings.Tom Lane2002-05-05
|
* Not needed anymore.Tom Lane2002-05-05
|
* Add missing includes.Tom Lane2002-05-05
|
* Add a trivial testbed for pg_sema and pg_shmem code.Tom Lane2002-05-05
|
* Cope with case that SEM_FAILED is not defined (assume failure code is -1)Tom Lane2002-05-05
|
* First test of Darwin port with POSIX semaphore code.Tom Lane2002-05-05
|
* Fix code to work when isalpha and friends are macros, not functions.Tom Lane2002-05-05
|
* Create an internal semaphore API that is not tied to SysV semaphores.Tom Lane2002-05-05
| | | | | | 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.
* Fix compile errors in CYR_RECODE code, per report from Oliver Elphick.Tom Lane2002-05-03
|
* Make ruleutils.c schema-aware. Displayed names are schema-qualifiedTom Lane2002-05-03
| | | | | only if they would not be found without qualification given the current search path, as per idea from Peter Eisentraut.
* Fix obsolete comments.Tom Lane2002-05-03
|
* Use quote_identifier on relation names in EXPLAIN output, per suggestionTom Lane2002-05-03
| | | | from Liam Stewart. Minor code cleanups also.
* Fix typo in usage instructions.Tom Lane2002-05-03
|
* Remove the last traces of datatypes datetime and timespan.Tom Lane2002-05-03
|
* Retire xlateSqlType/xlateSqlFunc; all type name translations are nowTom Lane2002-05-03
| | | | | | | | handled as special productions. This is needed to keep us honest about user-schema type names that happen to coincide with system type names. Per pghackers discussion 24-Apr. To avoid bloating the keyword list too much, I removed the translations for datetime, timespan, and lztext, all of which were slated for destruction several versions back anyway.
* Fix backslash-n typo, per Joe Conway.Tom Lane2002-05-02
|
* Tweak scanner/grammar interface so that the keyword-as-identifier rulesTom Lane2002-05-02
| | | | | | in gram.y can make use of the keywords.c string table, instead of having their own copies of the keyword strings. This saves a few kilobytes and more importantly eliminates an opportunity for cut-and-paste errors.
* Add routines in namespace.c to determine whether objects are visibleTom Lane2002-05-01
| | | | | | in the search path. (We might want to make these available as SQL functions too, but I haven't done that yet.) Fix format_type to be schema-aware.
* Give left_oper() and right_oper() noError parameters like oper() (theTom Lane2002-05-01
| | | | binary case) already has. Needed for upcoming ruleutils change.
* Improve lexer's error reporting. You get the whole token mentioned nowTom Lane2002-05-01
| | | | | | | | | | | | in parse error messages, not just the part scanned by the last flex rule. For example, select "foo" "bar"; used to draw ERROR: parser: parse error at or near """ which was rather unhelpful. Now it gives ERROR: parser: parse error at or near ""bar"" Also, error messages concerning bitstring literals and suchlike will quote the source text at you, not the processed internal form of the literal.
* The attached patch fixes 4 instances of missing simi-colons in theJan Wieck2002-05-01
| | | | | | | PL/PgSQL grammar, which were causing warnings when used with Bison 1.35. Neil Conway <neilconway@rogers.com>
* Change heap_get_latest_tid() so that a transaction canHiroshi Inoue2002-05-01
| | | | see changes made by the transaction itself.
* Fix obj_description() and col_description() functions to work reliablyTom Lane2002-04-30
| | | | in presence of schemas.
* Document that NAMEDATALEN must be a multiple of sizeof(int).Tom Lane2002-04-30
|
* Clean up loose ends remaining from schema privileges discussion.Tom Lane2002-04-30
| | | | | I concluded that RENAME should require CREATE privilege on the namespace as well as ownership of the table.
* Code review for ALTER TRIGGER RENAME patch: make better use of index,Tom Lane2002-04-30
| | | | don't scribble on tuple returned by table scan.
* Enforce EXECUTE privilege for aggregate functions.Tom Lane2002-04-29
|
* Implement checking of USAGE rights on namespaces.Tom Lane2002-04-29
|
* Add cache invalidation callback hooks.Tom Lane2002-04-29
|
* Add missing 'static' keyword to suppress compiler complaints.Tom Lane2002-04-29
| | | | gcc does not complain about this mistake, but other compilers do.
* Remove unnecessary/obsolete regproctooid() references.Tom Lane2002-04-29
|