![]() Meta commands are useful commands that can be run from a psql client.This image shows the first commands from \? There are 102 commands in total. This will bring up the meta command help page with a full list of every meta command and a brief description of its functionality. is to avoid problems in the case of a user closing a browser or bookmarking. There are quite a few more meta commands that were not listed as they were for relatively niche usages and not as commonly used. Heres a list of settings available in Django core and their default values. This means that you would never see a meta command look like this: \x The semicolon at the end is unnecessary and will throw an error: Meta commands are delimited by a new line as opposed to a. This will work on any \d commands as well as some others. For example you could use \dt\di to list all tables and then list all indexes with additional technical information on the indexes.Īdding to the end of the meta command that lists items will provide a small amount of extra technical information. ![]() If this throws an error with the message psql: error: FATAL: role '. ![]() You can start the interactive PostgreSQL terminal with the psql on the command line. Multiple meta commands can be used in one line. List users in PostgreSQL Ap 2 min read Listing all the users of a PostgreSQL database is easiest via the interactive terminal.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |