1. 11 4月, 2012 1 次提交
  2. 07 4月, 2012 1 次提交
    • T
      Allow statistics to be collected for foreign tables. · 263d9de6
      Tom Lane 提交于
      ANALYZE now accepts foreign tables and allows the table's FDW to control
      how the sample rows are collected.  (But only manual ANALYZEs will touch
      foreign tables, for the moment, since among other things it's not very
      clear how to handle remote permissions checks in an auto-analyze.)
      
      contrib/file_fdw is extended to support this.
      
      Etsuro Fujita, reviewed by Shigeru Hanada, some further tweaking by me.
      263d9de6
  3. 31 3月, 2012 1 次提交
  4. 28 2月, 2012 1 次提交
    • A
      psql: when tab-completing, use quotes on file names that need them · 41e3c94c
      Alvaro Herrera 提交于
      psql backslash commands that deal with file or directory names require
      quotes around those that have spaces, single quotes, or backslashes.
      However, tab-completing such names does not provide said quotes, and is
      thus almost useless with them.
      
      This patch fixes the problem by having a wrapper function around
      rl_filename_completion_function that dequotes on input and quotes on
      output.  This eases dealing with such names.
      
      Author: Noah Misch
      41e3c94c
  5. 02 2月, 2012 1 次提交
  6. 01 2月, 2012 1 次提交
  7. 22 1月, 2012 1 次提交
  8. 02 1月, 2012 1 次提交
  9. 28 12月, 2011 1 次提交
  10. 20 12月, 2011 1 次提交
    • P
      Add support for privileges on types · 72920557
      Peter Eisentraut 提交于
      This adds support for the more or less SQL-conforming USAGE privilege
      on types and domains.  The intent is to be able restrict which users
      can create dependencies on types, which restricts the way in which
      owners can alter types.
      
      reviewed by Yeb Havinga
      72920557
  11. 24 10月, 2011 2 次提交
  12. 21 10月, 2011 1 次提交
    • T
      Rewrite tab completion's previous-word fetching for more sanity. · dce92c6d
      Tom Lane 提交于
      Make it return empty strings when there are no more words to the left of
      the current position, instead of sometimes returning NULL and other times
      returning copies of the leftmost word.  Also, fetch the words in one scan,
      rather than the previous wasteful approach of starting from scratch for
      each word.  Make the code a bit harder to break when someone decides we
      need more words of context, too.  (There was actually a memory leak here,
      because whoever added prev6_wd neglected to free it.)
      dce92c6d
  13. 06 7月, 2011 1 次提交
    • R
      Add \ir command to psql. · c7f23494
      Robert Haas 提交于
      \ir is short for "include relative"; when used from a script, the
      supplied pathname will be interpreted relative to the input file,
      rather than to the current working directory.
      
      Gurjeet Singh, reviewed by Josh Kupershmidt, with substantial further
      cleanup by me.
      c7f23494
  14. 15 6月, 2011 1 次提交
  15. 12 6月, 2011 1 次提交
  16. 14 5月, 2011 1 次提交
  17. 10 4月, 2011 1 次提交
  18. 02 4月, 2011 1 次提交
  19. 17 3月, 2011 1 次提交
  20. 12 3月, 2011 1 次提交
    • T
      Create an explicit concept of collations that work for any encoding. · e3c732a8
      Tom Lane 提交于
      Use collencoding = -1 to represent such a collation in pg_collation.
      We need this to make the "default" entry work sanely, and a later
      patch will fix the C/POSIX entries to be represented this way instead
      of duplicating them across all encodings.  All lookup operations now
      search first for an entry that's database-encoding-specific, and then
      for the same name with collencoding = -1.
      
      Also some incidental code cleanup in collationcmds.c and pg_collation.c.
      e3c732a8
  21. 03 3月, 2011 1 次提交
  22. 24 2月, 2011 2 次提交
  23. 15 2月, 2011 1 次提交
    • T
      Rearrange extension-related views as per recent discussion. · 555353c0
      Tom Lane 提交于
      The original design of pg_available_extensions did not consider the
      possibility of version-specific control files.  Split it into two views:
      pg_available_extensions shows information that is generic about an
      extension, while pg_available_extension_versions shows all available
      versions together with information that could be version-dependent.
      Also, add an SRF pg_extension_update_paths() to assist in checking that
      a collection of update scripts provide sane update path sequences.
      555353c0
  24. 12 2月, 2011 3 次提交
  25. 11 2月, 2011 1 次提交
  26. 09 2月, 2011 1 次提交
    • T
      Core support for "extensions", which are packages of SQL objects. · d9572c4e
      Tom Lane 提交于
      This patch adds the server infrastructure to support extensions.
      There is still one significant loose end, namely how to make it play nice
      with pg_upgrade, so I am not yet committing the changes that would make
      all the contrib modules depend on this feature.
      
      In passing, fix a disturbingly large amount of breakage in
      AlterObjectNamespace() and callers.
      
      Dimitri Fontaine, reviewed by Anssi Kääriäinen,
      Itagaki Takahiro, Tom Lane, and numerous others
      d9572c4e
  27. 20 1月, 2011 1 次提交
  28. 04 1月, 2011 1 次提交
  29. 02 1月, 2011 2 次提交
    • R
      Basic foreign table support. · 0d692a0d
      Robert Haas 提交于
      Foreign tables are a core component of SQL/MED.  This commit does
      not provide a working SQL/MED infrastructure, because foreign tables
      cannot yet be queried.  Support for foreign table scans will need to
      be added in a future patch.  However, this patch creates the necessary
      system catalog structure, syntax support, and support for ancillary
      operations such as COMMENT and SECURITY LABEL.
      
      Shigeru Hanada, heavily revised by Robert Haas
      0d692a0d
    • B
      Stamp copyrights for year 2011. · 5d950e3b
      Bruce Momjian 提交于
      5d950e3b
  30. 14 12月, 2010 1 次提交
    • R
      Improved tab completion for views with triggers. · 9878e295
      Robert Haas 提交于
      Allow INSERT INTO, UPDATE, and DELETE FROM to be completed with
      either the name of a table (as before) or the name of a view with
      an appropriate INSTEAD OF rule.
      
      Along the way, allow CREATE TRIGGER to be completed with INSTEAD OF,
      as well as BEFORE and AFTER.
      
      David Fetter, reviewed by Itagaki Takahiro
      9878e295
  31. 27 11月, 2010 1 次提交
    • R
      Add more ALTER <object> .. SET SCHEMA commands. · 55109313
      Robert Haas 提交于
      This adds support for changing the schema of a conversion, operator,
      operator class, operator family, text search configuration, text search
      dictionary, text search parser, or text search template.
      
      Dimitri Fontaine, with assorted corrections and other kibitzing.
      55109313
  32. 29 10月, 2010 1 次提交
  33. 11 10月, 2010 1 次提交
    • T
      Teach psql to do tab completion for names of psql variables. · b48b9cb3
      Tom Lane 提交于
      Completion is supported in the context of \set and when interpolating
      a variable value using :foo etc.
      
      In passing, fix some places in tab-complete.c that weren't following
      project style for comment formatting.
      
      Pavel Stehule, reviewed by Itagaki Takahiro
      b48b9cb3
  34. 28 9月, 2010 1 次提交
    • R
      Add a SECURITY LABEL command. · 4d355a83
      Robert Haas 提交于
      This is intended as infrastructure to support integration with label-based
      mandatory access control systems such as SE-Linux. Further changes (mostly
      hooks) will be needed, but this is a big chunk of it.
      
      KaiGai Kohei and Robert Haas
      4d355a83
  35. 26 9月, 2010 1 次提交