summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2002-05-03Retire xlateSqlType/xlateSqlFunc; all type name translations are nowTom Lane
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.
2002-05-02Fix backslash-n typo, per Joe Conway.Tom Lane
2002-05-02Tweak scanner/grammar interface so that the keyword-as-identifier rulesTom Lane
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.
2002-05-01Add routines in namespace.c to determine whether objects are visibleTom Lane
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.
2002-05-01Give left_oper() and right_oper() noError parameters like oper() (theTom Lane
binary case) already has. Needed for upcoming ruleutils change.
2002-05-01Improve lexer's error reporting. You get the whole token mentioned nowTom Lane
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.
2002-05-01The attached patch fixes 4 instances of missing simi-colons in theJan Wieck
PL/PgSQL grammar, which were causing warnings when used with Bison 1.35. Neil Conway <neilconway@rogers.com>
2002-05-01Change heap_get_latest_tid() so that a transaction canHiroshi Inoue
see changes made by the transaction itself.
2002-04-30Fix obj_description() and col_description() functions to work reliablyTom Lane
in presence of schemas.
2002-04-30Document that NAMEDATALEN must be a multiple of sizeof(int).Tom Lane
2002-04-30Clean up loose ends remaining from schema privileges discussion.Tom Lane
I concluded that RENAME should require CREATE privilege on the namespace as well as ownership of the table.
2002-04-30Code review for ALTER TRIGGER RENAME patch: make better use of index,Tom Lane
don't scribble on tuple returned by table scan.
2002-04-29Enforce EXECUTE privilege for aggregate functions.Tom Lane
2002-04-29Implement checking of USAGE rights on namespaces.Tom Lane
2002-04-29Add cache invalidation callback hooks.Tom Lane
2002-04-29Add missing 'static' keyword to suppress compiler complaints.Tom Lane
gcc does not complain about this mistake, but other compilers do.
2002-04-29Remove unnecessary/obsolete regproctooid() references.Tom Lane
2002-04-28Fix problem with new pg_hba.conf code where the same comparison functionBruce Momjian
was incorrectly used for both qsort and bsearch.
2002-04-28Second try at fixing join alias variables. Instead of attaching miscellaneousTom Lane
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.
2002-04-28 - Synced yet again.Michael Meskes
- Fixed a typo in a comment printed by ecpg.
2002-04-28Make ruleutils.c use format_type for printing typenames. Minor tweaksTom Lane
in quoting rules and recognition of implicit type coercions.
2002-04-28Minor code cleanup.Tom Lane
2002-04-27Support toasting of shared system relations, and provide toast tables forTom Lane
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.
2002-04-27Fix write of pg_pwd file for multiple users. Broken recently by myBruce Momjian
pg_hba.conf changes.
2002-04-27Restructure aclcheck error reporting to make permission-failureTom Lane
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.
2002-04-26Move renametrig() from tablecmds.c to trigger.c --- if we're going toTom Lane
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.
2002-04-26Add current_schema() and current_schemas() inquiry functions.Tom Lane
Update has_table_privilege functions to cope with schema-qualified names in the same way as nextval() and others.
2002-04-25Implement types regprocedure, regoper, regoperator, regclass, regtypeTom Lane
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.
2002-04-25Fix for the following items about escape sequenceHiroshi Inoue
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:
2002-04-25Fix password code to deal with new quoting code.Bruce Momjian
2002-04-24Remove reference to NAMEDATALEN, which wasn't necessary anyway.Peter Eisentraut
2002-04-24Remove references to NAMEDATALEN and INDEX_MAX_KEYS from pg_dump. HandlesPeter Eisentraut
any size now.
2002-04-24Remove reference to BLCKSZ.Peter Eisentraut
2002-04-24Don't dump core on empty table.Tom Lane
2002-04-24Remove compile warnings for lo dump by casting to char *.Bruce Momjian
2002-04-24Missed one NAMEDATALEN.Peter Eisentraut
2002-04-24Remove traces of NAMEDATALEN and INDEX_MAX_KEYS from psql. Build buffersPeter Eisentraut
dynamically with PQExpBuffer.
2002-04-24Update version for UNKNOWN regression fix.Bruce Momjian
2002-04-24Fix UNKNOWN regression test failure.Bruce Momjian