Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Location
    Orlando, FL
    Posts
    311
    Provided Answers: 1

    Question Unanswered: Verify Database Connection Limit

    I've altered my database connection limit as follows on PostgreSQL 9.2:

    Code:
    ALTER DATABASE zoo
    CONNECTION LIMIT = -1
    ;
    ALTER DATABASE
    My question is how can I query the database server to verify that this database in fact does have a '-1' connection limit? Is there a SQL query I can execute against the database or some kind of /* psql command?

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    Code:
    select datname, datconnlimit
    from pg_database
    where datname = 'zoo'
    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

Posting Permissions

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