Search
 
SCRIPT & CODE EXAMPLE
 

SQL

local pg_sql to heroku pg_sql

# set the password in an environment variable
export PGPASSWORD=mypassword # linux/mac
set PGPASSWORD=mypassword # windows
# create the database dump
$ pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump
Comment

PREVIOUS NEXT
Code Example
::  
Sql ::  
::  
Sql :: laravel subquery in from clause 
::  
::  
::  
::  
::  
::  
::  
Sql ::  
::  
::  
Sql ::  
Sql ::  
:: sql basic commands 
::  
::  
:: SQLite (sqlite 3.27.2) sample 
::  
::  
::  
:: oracle create package specification 
::  
::  
::  
Sql ::  
Sql ::  
::  
ADD CONTENT
Topic
Content
Source link
Name
1+8 =