[pgadmin-hackers] pgAdmin 4 commit: Tag REL-1_2 has been created.

2017-02-10 Thread Dave Page
Tag REL-1_2 has been created.
View: http://git.postgresql.org/gitweb?p=pgadmin4.git;a=tag;h=refs/tags/REL-1_2

Log Message
---
Tag 1.2
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] [pgAdmin4][Patch]: Fixes RM2126 - Duplicate values displayed for functions and procedures in Preferences

2017-02-10 Thread Surinder Kumar
Hi

*Issue:* The function and procedure nodes displayed under schema nodes and
packages node, so both were sharing same name.

*Solution:*
Overrides the *register_preferences* method for *EdbFuncModule* and
*EdbProcModule* class and update their labels.

Please find attached patch and review.

Thanks
Surinder Kumar


RM2126.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] pgAdmin website commit: Update website for 1.2 release.

2017-02-10 Thread Dave Page
Update website for 1.2 release.

Branch
--
master

Details
---
http://git.postgresql.org/gitweb?p=pgadmin-www.git;a=commitdiff;h=c56314315e92eb22e4d84986923e244a1fd54a82

Modified Files
--
download/macos4.php   | 1 +
download/pip4.php | 1 +
download/source4.php  | 1 +
download/windows4.php | 1 +
index.php | 8 +++-
versions.json | 4 ++--
6 files changed, 13 insertions(+), 3 deletions(-)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] pgAdmin website commit: Add link to 1.2 README

2017-02-10 Thread Dave Page
Add link to 1.2 README

Branch
--
master

Details
---
http://git.postgresql.org/gitweb?p=pgadmin-www.git;a=commitdiff;h=eed4ec6d7ab852ee5727d7a70e86b25901bc0868

Modified Files
--
download/source4.php | 1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] pgAdmin 4 commit: Fix runtime version number.

2017-02-10 Thread Dave Page
Fix runtime version number.

Branch
--
master

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

Modified Files
--
runtime/Info.plist   | 4 ++--
runtime/pgAdmin4.pro | 2 +-
web/config.py| 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] building with Qt runtime question

2017-02-10 Thread Dave Page
Hi

On Thu, Feb 9, 2017 at 11:22 PM, George Gelashvili
 wrote:
> Hello Hackers!
>
> We're having trouble building the app with Qt runtime.
> We've tried running make appbundle after setting PGDIR, QTDIR, PYTHON_HOME,
> and PYTHON_VERSION environment variables. We've tried setting PYTHON_HOME to
> the roots of brew (effectively, system) python as well as the virtualenv we
> use for development without success.
>
> We see:
>>
>> ImportError: No module named site
>> Installing pip from https://bootstrap.pypa.io/get-pip.py...
>> pyenv: version `2.7.12/envs/venv' is not installed (set by PYENV_VERSION
>> environment variable)
>> error: failed to install pip via get-pip.py
>> make: *** [appbundle] Error 1

That looks... weird.

> Anyone who's built an OSX pgadmin package: what are your PGDIR, QTDIR,
> PYTHON_HOME, and PYTHON_VERSION set to? Which python is active in the
> terminal you run make appbundle from? Are you doing any other setup for that
> make to succeed?

None of those are set in my build environment - I rely on the defaults.

Postgres is installed in /usr/local/pgsql (actually a symlink to
/usr/local/pgsql-9.6)
Qt is installed in the default location - ~/Qt/5.7/clang_64
For the purposes of the build, I use the system Python, and ensure I
initiate the build in a venv based on the same version (so it can
pre-process some of the docs - probably not essential the versions
match though). PYTHON_HOME defaults to
/System/Library/Frameworks/Python.framework/Versions/2.7 and
PYTHON_VERSION to 27.

See pkg/mac/build.sh.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] [pgAdmin4][Patch]: RM2115 - Wrong SQL displayed for exclusion constraints with gist method

2017-02-10 Thread Surinder Kumar
Hi

The Macro template was referring to the old code that's why it generates
wrong sql.
Now the changes made in RM1840 are incorporated into macro template as well.

Please find attached patch.

Thanks
Surinder Kumar


RM2115.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] building with Qt runtime question

2017-02-10 Thread George Gelashvili
Thanks Dave. That helped us get it building -- it turns out we had set up
virtualenv under pyenv instead of  under system python. We also had to
chmod+w on the pg_dump that is supposed to be re-written by
install_name_tool.
Now we are just having issues running it. It shows the splash screen and
then immediately exits with "pgAdmin 4 quit unexpectedly."
We tried looking at the Report..>Show Details, but it was just a dump of
thread state. We tried setting qmake CONFIG+=debug, but we're not sure
where the logs go. We looked in the running directory and in /var/log.
Any hints from here?

On Fri, Feb 10, 2017 at 8:50 AM, Dave Page  wrote:

> Hi
>
> On Thu, Feb 9, 2017 at 11:22 PM, George Gelashvili
>  wrote:
> > Hello Hackers!
> >
> > We're having trouble building the app with Qt runtime.
> > We've tried running make appbundle after setting PGDIR, QTDIR,
> PYTHON_HOME,
> > and PYTHON_VERSION environment variables. We've tried setting
> PYTHON_HOME to
> > the roots of brew (effectively, system) python as well as the virtualenv
> we
> > use for development without success.
> >
> > We see:
> >>
> >> ImportError: No module named site
> >> Installing pip from https://bootstrap.pypa.io/get-pip.py...
> >> pyenv: version `2.7.12/envs/venv' is not installed (set by PYENV_VERSION
> >> environment variable)
> >> error: failed to install pip via get-pip.py
> >> make: *** [appbundle] Error 1
>
> That looks... weird.
>
> > Anyone who's built an OSX pgadmin package: what are your PGDIR, QTDIR,
> > PYTHON_HOME, and PYTHON_VERSION set to? Which python is active in the
> > terminal you run make appbundle from? Are you doing any other setup for
> that
> > make to succeed?
>
> None of those are set in my build environment - I rely on the defaults.
>
> Postgres is installed in /usr/local/pgsql (actually a symlink to
> /usr/local/pgsql-9.6)
> Qt is installed in the default location - ~/Qt/5.7/clang_64
> For the purposes of the build, I use the system Python, and ensure I
> initiate the build in a venv based on the same version (so it can
> pre-process some of the docs - probably not essential the versions
> match though). PYTHON_HOME defaults to
> /System/Library/Frameworks/Python.framework/Versions/2.7 and
> PYTHON_VERSION to 27.
>
> See pkg/mac/build.sh.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


Re: [pgadmin-hackers] building with Qt runtime question

2017-02-10 Thread Dave Page
On Fri, Feb 10, 2017 at 4:42 PM, George Gelashvili
 wrote:
> Thanks Dave. That helped us get it building -- it turns out we had set up
> virtualenv under pyenv instead of  under system python. We also had to
> chmod+w on the pg_dump that is supposed to be re-written by
> install_name_tool.
> Now we are just having issues running it. It shows the splash screen and
> then immediately exits with "pgAdmin 4 quit unexpectedly."
> We tried looking at the Report..>Show Details, but it was just a dump of
> thread state. We tried setting qmake CONFIG+=debug, but we're not sure where
> the logs go. We looked in the running directory and in /var/log.
> Any hints from here?

Running in QT Creator often makes it easier to debug - it shows stdout
which is always useful. The usual reason I find for builds exiting
like that is that one of the (very poorly documented) QtWebEngine
components is missing - for example, this little bit of nightmare from
pkg/mac/complete-bundle.sh:

if [ "$lib_bn" = "QtWebEngineCore" ]; then
# QtWebEngineCore has some required resources
cp -R $QTDIR/lib/$qtfw_path/Resources $lib_loc/
cp -R $QTDIR/lib/$qtfw_path/Helpers $lib_loc/
ln -s Versions/Current/Helpers
"$bundle/Contents/Frameworks/QtWebEngineCore.Framework/Helpers"
fi


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] Communication Channels

2017-02-10 Thread George Gelashvili
Got it.
Thanks again for speaking with us earlier!

On Thu, Feb 9, 2017 at 12:13 PM, Dave Page  wrote:

> Hi
>
> On Thu, Feb 9, 2017 at 5:02 PM, George Gelashvili
>  wrote:
> > Hello Hackers,
> >
> > We were wondering if there is a pgadmin-hackers IRC or similar setup for
> > closer-to-realtime communication?
>
> There are no dedicated channels. I'm pgsnake on Freenode's IRC network
> - but I often miss pings etc. so I wouldn't rely on that to talk to
> me. Email is the safest option.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


[pgadmin-hackers] pgAdmin 4 commit: Reduce the default log level to something more sensib

2017-02-10 Thread Dave Page
Reduce the default log level to something more sensible.

Branch
--
master

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

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


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] pgAdmin 4 commit: Ensure that PYTHONHOME is set for sub-processes such

2017-02-10 Thread Dave Page
Ensure that PYTHONHOME is set for sub-processes such as the background executor.

Branch
--
master

Details
---
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2f6a0e01da9acfa0d24977bdd191cd04529d370e
Author: Ashesh Vashi 

Modified Files
--
web/pgAdmin4.py | 11 +++
1 file changed, 11 insertions(+)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers