1. 27 Mar, 2003 7 commits
    • Bruce Momjian's avatar
      * Make pg_get_triggerdef documentation consistent with other pg_get_ · 64c1399d
      Bruce Momjian authored
      functions
      * Document pg_conversion_is_visible() which was created in one of my
      previous patches and didn't get documented for some reason
      
      Christopher Kings-Lynne
      64c1399d
    • Bruce Momjian's avatar
      Attached are two patches for psql's tab-completion.c. · a6699f61
      Bruce Momjian authored
      The first cleans up a couple of minor errors and ommissions
      and adds tab completion support to more slash commands, e.g.
      \dv.
      
      The second is an attempt to add tab completion for schemas
      and fully qualified relation names (e.g. public.mytable ).
      I think this covers the TODO-item:
      "Allow psql to do table completion for SELECT * FROM schema_part and table
      completion for SELECT * FROM schema_name."
      
      This happens via union selects querying:
       - relation_name in current search path;
       - schema_name;
       - schema.relation_name
      matching the current input string.
      
      E.g:
        SELECT p[TAB]
      will produce a list of all appropriate relation names in the current search
      path which begin with 'p', and also all schema names which begin with 'p';
        \d pub[TAB]
      will produce any relation names in the current search path and also
      any schema names beginning with 'pub';
        \d public.[TAB]
      will produce a list of all relations in the schema 'public';
        \d public.my[TAB]
      produces all relation names beginning with 'my' in schema 'public'.
      
      It seems to work for me; comments, suggestions, particularly regarding
      the coding and queries, are very welcome.
      
      Note that tables, indexes, views and sequences relations in the
      'pg_catalog' namespace are excluded even though they are in
      the current search path. I found not doing this produced annoying behaviour
      when expanding names beginning with 'p'. People who work with system
      tables a lot may not like this though; I can look for another solution
      if necessary.
      
      Ian Barwick
      a6699f61
    • Bruce Momjian's avatar
      Adds · 9d6f5ee8
      Bruce Momjian authored
      	ALTER TABLE foo CLUSTER ON bar;
      
      In pg_dumps, to preserve cluster settings.
      
      Christopher Kings-Lynne
      9d6f5ee8
    • Bruce Momjian's avatar
      Reorder language creation to restore constistently. · b099d9e7
      Bruce Momjian authored
      Laurent FAILLIE
      b099d9e7
    • Bruce Momjian's avatar
      to_char fixes, Karel Zak · 7a3e7b64
      Bruce Momjian authored
      7a3e7b64
    • Tom Lane's avatar
      GetTupleForTrigger must use outer transaction's command counter for time · bf576cc0
      Tom Lane authored
      qual checking, not GetCurrentCommandId.  Per test case from Steve Wolfe.
      bf576cc0
    • Michael Meskes's avatar
      89508a84
  2. 25 Mar, 2003 9 commits
  3. 24 Mar, 2003 7 commits
  4. 23 Mar, 2003 4 commits
  5. 22 Mar, 2003 7 commits
  6. 21 Mar, 2003 6 commits