1. 12 Jun, 2001 2 commits
    • Bruce Momjian's avatar
      Back out has_table_privilege patch. · 76e9ad1f
      Bruce Momjian authored
      76e9ad1f
    • Bruce Momjian's avatar
      OK -- here's take #5. · 58c909bb
      Bruce Momjian authored
      It "make"s and "make check"s clean against current cvs tip.
      
      There are now both Text and Name variants, and the regression test support
      is rolled into the patch. Note that to be complete wrt Name based variants,
      there are now 12 user visible versions of has_table_privilege:
      
      has_table_privilege(Text usename, Text relname, Text priv_type)
      has_table_privilege(Text usename, Name relname, Text priv_type)
      has_table_privilege(Name usename, Text relname, Text priv_type)
      has_table_privilege(Name usename, Name relname, Text priv_type)
      has_table_privilege(Text relname, Text priv_type) /* assumes current_user */
      has_table_privilege(Name relname, Text priv_type) /* assumes current_user */
      has_table_privilege(Text usename, Oid reloid, Text priv_type)
      has_table_privilege(Name usename, Oid reloid, Text priv_type)
      has_table_privilege(Oid reloid, Text priv_type)  /* assumes current_user */
      has_table_privilege(Oid usesysid, Text relname, Text priv_type)
      has_table_privilege(Oid usesysid, Name relname, Text priv_type)
      has_table_privilege(Oid usesysid, Oid reloid, Text priv_type)
      
      For the Text based inputs, a new internal function, get_Name is used
      (shamelessly copied from get_seq_name in sequence.c) to downcase if not
      quoted, or remove quotes if quoted, and truncate. I also added a few test
      cases for the downcasing, quote removal, and Name based variants to the
      regression test.
      
      Joe Conway
      58c909bb
  2. 09 Jun, 2001 1 commit
  3. 05 Jun, 2001 1 commit
  4. 27 May, 2001 1 commit
  5. 22 Mar, 2001 1 commit
  6. 24 Jan, 2001 1 commit
  7. 14 Jan, 2001 1 commit
  8. 03 Dec, 2000 1 commit
  9. 28 Nov, 2000 1 commit
  10. 16 Nov, 2000 1 commit
  11. 03 Nov, 2000 1 commit
  12. 16 Oct, 2000 1 commit
  13. 07 Oct, 2000 1 commit
    • Tom Lane's avatar
      Arrange that no database accesses are attempted during parser() --- this · fbd26d69
      Tom Lane authored
      took some rejiggering of typename and ACL parsing, as well as moving
      parse_analyze call out of parser().  Restructure postgres.c processing
      so that parse analysis and rewrite are skipped when in abort-transaction
      state.  Only COMMIT and ABORT statements will be processed beyond the raw
      parser() phase.  This addresses problem of parser failing with database access
      errors while in aborted state (see pghackers discussions around 7/28/00).
      Also fix some bugs with COMMIT/ABORT statements appearing in the middle of
      a single query input string.
      Function, operator, and aggregate arguments/results can now use full
      TypeName production, in particular foo[] for array types.
      DROP OPERATOR and COMMENT ON OPERATOR were broken for unary operators.
      Allow CREATE AGGREGATE to accept unquoted numeric constants for initcond.
      fbd26d69
  14. 02 Oct, 2000 1 commit
  15. 31 Jul, 2000 1 commit
  16. 14 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Big warnings cleanup for Solaris/GCC. Down to about 40 now, but · 44d1abeb
      Peter Eisentraut authored
      we'll get there one day.
      
      Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
      have automake installed.
      
      Only run the autoconf rule in the top-level GNUmakefile if the
      invoker specified `make configure', don't run it automatically
      because of CVS timestamp skew.
      44d1abeb
  17. 05 Jun, 2000 1 commit
  18. 12 Apr, 2000 1 commit
  19. 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
  20. 24 Nov, 1999 1 commit
  21. 22 Nov, 1999 1 commit
  22. 18 Oct, 1999 1 commit
  23. 17 Jul, 1999 1 commit
  24. 16 Jul, 1999 1 commit
  25. 15 Jul, 1999 1 commit
  26. 09 Jul, 1999 1 commit
  27. 25 May, 1999 1 commit
  28. 12 May, 1999 1 commit
    • Bruce Momjian's avatar
      I am sorry, I misinterpreted the still failing trigger regression test. · 1a87c14c
      Bruce Momjian authored
      The
      offending code
      has been removed, the action is now always dependent :-)
      
      I suggest the following patch, to finally make trigger regression happy
      again:
      
       <<refint1.patch>>
      After that you can remove the following from TODO:
      Remove ERROR:  check_primary_key: even number of arguments should be
      specified
      Trigger regression test fails
      
      Andreas
      1a87c14c
  29. 21 Mar, 1999 1 commit
  30. 13 Feb, 1999 1 commit
  31. 03 Feb, 1999 1 commit
  32. 01 Sep, 1998 2 commits
  33. 19 Aug, 1998 1 commit
    • Bruce Momjian's avatar
      heap_fetch requires buffer pointer, must be released; heap_getnext · 79715390
      Bruce Momjian authored
      no longer returns buffer pointer, can be gotten from scan;
      	descriptor; bootstrap can create multi-key indexes;
      pg_procname index now is multi-key index; oidint2, oidint4, oidname
      are gone (must be removed from regression tests); use System Cache
      rather than sequential scan in many places; heap_modifytuple no
      longer takes buffer parameter; remove unused buffer parameter in
      a few other functions; oid8 is not index-able; remove some use of
      single-character variable names; cleanup Buffer variables usage
      and scan descriptor looping; cleaned up allocation and freeing of
      tuples; 18k lines of diff;
      79715390
  34. 15 Jun, 1998 1 commit
  35. 26 Feb, 1998 1 commit
  36. 25 Feb, 1998 1 commit
    • Marc G. Fournier's avatar
      From: Jan Wieck <jwieck@debis.com> · 780068f8
      Marc G. Fournier authored
          seems  that  my last post didn't make it through. That's good
          since  the  diff  itself  didn't  covered  the  renaming   of
          pg_user.h to pg_shadow.h and it's new content.
      
          Here  it's  again.  The  complete regression test passwd with
          only some  float  diffs.  createuser  and  destroyuser  work.
          pg_shadow cannot be read by ordinary user.
      780068f8
  37. 24 Feb, 1998 1 commit
  38. 11 Feb, 1998 1 commit