Try this (in the psql
command-line tool):
\d+ tablename
See the manual for more info.
Related Posts:
- missing FROM-clause entry for table
- PostgreSQL: Remotely connecting to Postgres instance using psql command
- Insert text with single quotes in PostgreSQL
- ERROR: there is no unique constraint matching given keys for referenced table “bar”
- Postgresql: Scripting psql execution with password
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- Simulate CREATE DATABASE IF NOT EXISTS for PostgreSQL?
- Postgresql tables exists, but getting “relation does not exist” when querying
- postgresql: error duplicate key value violates unique constraint
- psql: command not found Mac
- pg_ctl: no database directory specified and environment variable PGDATA unset
- Postgres Error: More than one row returned by a subquery used as an expression
- How to exit from PostgreSQL command line utility: psql
- What is the difference between LATERAL JOIN and a subquery in PostgreSQL?
- psql: FATAL: database “
” does not exist - PostgreSQL create table if not exists
- updating table rows in postgres using subquery
- PostgreSQL visual interface similar to phpMyAdmin?
- GROUP BY and COUNT using ActiveRecord
- Postgresql column reference “id” is ambiguous
- What is a postgres superuser
- What is a stored procedure?
- Unknown column in ‘field list’ error on MySQL Update query
- SQL Inner-join with 3 tables?
- Conversion failed when converting date and/or time from character string while inserting datetime
- error, string or binary data would be truncated when trying to insert
- Why do we need “Relationships” between tables at all?
- INSERT statement conflicted with the FOREIGN KEY constraint – SQL Server
- SQL SELECT WHERE field contains words
- Psql could not connect to server: No such file or directory, 5432 error?
- Case statement in MySQL
- IDENTITY_INSERT is set to OFF – How to turn it ON?
- Teradata: how to convert varchar value (format ‘dd.mm.yyyy’) to date (format ‘yyyy-mm-dd’ )?
- How Stuff and ‘For Xml Path’ work in SQL Server?
- Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)
- How do I limit the number of rows returned by an Oracle query after ordering?
- Oracle SELECT TOP 10 records
- Getting error: Peer authentication failed for user “postgres”, when trying to get pgsql working with rails
- MySQL: Invalid use of group function
- must appear in the GROUP BY clause or be used in an aggregate function
- Import / Export database with SQL Server Server Management Studio
- How can I return pivot table output in MySQL?
- The multi-part identifier could not be bound
- MySQL syntax for Join Update
- incorrect syntax error CREATE VIEW must be the only statement in the batch
- PLS-00103: Encountered the symbol when expecting one of the following:
- SQLite – UPSERT *not* INSERT or REPLACE
- Attach (open) mdf file database with SQL Server Management Studio
- how to drop partition without dropping data in MySQL?
- PSQLException: current transaction is aborted, commands ignored until end of transaction block
- psql: FATAL: Ident authentication failed for user “postgres”
- Simple way to calculate median with MySQL
- The ALTER TABLE statement conflicted with the FOREIGN KEY constraint
- Error 1046 No database Selected, how to resolve?
- What is it exactly a BLOB in a DBMS context
- Simple Random Samples from a Sql database
- How do you create a temporary table in an Oracle database?
- Oracle SQL: Update a table with data from another table
- How do you create a yes/no boolean field in SQL server?
- postgresql duplicate key violates unique constraint
- could not connect to server: No such file or directory (PG::ConnectionBad)
- How to change PostgreSQL user password?
- SELECT DISTINCT on one column
- TSQL PIVOT MULTIPLE COLUMNS
- MySQL – UPDATE multiple rows with different values in one query
- How to create a MySQL hierarchical recursive query?
- Microsoft OLE DB Provider for SQL Server error ‘80004005’
- Equivalent of Oracle’s RowID in SQL Server
- Is there a Max function in SQL Server that takes two values like Math.Max in .NET?
- Best way to test if a row exists in a MySQL table
- Subtract one day from datetime
- Get current year in TSQL
- Is it possible to specify condition in Count()?
- Backup a single table with its data from a database in sql server 2008
- How to do Select All(*) in linq to sql
- MySQL OPTIMIZE all tables?
- MySQL INSERT INTO table VALUES.. vs INSERT INTO table SET
- Is there a coalesce-like function in Excel?
- What datatype should be used for storing phone numbers in SQL Server 2005?
- Postgres: INSERT if does not exist already
- PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/website/public_html/facebook/fbclogin.php on line 57 [duplicate]
- How do I count unique items in field in Access query?
- MySQL LIKE IN()?
- Filter data based on date in sql
- ora-06553 pls-306 wrong number or types of arguments in call to ‘ogc_x’
- SQL query to extract only the “current” wp_posts?
- How to retrieve sticky post in raw sql?
- How to remove in the wordpress database all posts revisions except the last three?
- Backticks (`) Instead of Single Quotes (‘) in an SQL Statement?
- $wpdb get_var issue
- Inserting rows into a custom table, when plugin is activated
- Posts modified in the last 48 hours
- post id not displaying
- Insert multiple checkbox values
- How to get EVENT based on startday, using BETWEEN
- How to get the sum of each post with the same date
- How to dump a Microsoft SQL Server database to a SQL script?
- Postgresql: what does GRANT ALL PRIVILEGES ON DATABASE do?
- Postgres equivalent to MySQL’s \G?
- Postgres equivalent to MySQL’s \G?