1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-12 11:38:01 +00:00

Add Temporary Tables as a postgres til.

This commit is contained in:
jbranchaud
2015-06-28 21:28:34 -05:00
parent 0859f2addd
commit 3dab4abe95
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Temporary Tables
Create a temporary table in Postgres like so
```sql
create temp table posts (
...
);
```
This table (and its data) will only last for the duration of the session.
It is created on a schema specific to temporary tables. It is also worth
noting that it won't be autovacuumed, so this must be done manually as
necessary.