Skip to content
Snippets Groups Projects
  1. Jun 22, 2012
  2. Aug 07, 2011
    • Peter Eisentraut's avatar
      Fix a whitespace issue with the man pages · 6ef24487
      Peter Eisentraut authored
      There is what may actually be a mistake in our markup.  The problem is
      in a situation like
      
      <para>
       <command>FOO</command> is ...
      
      there is strictly speaking a line break before "FOO".  In the HTML
      output, this does not appear to be a problem, but in the man page
      output, this shows up, so you get double blank lines at odd places.
      
      So far, we have attempted to work around this with an XSL hack, but
      that causes other problems, such as creating run-ins in places like
      
      <acronym>SQL</acronym> <command>COPY</command>
      
      So fix the problem properly by removing the extra whitespace.  I only
      fixed the problems that affect the man page output, not all the
      places.
      6ef24487
  3. Oct 10, 2010
    • Tom Lane's avatar
      Support triggers on views. · 2ec993a7
      Tom Lane authored
      This patch adds the SQL-standard concept of an INSTEAD OF trigger, which
      is fired instead of performing a physical insert/update/delete.  The
      trigger function is passed the entire old and/or new rows of the view,
      and must figure out what to do to the underlying tables to implement
      the update.  So this feature can be used to implement updatable views
      using trigger programming style rather than rule hacking.
      
      In passing, this patch corrects the names of some columns in the
      information_schema.triggers view.  It seems the SQL committee renamed
      them somewhere between SQL:99 and SQL:2003.
      
      Dean Rasheed, reviewed by Bernd Helmle; some additional hacking by me.
      2ec993a7
  4. Sep 20, 2010
  5. Apr 03, 2010
    • Peter Eisentraut's avatar
      Remove unnecessary xref endterm attributes and title ids · 6dcce398
      Peter Eisentraut authored
      The endterm attribute is mainly useful when the toolchain does not support
      automatic link target text generation for a particular situation.  In  the
      past, this was required by the man page tools for all reference page links,
      but that is no longer the case, and it now actually gets in the way of
      proper automatic link text generation.  The only remaining use cases are
      currently xrefs to refsects.
      6dcce398
  6. Nov 14, 2008
  7. Nov 07, 2007
  8. Feb 01, 2007
    • Bruce Momjian's avatar
      Wording cleanup for error messages. Also change can't -> cannot. · 8b4ff8b6
      Bruce Momjian authored
      Standard English uses "may", "can", and "might" in different ways:
      
              may - permission, "You may borrow my rake."
      
              can - ability, "I can lift that log."
      
              might - possibility, "It might rain today."
      
      Unfortunately, in conversational English, their use is often mixed, as
      in, "You may use this variable to do X", when in fact, "can" is a better
      choice.  Similarly, "It may crash" is better stated, "It might crash".
      8b4ff8b6
    • Bruce Momjian's avatar
      Consistenly use colons before '<programlisting>' blocks, where · 09a9f10e
      Bruce Momjian authored
      appropriate.
      09a9f10e
    • Bruce Momjian's avatar
      Update reference documentation on may/can/might: · e81c138e
      Bruce Momjian authored
      Standard English uses "may", "can", and "might" in different ways:
      
              may - permission, "You may borrow my rake."
      
              can - ability, "I can lift that log."
      
              might - possibility, "It might rain today."
      
      Unfortunately, in conversational English, their use is often mixed, as
      in, "You may use this variable to do X", when in fact, "can" is a better
      choice.  Similarly, "It may crash" is better stated, "It might crash".
      e81c138e
  9. Sep 16, 2006
  10. Sep 05, 2006
    • Tom Lane's avatar
      Get rid of the separate RULE privilege for tables: now only a table's owner · 7bae5a28
      Tom Lane authored
      can create or modify rules for the table.  Do setRuleCheckAsUser() while
      loading rules into the relcache, rather than when defining a rule.  This
      ensures that permission checks for tables referenced in a rule are done with
      respect to the current owner of the rule's table, whereas formerly ALTER TABLE
      OWNER would fail to update the permission checking for associated rules.
      Removal of separate RULE privilege is needed to prevent various scenarios
      in which a grantee of RULE privilege could effectively have any privilege
      of the table owner.  For backwards compatibility, GRANT/REVOKE RULE is still
      accepted, but it doesn't do anything.  Per discussion here:
      http://archives.postgresql.org/pgsql-hackers/2006-04/msg01138.php
      7bae5a28
  11. Sep 02, 2006
    • Tom Lane's avatar
      Apply a simple solution to the problem of making INSERT/UPDATE/DELETE · 917bbebf
      Tom Lane authored
      RETURNING play nice with views/rules.  To wit, have the rule rewriter
      rewrite any RETURNING clause found in a rule to produce what the rule's
      triggering query asked for in its RETURNING clause, in particular drop
      the RETURNING clause if no RETURNING in the triggering query.  This
      leaves the responsibility for knowing how to produce the view's output
      columns on the rule author, without requiring any fundamental changes
      in rule semantics such as adding new rule event types would do.  The
      initial implementation constrains things to ensure that there is
      exactly one, unconditionally invoked RETURNING clause among the rules
      for an event --- later we might be able to relax that, but for a post
      feature freeze fix it seems better to minimize how much invention we do.
      Per gripe from Jaime Casanova.
      917bbebf
  12. Jan 04, 2005
  13. Mar 09, 2004
  14. Mar 04, 2004
  15. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  16. Sep 09, 2003
  17. Aug 31, 2003
  18. Apr 22, 2003
  19. Nov 22, 2002
  20. Sep 02, 2002
  21. May 18, 2002
  22. Apr 20, 2002
  23. 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
  24. Mar 22, 2002
  25. Mar 10, 2002
  26. Jan 24, 2002
  27. Dec 08, 2001
  28. Nov 07, 2001
  29. Oct 09, 2001
  30. Sep 14, 2001
    • Tatsuo Ishii's avatar
      Example rules do not work. · 479cba83
      Tatsuo Ishii authored
      CREATE RULE bad_rule_combination_1 AS
          ON SELECT TO emp
          DO INSTEAD
              SELECT * FROM toyemp;
      
      CREATE RULE bad_rule_combination_2 AS
          ON SELECT TO toyemp
          DO INSTEAD
              SELECT * FROM emp;
      
      	Tatsuo Ishii
      479cba83
  31. Sep 07, 2001
  32. Sep 03, 2001
  33. Jul 10, 2001
  34. May 27, 2001
  35. Jan 14, 2001
  36. Jan 06, 2001
  37. Dec 12, 2000
    • Bruce Momjian's avatar
      In 'Joins between classes' in Section 5 of the tutorial we have, in · 36da236e
      Bruce Momjian authored
      the first paragraph:
      
          As an example, say we wish to find all the records that
          are in the  temperature  range  of  other records. In
          effect, we need to compare the temp_lo and temp_hi
          attributes of each EMP instance to the temp_lo and
          temp_hi  attributes of all other EMP instances.
      
      I believe that EMP should read WEATHER, as the example query that
      follows joins WEATHER to itself.
      
      EMP is often used in Oracle examples.
      
      Regards,
      Graham
      
      Other RULE cleanups
      36da236e
  38. Oct 05, 2000
Loading