Skip to content
Snippets Groups Projects
  1. Jun 21, 2002
  2. Jun 20, 2002
  3. Jun 17, 2002
  4. Jun 15, 2002
    • Bruce Momjian's avatar
      The normal operation of our servers is to have tcpip_sockets enabled, · 78821799
      Bruce Momjian authored
      but occasionally I may need to shut down the server and restart it
      w/o tcpip sockets. Postmaster has the -i option to turn on tcpip
      connections, but it wasn't immediately clear how to easily or
      temporarily turn it off (when it's been enabled in postgresql.conf).
      
      In fact, it wasn't clear to me until digging in to postmaster.c that
      I could pass '-c tcpip_socket=false' or '--tcpip_socket=false'.
      (And then of course when I looked more closely at the man page I
      realized I'd missed the proper part of the documentation.) What I'd
      been looking for is a flag that would have the opposite effect of
      '-i', and it's conceivable that others will be looking for specific
      flags to do the opposite of '-F' and '-S'.
      
      I was preparing to add options to postmaster until I realized that
      maybe the solution is just to add some documentation.
      
      If you'd rather have 1 character options to accomplish this, I'd be
      happy to do that-- adding those 9 lines of code is definitely within
      my ability. :)  (Although, the "right" letter to be the opposite of -S
      isn't clear to me, since -s is already taken.)
      
      Ron Snyder.
      78821799
  5. Jun 11, 2002
    • Thomas G. Lockhart's avatar
      Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. · ea01a451
      Thomas G. Lockhart authored
      Implement SQL99 SIMILAR TO as a synonym for our existing operator "~".
      Implement SQL99 regular expression SUBSTRING(string FROM pat FOR escape).
       Extend the definition to make the FOR clause optional.
       Define textregexsubstr() to actually implement this feature.
      Update the regression test to include these new string features.
       All tests pass.
      Rename the regular expression support routines from "pg95_xxx" to "pg_xxx".
      Define CREATE CHARACTER SET in the parser per SQL99. No implementation yet.
      ea01a451
  6. Jun 03, 2002
  7. May 30, 2002
  8. May 22, 2002
    • Peter Eisentraut's avatar
      Add optional "validator" function to languages that can validate the · d60f10b0
      Peter Eisentraut authored
      function body (and other properties) as a function in the language
      is created.  This generalizes ad hoc code that already existed for
      the built-in languages.
      
      The validation now happens after the pg_proc tuple of the new function
      is created, so it is possible to define recursive SQL functions.
      
      Add some regression test cases that cover bogus function definition
      attempts.
      d60f10b0
  9. May 18, 2002
  10. May 17, 2002
  11. May 14, 2002
  12. May 13, 2002
  13. May 11, 2002
  14. May 06, 2002
    • Tom Lane's avatar
      Accept SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION · 28227889
      Tom Lane authored
      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.
      28227889
  15. Apr 30, 2002
  16. Apr 25, 2002
  17. Apr 24, 2002
  18. Apr 23, 2002
  19. Apr 22, 2002
  20. Apr 21, 2002
    • Thomas G. Lockhart's avatar
      Augment the date/time examples in the User's Guide to reflect the newer · c05f29e8
      Thomas G. Lockhart authored
       capabilities of specifying time zones as intervals per SQL9x.
      Put refentrytitle contents on the same line as the tag.
       Otherwise, leading whitespace is propagated into the product, which
       (at least) messes up the ToC layout.
      Remove (some) docinfo tags containing dates. Best to omit if the dates
       are not accurate; maybe use CVS dates instead or leave them out.
      c05f29e8
    • Tom Lane's avatar
      Restructure AclItem representation so that we can have more than eight · b0bcf8aa
      Tom Lane authored
      different privilege bits (might as well make use of the space we were
      wasting on padding).  EXECUTE and USAGE bits for procedures, languages
      now are separate privileges instead of being overlaid on SELECT.  Add
      privileges for namespaces and databases.  The GRANT and REVOKE commands
      work for these object types, but we don't actually enforce the privileges
      yet...
      b0bcf8aa
  21. Apr 20, 2002
  22. Apr 19, 2002
    • Tom Lane's avatar
      pg_trigger's index on tgrelid is replaced by a unique index on · 20173716
      Tom Lane authored
      (tgrelid, tgname).  This provides an additional check on trigger name
      uniqueness per-table (which was already enforced by the code anyway).
      With this change, RelationBuildTriggers will read the triggers in
      order by tgname, since it's scanning using this index.  Since a
      predictable trigger ordering has been requested for some time, document
      this behavior as a feature.  Also document that rules fire in name
      order, since yesterday's changes to pg_rewrite indexing cause that too.
      20173716
  23. Apr 18, 2002
    • Tom Lane's avatar
      Rule names are now unique per-relation, rather than unique globally. · b3120804
      Tom Lane authored
      DROP RULE and COMMENT ON RULE syntax adds an 'ON tablename' clause,
      similar to TRIGGER syntaxes.  To allow loading of existing pg_dump
      files containing COMMENT ON RULE, the COMMENT code will still accept
      the old syntax --- but only if the target rulename is unique across
      the whole database.
      b3120804
  24. Apr 17, 2002
    • Tom Lane's avatar
      Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR take · 6cef5d25
      Tom Lane authored
      qualified operator names directly, for example CREATE OPERATOR myschema.+
      ( ... ).  To qualify an operator name in an expression you need to write
      OPERATOR(myschema.+) (thanks to Peter for suggesting an escape hatch).
      I also took advantage of having to reformat pg_operator to fix something
      that'd been bugging me for a while: mergejoinable operators should have
      explicit links to the associated cross-data-type comparison operators,
      rather than hardwiring an assumption that they are named < and >.
      6cef5d25
  25. Apr 12, 2002
  26. Apr 11, 2002
    • Tom Lane's avatar
      Restructure representation of aggregate functions so that they have pg_proc · 902a6a0a
      Tom Lane authored
      entries, per pghackers discussion.  This fixes aggregates to live in
      namespaces, and also simplifies/speeds up lookup in parse_func.c.
      Also, add a 'proimplicit' flag to pg_proc that controls whether a type
      coercion function may be invoked implicitly, or only explicitly.  The
      current settings of these flags are more permissive than I would like,
      but we will need to debate and refine the behavior; for now, I avoided
      breaking regression tests as much as I could.
      902a6a0a
  27. Apr 05, 2002
  28. Apr 04, 2002
    • Bruce Momjian's avatar
      Authentication improvements: · 43a3543a
      Bruce Momjian authored
      A new pg_hba.conf column, USER
      Allow specifiction of lists of users separated by commas
      Allow group names specified by +
      Allow include files containing lists of users specified by @
      Allow lists of databases, and database files
      Allow samegroup in database column to match group name matching dbname
      Removal of secondary password files
      Remove pg_passwd utility
      Lots of code cleanup in user.c and hba.c
      New data/global/pg_pwd format
      New data/global/pg_group file
      43a3543a
  29. Apr 03, 2002
  30. Apr 01, 2002
  31. Mar 27, 2002
Loading