1. 03 Oct, 2008 1 commit
    • Heikki Linnakangas's avatar
      Add relation fork support to pg_relation_size() function. You can now pass · 706a3088
      Heikki Linnakangas authored
      name of a fork ('main' or 'fsm', at the moment) to pg_relation_size() to
      get the size of a specific fork. Defaults to 'main', if none given.
      
      While we're at it, modify pg_relation_size to take a regclass as argument,
      instead of separate variants taking oid and name. This change is
      transparent to typical use where the table name is passed as a string
      literal, like pg_relation_size('table'), but will break queries like
      pg_relation_size(namecol), where namecol is of type name. text-type input
      still works, and using a non-schema-qualified table name is not very
      reliable anyway, so this is unlikely to break anyone's queries in practice.
      706a3088
  2. 02 Oct, 2008 6 commits
  3. 01 Oct, 2008 5 commits
  4. 30 Sep, 2008 5 commits
  5. 28 Sep, 2008 2 commits
  6. 27 Sep, 2008 1 commit
  7. 26 Sep, 2008 2 commits
  8. 25 Sep, 2008 1 commit
  9. 24 Sep, 2008 8 commits
  10. 23 Sep, 2008 5 commits
  11. 22 Sep, 2008 2 commits
    • Tom Lane's avatar
      Get rid of pgpass_from_client tracking inside libpq --- given the conclusion · c52aab55
      Tom Lane authored
      that presence of the password in the conninfo string must be checked *before*
      risking a connection attempt, there is no point in checking it afterwards.
      This makes the specification of PQconnectionUsedPassword() a bit simpler
      and perhaps more generally useful, too.
      c52aab55
    • Tom Lane's avatar
      Fix dblink_connect() so that it verifies that a password is supplied in the · cae7ad90
      Tom Lane authored
      conninfo string *before* trying to connect to the remote server, not after.
      As pointed out by Marko Kreen, in certain not-very-plausible situations
      this could result in sending a password from the postgres user's .pgpass file,
      or other places that non-superusers shouldn't have access to, to an
      untrustworthy remote server.  The cleanest fix seems to be to expose libpq's
      conninfo-string-parsing code so that dblink can check for a password option
      without duplicating the parsing logic.
      
      Joe Conway, with a little cleanup by Tom Lane
      cae7ad90
  12. 21 Sep, 2008 1 commit
  13. 19 Sep, 2008 1 commit