Open main menu

CDOT Wiki β

Changes

NexJ Express Connecting to PostgreSQL

No change in size, 11:26, 1 December 2010
2- Create a PostgreSQL database through some scripts
:: Login to the database 'test' with username 'test': <code> psql -U test test </code>
:: Create a <code> Schema </code> called 'test' inside the database 'test' with particular owner 'test': <code> CREATE SCHEMA test AUTHORIZATION test;</code>
:: Create a <code>table</code> called 'Mutexmutex' with primary key: <code> CREATE TABLE test.Mutexmutex(id INT PRIMARY KEY); </code>:: Insert a value into the primary key: <code> INSERT INTO test.Mutexmutex(id) VALUES (1); </code>
=== 3- Create the extended PostgreSQL source files ===
1
edit