An open API service indexing awesome lists of open source software.

https://github.com/shenlebantongying/workbench-database

A database is just a bunch of Excel files :)
https://github.com/shenlebantongying/workbench-database

Last synced: 3 months ago
JSON representation

A database is just a bunch of Excel files :)

Awesome Lists containing this project

README

        

# PostgreSQL Management 101
```bash
systemctl status postgresql.service
su
su -l postgres

#check port
cat /etc/services | grep postgresql
```

CLI:
+ psql

## Load sample
```
psql
CREATE DATABASE dvdrental;
\q
psql dvdrental < /home/slbtty/workbench-dbms/devrental_/dvdrental.rental
```
# Rune .sql

```
psql -d some_database -f nice.sql
```
# Misc

default data dir

/var/lib/postgres/data/

pSQL Use cluster->databases->schemas hierarchy
-> MySql only use schemas

TODO:
+ .pgpass?
+ Important feature -> PostGIS