1. 13 6月, 2005 2 次提交
    • N
      Per discussion on -hackers, this patch changes psql's "expanded" output · 07781160
      Neil Conway 提交于
      mode to only affect the presentation of normal query results, not the
      output of psql slash commands. Documentation updated. I also made
      some unrelated minor psql cleanup. Per suggestion from Stuart Cooper.
      07781160
    • T
      Adjust lo_open() so that specifying INV_READ without INV_WRITE creates · a2fb7b8a
      Tom Lane 提交于
      a descriptor that uses the current transaction snapshot, rather than
      SnapshotNow as it did before (and still does if INV_WRITE is set).
      This means pg_dump will now dump a consistent snapshot of large object
      contents, as it never could do before.  Also, add a lo_create() function
      that is similar to lo_creat() but allows the desired OID of the large
      object to be specified.  This will simplify pg_restore considerably
      (but I'll fix that in a separate commit).
      a2fb7b8a
  2. 12 6月, 2005 2 次提交
  3. 11 6月, 2005 4 次提交
  4. 10 6月, 2005 24 次提交
  5. 09 6月, 2005 4 次提交
    • B
      I've created a patch which adds support for troff "-ms" output to · 4a5cda7b
      Bruce Momjian 提交于
      psql.  i.e. "\pset format troff-ms".  The patch also corrects some
      problems with the "latex" format, notably defining an extra column in
      the output table, and correcting some alignment issues; it also
      changes the output to match the border setting as documented in the
      manual page and as shown with the "aligned" format.
      
      The troff-ms output is mostly identical to the latex output allowing
      for the differences between the two typesetters.
      
      The output should be saved in a file and piped as follows:
      
        cat file | tbl | troff -T ps -ms > file.ps
      or
        tbl file | troff -T ps -ms > file.ps
      
      Because it contains tabs, you'll need to redirect psql output or use
      "script", rather than pasting from a terminal window, due to the tabs
      which can be replaced with spaces.
      
      Roger Leigh
      4a5cda7b
    • T
      Simplify the planner's join clause management by storing join clauses · a31ad27f
      Tom Lane 提交于
      of a relation in a flat 'joininfo' list.  The former arrangement grouped
      the join clauses according to the set of unjoined relids used in each;
      however, profiling on test cases involving lots of joins proves that
      that data structure is a net loss.  It takes more time to group the
      join clauses together than is saved by avoiding duplicate tests later.
      It doesn't help any that there are usually not more than one or two
      clauses per group ...
      a31ad27f
    • T
      Marginal hack to avoid spending a lot of time in find_join_rel during · e3a33a9a
      Tom Lane 提交于
      large planning problems: when the list of join rels gets too long, make
      an auxiliary hash table that hashes on the identifying Bitmapset.
      e3a33a9a
    • T
      Remove grammar productions for prefix and postfix % and ^ operators, · 77c168a8
      Tom Lane 提交于
      as well as the existing pg_catalog entries for prefix and postfix %.
      These have never been documented, though they did appear in one old
      regression test.  This avoids surprising behavior in cases like
      "SELECT -25 % -10".  Per recent discussion.
      Note: although there is a catalog change here, I did not force initdb
      since there's no harm in leaving the inaccessible entries in one's
      copy of pg_operator.
      77c168a8
  6. 08 6月, 2005 3 次提交
  7. 07 6月, 2005 1 次提交