1. 21 Dec, 2007 4 commits
  2. 20 Dec, 2007 2 commits
  3. 19 Dec, 2007 2 commits
  4. 18 Dec, 2007 3 commits
  5. 17 Dec, 2007 8 commits
  6. 16 Dec, 2007 9 commits
  7. 15 Dec, 2007 4 commits
  8. 14 Dec, 2007 2 commits
  9. 13 Dec, 2007 4 commits
  10. 12 Dec, 2007 2 commits
    • Tom Lane's avatar
      Improve the method of localizing column names and other fixed strings in · df4271fe
      Tom Lane authored
      psql's \d commands and other uses of printQuery().  Previously we would pass
      these strings through gettext() and then send them to the server as literals
      in the SQL query.  But the code was not set up to handle doubling of quotes in
      the strings, causing failure if a translation attempted to use the wrong kind
      of quote marks, as indeed is now the case for (at least) the French
      translation of \dFp.  Another hazard was that gettext() would translate to
      whatever encoding was implied by the client's LC_CTYPE setting, which might be
      different from the client_encoding setting, which would probably cause the
      server to reject the query as mis-encoded.  The new arrangement is to send the
      untranslated ASCII strings to the server, and do the translations inside
      printQuery() after the query results come back.  Per report from Guillaume
      Lelarge and subsequent discussion.
      df4271fe
    • Tom Lane's avatar
      Clean up unportable attempt to use #if inside a macro call, also · 286049db
      Tom Lane authored
      faulty code in third arm of #if.  Per buildfarm reports.
      286049db