Book Contents

Book Index

Next Topic

Home

Using vsql

psql is a character-based, interactive, front-end that is part of PostgreSQL and used by other database management systems. It allows you to type in SQL statements and see the results. It also provides a number of meta-commands and various shell-like features to facilitate writing scripts and automating a wide variety of tasks. On a Vertica host, psql is actually a symbolic link to vsql.

You can connect to vsql from the:

General Notes

In This Chapter

Connecting From the Administration Tools

Connecting From the Command Line

Meta-Commands

Variables

SQL Interpolation

Prompting

Command-Line Editing

Environment

Files

Notes for Windows users

Output Formatting Examples