pgAdmin 4 commit: Do flush the changes done after creating the require

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Do flush the changes done after creating the require
Date: 2015-09-22 05:49:45
Message-ID: E1ZeGSX-0001yi-Kf@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Do flush the changes done after creating the require tables. Because -
it causes an issue performing DDL operations without sending DML to the
database, flush(..) does the job for us, it sends those operations to
the database without committing it.

And, this was causing the issue in current implemenation, while setting
'Administrator' role to the given email-id after the create_role, and
create_user operations during setup.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b52d72f1768e5869057ea012e5f50e9954b060ae

Modified Files
--------------
web/setup.py | 1 +
1 file changed, 1 insertion(+)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2015-09-22 05:50:16 Re: pgadmin4 setup.py, first time run
Previous Message Ashesh Vashi 2015-09-22 05:33:14 pgAdmin III commit: When pgAdmin is used with multiple monitors on OSX,