"...postgres-fd-implementation.git" did not exist on "0655b1500feea8156df4acaba4314d82b8673df3"
  1. 19 Jun, 2001 1 commit
  2. 08 May, 2001 1 commit
  3. 07 May, 2001 1 commit
    • Tom Lane's avatar
      Rewrite of planner statistics-gathering code. ANALYZE is now available as · f905d65e
      Tom Lane authored
      a separate statement (though it can still be invoked as part of VACUUM, too).
      pg_statistic redesigned to be more flexible about what statistics are
      stored.  ANALYZE now collects a list of several of the most common values,
      not just one, plus a histogram (not just the min and max values).  Random
      sampling is used to make the process reasonably fast even on very large
      tables.  The number of values and histogram bins collected is now
      user-settable via an ALTER TABLE command.
      
      There is more still to do; the new stats are not being used everywhere
      they could be in the planner.  But the remaining changes for this project
      should be localized, and the behavior is already better than before.
      
      A not-very-related change is that sorting now makes use of btree comparison
      routines if it can find one, rather than invoking '<' twice.
      f905d65e
  4. 22 Mar, 2001 1 commit
  5. 21 Feb, 2001 1 commit
    • Tom Lane's avatar
      Change case-folding of keywords to conform to SQL99 and fix misbehavior · be92ad49
      Tom Lane authored
      in Turkish locale.  Keywords are now checked under pure ASCII case-folding
      rules ('A'-'Z'->'a'-'z' and nothing else).  However, once a word is
      determined not to be a keyword, it will be case-folded under the current
      locale, same as before.  See pghackers discussion 20-Feb-01.
      be92ad49
  6. 24 Jan, 2001 1 commit
  7. 05 Jan, 2001 1 commit
    • Tom Lane's avatar
      Remove not-really-standard implementation of CREATE TABLE's UNDER clause, · 2fb6cc90
      Tom Lane authored
      and revert documentation to describe the existing INHERITS clause
      instead, per recent discussion in pghackers.  Also fix implementation
      of SQL_inheritance SET variable: it is not cool to look at this var
      during the initial parsing phase, only during parse_analyze().  See
      recent bug report concerning misinterpretation of date constants just
      after a SET TIMEZONE command.  gram.y really has to be an invariant
      transformation of the query string to a raw parsetree; anything that
      can vary with time must be done during parse analysis.
      2fb6cc90
  8. 15 Dec, 2000 1 commit
  9. 14 Nov, 2000 1 commit
    • Tom Lane's avatar
      Extend CREATE DATABASE to allow selection of a template database to be · 2cf48ca0
      Tom Lane authored
      cloned, rather than always cloning template1.  Modify initdb to generate
      two identical databases rather than one, template0 and template1.
      Connections to template0 are disallowed, so that it will always remain
      in its virgin as-initdb'd state.  pg_dumpall now dumps databases with
      restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0.
      This allows proper behavior when there is user-added data in template1.
      initdb forced!
      2cf48ca0
  10. 08 Nov, 2000 1 commit
  11. 06 Nov, 2000 1 commit
  12. 05 Nov, 2000 1 commit
  13. 12 Sep, 2000 1 commit
  14. 06 Aug, 2000 1 commit
    • Thomas G. Lockhart's avatar
      Implement LIKE/ESCAPE. Change parser to use like()/notlike() · 30ab107d
      Thomas G. Lockhart authored
       rather than the "~~" operator; this made it easy to add ESCAPE features.
      Implement ILIKE, NOT ILIKE, and the ESCAPE clause for them.
       afaict this is not MultiByte clean, but lots of other stuff isn't either.
      Fix up underlying support code for LIKE/NOT LIKE.
       Things should be faster and does not require internal string copying.
      Update regression test to add explicit checks for
       LIKE/NOT LIKE/ILIKE/NOT ILIKE.
      Remove colon and semi-colon operators as threatened in 7.0.
      Implement SQL99 COMMIT/AND NO CHAIN.
       Throw elog(ERROR) on COMMIT/AND CHAIN per spec
       since we don't yet support it.
      Implement SQL99 CREATE/DROP SCHEMA as equivalent to CREATE DATABASE.
       This is only a stopgap or demo since schemas will have another
       implementation soon.
      Remove a few unused production rules to get rid of warnings
       which crept in on the last commit.
      Fix up tabbing in some places by removing embedded spaces.
      30ab107d
  15. 14 Jul, 2000 1 commit
    • Thomas G. Lockhart's avatar
      Implement nested block comments in the backend and in psql. · be703cd9
      Thomas G. Lockhart authored
       Include updates for the comment.sql regression test.
      Implement SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel.
      Implement SET SESSION CHARACTERISTICS TRANSACTION COMMIT
       and SET AutoCommit in the parser only.
       Need to add code to actually do something.
      Implement WITHOUT TIME ZONE type qualifier.
      Define SCHEMA keyword, along with stubbed-out grammar.
      Implement "[IN|INOUT|OUT] [varname] type" function arguments
       in parser only; INOUT and OUT throws an elog(ERROR).
      Add PATH as a type-specific token, since PATH is in SQL99
       to support schema resource search and resolution.
      be703cd9
  16. 03 Jul, 2000 1 commit
    • Jan Wieck's avatar
      TOAST · 57d8080a
      Jan Wieck authored
          WARNING: This is actually broken - we have self-deadlocks
      	         due to concurrent changes in buffer management.
      			 Vadim and me are working on it.
      
      Jan
      57d8080a
  17. 12 Jun, 2000 2 commits
  18. 09 Jun, 2000 2 commits
    • Bruce Momjian's avatar
      I have large database and with this DB work more users and I very need · 85add42a
      Bruce Momjian authored
      more restriction for fretful users. The current PG allow define only
      NO-CREATE-DB and NO-CREATE-USER restriction, but for some users I need
      NO-CREATE-TABLE and NO-LOCK-TABLE.
      
      This patch add to current code NOCREATETABLE and NOLOCKTABLE feature:
      
      CREATE USER username
          [ WITH
           [ SYSID uid ]
           [ PASSWORD 'password' ] ]
          [ CREATEDB   | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
      ->  [ CREATETABLE | NOCREATETABLE ] [ LOCKTABLE | NOLOCKTABLE ]
          ...etc.
      
       If CREATETABLE or LOCKTABLE is not specific in CREATE USER command,
      as default is set CREATETABLE or LOCKTABLE (true).
      
       A user with NOCREATETABLE restriction can't call CREATE TABLE or
      SELECT INTO commands, only create temp table is allow for him.
      
                                                      Karel
      85add42a
    • Bruce Momjian's avatar
  19. 31 May, 2000 1 commit
    • Peter Eisentraut's avatar
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut authored
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  20. 29 May, 2000 1 commit
  21. 12 Apr, 2000 1 commit
  22. 07 Apr, 2000 1 commit
    • Thomas G. Lockhart's avatar
      Add transcendental math functions (sine, cosine, etc) · a349733b
      Thomas G. Lockhart authored
      Add a random number generator and seed setter (random(), SET SEED)
      Fix up the interval*float8 math to carry partial months
       into the time field.
      Add float8*interval so we have symmetry in the available math.
      Fix the parser and define.c to accept SQL92 types as field arguments.
      Fix the parser to accept SQL92 types for CREATE TYPE, etc. This is
       necessary to allow...
      Bit/varbit support in contrib/bit cleaned up to compile and load
       cleanly. Still needs some work before final release.
      Implement the "SOME" keyword as a synonym for "ANY" per SQL92.
      Implement ascii(text), ichar(int4), repeat(text,int4) to help
       support the ODBC driver.
      Enable the TRUNCATE() function mapping in the ODBC driver.
      a349733b
  23. 21 Mar, 2000 1 commit
  24. 14 Mar, 2000 1 commit
    • Thomas G. Lockhart's avatar
      Implement column aliases on views "CREATE VIEW name (collist)". · 64568100
      Thomas G. Lockhart authored
      Implement TIME WITH TIME ZONE type (timetz internal type).
      Remap length() for character strings to CHAR_LENGTH() for SQL92
       and to remove the ambiguity with geometric length() functions.
      Keep length() for character strings for backward compatibility.
      Shrink stored views by removing internal column name list from visible rte.
      Implement min(), max() for time and timetz data types.
      Implement conversion of TIME to INTERVAL.
      Implement abs(), mod(), fac() for the int8 data type.
      Rename some math functions to generic names:
       round(), sqrt(), cbrt(), pow(), etc.
      Rename NUMERIC power() function to pow().
      Fix int2 factorial to calculate result in int4.
      Enhance the Oracle compatibility function translate() to work with string
       arguments (from Edwin Ramirez).
      Modify pg_proc system table to remove OID holes.
      64568100
  25. 18 Feb, 2000 1 commit
  26. 15 Feb, 2000 1 commit
    • Thomas G. Lockhart's avatar
      Add "DEC" as synonym for "DECIMAL". · 5c4b2b23
      Thomas G. Lockhart authored
      Add "SESSION_USER" as SQL92 keyword; equivalent to CURRENT_USER for now.
      Implement column aliases (aka correlation names) and more join syntax.
      Fix up indenting and tabbing.
      5c4b2b23
  27. 26 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  28. 30 Nov, 1999 1 commit
    • Bruce Momjian's avatar
      create/alter user extension · eebfb9ba
      Bruce Momjian authored
      This one should work much better than the one I sent in previously. The
      functionality is the same, but the patch was missing one file resulting
      in
      the compilation failing. The docs also received a minor fix.
      
      Peter Eisentraut                  Sernanders väg 10:115
      eebfb9ba
  29. 15 Oct, 1999 1 commit
    • Bruce Momjian's avatar
      This patch implements ORACLE's COMMENT SQL command. · 7acc2377
      Bruce Momjian authored
      >From the ORACLE 7 SQL Language Reference Manual:
      -----------------------------------------------------
      COMMENT
      
      Purpose:
      
      To add a comment about a table, view, snapshot, or
      column into the data dictionary.
      
      Prerequisites:
      
      The table, view, or snapshot must be in your own
      schema
      or you must have COMMENT ANY TABLE system privilege.
      
      Syntax:
      
      COMMENT ON [ TABLE table ] |
                 [ COLUMN table.column] IS 'text'
      
      You can effectively drop a comment from the database
      by setting it to the empty string ''.
      -----------------------------------------------------
      
      Example:
      
      COMMENT ON TABLE workorders IS
         'Maintains base records for workorder information';
      
      COMMENT ON COLUMN workorders.hours IS
         'Number of hours the engineer worked on the task';
      
      to drop a comment:
      
      COMMENT ON COLUMN workorders.hours IS '';
      
      The current patch will simply perform the insert into
      pg_description, as per the TODO. And, of course, when
      the table is dropped, any comments relating to it
      or any of its attributes are also dropped. I haven't
      looked at the ODBC source yet, but I do know from
      an ODBC client standpoint that the standard does
      support the notion of table and column comments.
      Hopefully the ODBC driver is already fetching these
      values from pg_description, but if not, it should be
      trivial.
      
      Hope this makes the grade,
      
      Mike Mascari
      (mascarim@yahoo.com)
      7acc2377
  30. 29 Sep, 1999 1 commit
    • Jan Wieck's avatar
      This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support. · 1547ee01
      Jan Wieck authored
      Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands.
      
      TODO:
          Generic builtin trigger procedures
          Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE
          Support of new trigger type in pg_dump
          Swapping of huge # of events to disk
      
      Jan
      1547ee01
  31. 23 Sep, 1999 1 commit
  32. 17 Jul, 1999 1 commit
  33. 15 Jul, 1999 1 commit
  34. 13 Jul, 1999 1 commit
  35. 12 May, 1999 1 commit
    • Thomas G. Lockhart's avatar
      Add keywords to implement Vadim's transaction isolation · bcb5aac8
      Thomas G. Lockhart authored
       and lock syntax as fully parsed tokens.
      Two keywords for isolation are non-reserved SQL92
       (COMMITTED, SERIALIZABLE).
      All other new keywords are non-reserved Postgres (not SQL92)
       (ACCESS, EXCLUSIVE, MODE, SHARE).
      Add syntax to allow CREATE [GLOBAL|LOCAL] TEMPORARY TABLE, throwing an
       error if GLOBAL is specified.
      bcb5aac8
  36. 19 Apr, 1999 1 commit
  37. 07 Mar, 1999 1 commit
  38. 13 Feb, 1999 1 commit