aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* Fix problem with new pg_hba.conf code where the same comparison functionBruce Momjian2002-04-28
| | | | was incorrectly used for both qsort and bsearch.
* Second try at fixing join alias variables. Instead of attaching miscellaneousTom Lane2002-04-28
| | | | | | | | lists to join RTEs, attach a list of Vars and COALESCE expressions that will replace the join's alias variables during planning. This simplifies flatten_join_alias_vars while still making it easy to fix up varno references when transforming the query tree. Add regression test cases for interactions of subqueries with outer joins.
* - Synced yet again.Michael Meskes2002-04-28
| | | | - Fixed a typo in a comment printed by ecpg.
* Make ruleutils.c use format_type for printing typenames. Minor tweaksTom Lane2002-04-28
| | | | in quoting rules and recognition of implicit type coercions.
* Minor code cleanup.Tom Lane2002-04-28
|
* Support toasting of shared system relations, and provide toast tables forTom Lane2002-04-27
| | | | | | | | | pg_database, pg_shadow, pg_group, all of which now have potentially-long fields. Along the way, get rid of SharedSystemRelationNames list: shared rels are now identified in their include/pg_catalog/*.h files by a BKI_SHARED_RELATION macro, while indexes and toast rels inherit sharedness automatically from their parent table. Fix some bugs with failure to detoast pg_group.grolist during ALTER GROUP.
* Fix write of pg_pwd file for multiple users. Broken recently by myBruce Momjian2002-04-27
| | | | pg_hba.conf changes.
* Restructure aclcheck error reporting to make permission-failureTom Lane2002-04-27
| | | | | | | messages more uniform and internationalizable: the global array aclcheck_error_strings[] is gone in favor of a subroutine aclcheck_error(). Partial implementation of namespace-related permission checks --- not all done yet.
* Move renametrig() from tablecmds.c to trigger.c --- if we're going toTom Lane2002-04-26
| | | | | | | divide backend/commands by object type, let's try to pay at least minimal attention to respecting that structure, eh? Also reorder the contents of tablecmds.c; it seems odd to me to put ALTER commands before creation/deletion commands.
* Add current_schema() and current_schemas() inquiry functions.Tom Lane2002-04-26
| | | | | Update has_table_privilege functions to cope with schema-qualified names in the same way as nextval() and others.
* Implement types regprocedure, regoper, regoperator, regclass, regtypeTom Lane2002-04-25
| | | | | | | per pghackers discussion. Add some more typsanity tests, and clean up some problems exposed thereby (broken or missing array types for some built-in types). Also, clean up loose ends from unknownin/out patch.
* Fix for the following items about escape sequenceHiroshi Inoue2002-04-25
| | | | | | | | | | | by Marcelo Aceto <aceto@newinf.com.br> . 1) Wrong translations of embedded escape sequences inside outer join escape sequences. 2) Wrong translation of parameter markers inside outer joins and function escape sequences. 3) Bad concatenation of date, time, timestamp constants with next word in statement:
* Fix password code to deal with new quoting code.Bruce Momjian2002-04-25
|
* Remove reference to NAMEDATALEN, which wasn't necessary anyway.Peter Eisentraut2002-04-24
|
* Remove references to NAMEDATALEN and INDEX_MAX_KEYS from pg_dump. HandlesPeter Eisentraut2002-04-24
| | | | any size now.
* Remove reference to BLCKSZ.Peter Eisentraut2002-04-24
|
* Don't dump core on empty table.Tom Lane2002-04-24
|
* Remove compile warnings for lo dump by casting to char *.Bruce Momjian2002-04-24
|
* Missed one NAMEDATALEN.Peter Eisentraut2002-04-24
|
* Remove traces of NAMEDATALEN and INDEX_MAX_KEYS from psql. Build buffersPeter Eisentraut2002-04-24
| | | | dynamically with PQExpBuffer.
* Update version for UNKNOWN regression fix.Bruce Momjian2002-04-24
|
* Fix UNKNOWN regression test failure.Bruce Momjian2002-04-24
|