
- Unable to create procedure with sqlectron install#
- Unable to create procedure with sqlectron password#
- Unable to create procedure with sqlectron download#
By 2007, the gross domestic product (GDP) of the NFP sector amounted to $35.6 billion, accounting for 2.5% of the total Canadian economy. For example, in 2003, the two million people employed by Canada’s 161,000 NFPs spent over $112 billion. However, this research can still serve as a cornerstone to the often baffling numbers associated with the sector. In general it’s easier to create the database with same name of login role.The data available for the Not-For-Profit (NFP) sector in Canada is somewhat antiquated, as little comprehensive research has been completed since the National Survey of Nonprofit and Voluntary Organizations in 2003.
Unable to create procedure with sqlectron password#
It’s recommended to use UTF-8 encoding for the database, although the locale selected when installed may be “default locale”.ĬREATE ROLE duc_test WITH LOGIN PASSWORD 'changeit' VALID UNTIL 'infinity'

GRANT ALL PRIVILEGES ON DATABASE test TO test CREATE ROLE test WITH LOGIN PASSWORD 'test' SUPERUSER VALID UNTIL 'infinity' In general it’s easier to create the database with same name of login role. GRANT ALL PRIVILEGES ON DATABASE qmduc TO duc_test $ psql -U postgres -h localhost CREATE ROLE duc_test WITH LOGIN PASSWORD 'changeit' SUPERUSER ĬREATE DATABASE qmduc WITH ENCODING='UTF8' OWNER=duc_test CONNECTION LIMIT=-1 [postgres=# ALTER USER postgres WITH PASSWORD ‘test’ $ psql -U postgres -h localhost -p 5432 [postgres=# \list using Docker instance postgres – use pgAdmin4 or psql

ĭone ! ( use the guideline at your own risk :D )īonus: to connect remote Postgres DB via SSH Tunnel, consider using SSH key:īesides pgAdmin3, you can use other GUI SQL clients such as SQLectron or HeidiSQL. The Pgadmin3 in Windoze can locate those files via its menu, so you don’t have to browse the Postgres ‘data’ folder to edit them :-). To make your PostgreSQL connectable from outside of localhost (similar to the Ubuntu guide). To change the password of postgres user, the easy way is use the pgadmin3 (right-click user properties), but to change the password of Windoze service user, use this command:Ĭ:\> net user postgres newpassword 4/ Now you can also edit the files nf or pg_hba.conf The client tools (pgclient and pgadmin3) are also bundled in the MSI package. Is used for both the Windoze service and default user ‘postgres’ of the DBMS. 3/ The password created in the wizard process If your Windoze is one of the 64-bit versions, the “ C:\Program Files (圆4)\” is strongly NOT recommended, cuz it has several bugs related to user permissions and modifications.
Unable to create procedure with sqlectron install#
You can leave it as default configuration, however I recommend to install to a directory other than “ C:\Program Files\”, for example “ D:\USR\PostgreSQL\8.4\”. step-by-step configuration with respective instructions. ) 2/ Run the installer (administrator priviledge is preferred) The last versions I tested was 8.4, 9.4, 9.5, FYI.
Unable to create procedure with sqlectron download#
(change your version respectively, for example postgresql-9.5įor Redmond (Windoze) users: 1/ Download the installer packageĮither 8.4 or 9.0 should be fine. $ sudo /etc/init.d/postgresql-8.4 restart To make sure the change is applied, restart the deamon :

(example for user postgres from subnet 10.0.x.x + add following line into pg_hba.conf to pick the corresponding IPv4 subnet to be allowed: (Postgres 7.x and prior versions, use this instead: tcpip_socket=true )

+ enable listening TCP/IP by adding this line to nf (Postgres version 8.x) listen_addresses='*' Postgres=# \q 4/ Enable access from outside localhost (if needed) :Įdit the nf or pg_hba.conf (in /etc/postgresql/8.4/main/ or $PG_HOME/data/ ) : Postgres=# ALTER USER postgres WITH PASSWORD 'password' $ sudo apt-get install pgadmin3 postgresql-client 3/ Change password for user ‘postgres’ : $ sudo su postgres -c psql (the postgresql-contrib is optional, it’s just some additional facilities for Postgres) 2/ Install the GUI client (pgadmin or pg-client) to manage : $ sudo apt-get install postgresql postgresql-contrib Simple procedure to install PostgreSQL (stable: 8.4) on Ubuntu Linux (tested on 8.04 LTS, 10.04 LTS, 11.04) : 1/ Install the DBMS :
