-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Running SchemaSpy | ||
|
||
In a row-list buffer, type `S` to run the [SchemaSpy application](https://schemaspy.org/) on the | ||
current table and view the diagram of the table structure in a dedicated buffer. This functionality | ||
only works in graphical mode (not in the terminal) and requires your Emacs to support SVG images. | ||
|
||
![Screenshot table](img/screenshot-schemaspy-table.png) | ||
|
||
See the customizable variable `pgmacs-schemaspy-cmdline` to adjust the commandline which runs | ||
SchemaSpy to your local installation. | ||
|
||
This functionality requires the following software to be installed: | ||
|
||
- SchemaSpy, installed to `~/lib/schemaspy.jar` with the default value of `pgmacs-schemaspy-cmdline` | ||
|
||
- Java (available as `java` here) | ||
|
||
- [GraphViz](https://graphviz.org/), installable on Debian using `sudo apt install graphviz` for example | ||
|
||
- JDBC support for PostgreSQL, here installed in `/usr/share/java/postgresql-jdbc4.jar`, | ||
installable on Debian for example using `sudo apt install libpostgresql-jdbc-java` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters