Anonymous

Changes

PostgreSQL

No change in size, 14:24, 29 October 2018
no edit summary
<pre>
psql -h <HOST> -U <USERNAME> -w -d <DBNAME>
psql -h 127.0.0.1 localhost -U elugy -d elugy_portal
</pre>
=== Parancs futtatása: ===
<pre>
psql -h 127.0.0.1 localhost -U elugy -d elugy_portal -c "select count(1) from parameter;"
</pre>
<pre>
psql -h 127.0.0.1 localhost -U elugy -W -d elugy_portal -f test.sqlpsql -h 127.0.0.1 localhost -U elugy -W -d elugy_portal < test.sql
</pre>
<pre>
pg_dump -b -d elugy_portal -h 127.0.0.1 localhost -U elugy -W > elugy.sqlpg_dump --blobs --dbname elugy_portal --host 127.0.0.1 localhost --username elugy --password > elugy.sql
</pre>
<pre>
createdb -h 127.0.0.1 localhost -U elugy -W -O elugy testdbcreatedb --host 127.0.0.1 localhost --username elugy --password --owner elugy testdb
</pre>