Exam 156-586 All QuestionsBrowse all questions from this exam
Question 23

PostgreSQL is a powerful, open source relational database management system. Check Point offers a command for viewing the database to interact with Postgres interactive shell. Which command do you need to enter the PostgreSQL interactive shell?

    Correct Answer: C

    The correct command to enter the PostgreSQL interactive shell follows the format: psql [database_name] [user]. Thus, the correct command as per the given options is 'psql_client cpm postgres', where 'psql_client' initiates the interactive shell, 'cpm' is the database name, and 'postgres' is the user. This allows connection to the PostgreSQL database under the specified database and user.

Discussion
Nicknamefordiscussions_1Option: C

For example, to connect to the cpm database, use the command shown below in Expert mode: psql_client cpm postgres This gives a shell prompt where further SQL commands or special postgres commands can be executed.