---
name: "pgtksh"
section: "1"
platform: "linux"
package: "libpgtcl"
version: "7.4.7-6sarge6"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/pgtksh"
---

# pgtksh(1)

PostgreSQL Tcl/Tk shell client

## NAME

pgtksh - PostgreSQL Tcl/Tk shell client

## SYNOPSIS

**pgtksh** \[ *filename*  \[ *argument*... \] \]

## DESCRIPTION

**pgtksh** is a **Tcl/Tk** shell interface extended with PostgreSQL database access functions. (Essentially, it is **wish** with *libpgtcl* loaded.) Like with **wish**, the regular **Tcl/Tk** shell, the first command line argument is a script file, any remaining arguments are passed to the script. Special options may be processed by the **X Window System** libraries instead. If no script file is named, the shell is interactive.

A plain **Tcl** shell with PostgreSQL functions is available as [**pgtclsh**(1)](/pgtclsh/1.md).

## SEE ALSO

[**pgtclsh**(1)](/pgtclsh/1.md),  *libpgtcl* chapter in the documentation,  [**tclsh**(1)](/tclsh/1.md),  [**wish**(1)](/wish/1.md)
