Results 1 to 5 of 5

Thread: Flush Hosts

  1. #1
    Join Date
    Apr 2014
    Posts
    16

    Unanswered: Flush Hosts

    Hi,

    I am new to PostgreSQL and so need some help.

    What query is PostgreSQL equivalent to "flush hosts" or "Flush all" in mysql?

    Thanks,
    PA

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    And what exactly does "flush hosts" do?
    I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags: http://www.dbforums.com/misc.php?do=bbcode#code

    Tips for good questions:

    http://tkyte.blogspot.de/2005/06/how...questions.html
    http://wiki.postgresql.org/wiki/SlowQueryQuestions
    http://catb.org/esr/faqs/smart-questions.html

  3. #3
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    The MySQL FLUSH HOSTS command invalidates the internal MySQL DNS cache. The primary use for this command is when the IP address of a linked MySQL server has changed.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  4. #4
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    Quote Originally Posted by Pat Phelan View Post
    The MySQL FLUSH HOSTS command invalidates the internal MySQL DNS cache. The primary use for this command is when the IP address of a linked MySQL server has changed
    I don't think Postgres has anything similar. To my knowledge there is no "internal DNS cache" in Postgres so that statement won't be needed in Postgres then.
    I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags: http://www.dbforums.com/misc.php?do=bbcode#code

    Tips for good questions:

    http://tkyte.blogspot.de/2005/06/how...questions.html
    http://wiki.postgresql.org/wiki/SlowQueryQuestions
    http://catb.org/esr/faqs/smart-questions.html

  5. #5
    Join Date
    Apr 2014
    Posts
    16
    Thank you so much for the info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •