[pgAdmin4][Patch]: RM 3796 - Grant Wizard: Text should be "Please add privileges..." instead of "Please select privileges..

2018-12-19 Thread Khushboo Vashi
Hi,

Please find the attached minor patch to fix #3796 - Grant Wizard: Text
should be "Please add privileges..." instead of "Please select
privileges..."

Thanks,
Khushboo


RM_3796.patch
Description: Binary data


Re: [pgAdmin4][RM3726] EXCLUDE constraint omits WHERE clause

2018-12-19 Thread Aditya Toshniwal
Hi Hackers,

The table definition change was missing in the last patch. Attached is the
part2 for RM3726 which will fix the table definition also.

Kindly review.

On Tue, Dec 18, 2018 at 7:07 PM Dave Page  wrote:

> Thanks, applied.
> On Mon, Dec 17, 2018 at 11:59 AM Aditya Toshniwal
>  wrote:
> >
> > Hi Hackers,
> >
> > Attached is the patch to fix the issue where EXLUDE constraint SQL
> missed the WHERE clause.
> >
> > Kindly review.
> >
> > --
> > Thanks and Regards,
> > Aditya Toshniwal
> > Software Engineer | EnterpriseDB Software Solutions | Pune
> > "Don't Complain about Heat, Plant a tree"
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


-- 
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"


RM3726_part2.patch
Description: Binary data


pgAdmin 4 commit: Fix an issue when user define Cast from smallint->tex

2018-12-19 Thread Akshay Joshi
Fix an issue when user define Cast from smallint->text is created. Fixes #3753

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7515e08578e7e586350407adaef2bd2eaebae165

Modified Files
--
docs/en_US/release_notes_3_7.rst| 1 +
.../schemas/tables/templates/index/sql/11_plus/column_details.sql   | 2 +-
.../schemas/tables/templates/index/sql/default/column_details.sql   | 2 +-
.../schemas/tables/templates/index/sql/gpdb_5.0_plus/column_details.sql | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)



[pgAdmin] [RM#3831] Utility script to update copyright information

2018-12-19 Thread Murtuza Zabuawala
Hi,

Please find the utility script which will allow us to update the copyright
information in one shot.

*Usage:*
python copyright_updater.py  
python copyright_updater.py 2018 2019

Please review.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


copyright_updater.diff
Description: Binary data


Re: [pgAdmin] [RM#3831] Utility script to update copyright information

2018-12-19 Thread Dave Page
Hi
On Wed, Dec 19, 2018 at 2:33 PM Murtuza Zabuawala <
murtuza.zabuaw...@enterprisedb.com> wrote:

> Hi,
>
> Please find the utility script which will allow us to update the copyright
> information in one shot.
>
> *Usage:*
> python copyright_updater.py  
> python copyright_updater.py 2018 2019
>
> Please review.
>

Neat. But...

Changing copyright information of file:
`/Users/dpage/git/postgresql/contrib/unaccent/sql/unaccent.sql`

Traceback (most recent call last):

  File "web/copyright_updater.py", line 80, in 

files_affected = findReplace('..', sys.argv[1], sys.argv[2])

  File "web/copyright_updater.py", line 47, in findReplace

content = fp.read()

  File "/Users/dpage/.virtualenvs/pgadmin4/bin/../lib/python3.6/codecs.py",
line 321, in decode

(result, consumed) = self._buffer_decode(data, self.errors, final)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 164:
invalid start byte

:-(

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

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


Re: [pgAdmin] [RM#3831] Utility script to update copyright information

2018-12-19 Thread Murtuza Zabuawala
Hi Dave,

Please find an updated patch.

(Happy holidays)

On Wed, 19 Dec 2018, 20:56 Dave Page  Hi
> On Wed, Dec 19, 2018 at 2:33 PM Murtuza Zabuawala <
> murtuza.zabuaw...@enterprisedb.com> wrote:
>
>> Hi,
>>
>> Please find the utility script which will allow us to update the
>> copyright information in one shot.
>>
>> *Usage:*
>> python copyright_updater.py  
>> python copyright_updater.py 2018 2019
>>
>> Please review.
>>
>
> Neat. But...
>
> Changing copyright information of file:
> `/Users/dpage/git/postgresql/contrib/unaccent/sql/unaccent.sql`
>
> Traceback (most recent call last):
>
>   File "web/copyright_updater.py", line 80, in 
>
> files_affected = findReplace('..', sys.argv[1], sys.argv[2])
>
>   File "web/copyright_updater.py", line 47, in findReplace
>
> content = fp.read()
>
>   File
> "/Users/dpage/.virtualenvs/pgadmin4/bin/../lib/python3.6/codecs.py", line
> 321, in decode
>
> (result, consumed) = self._buffer_decode(data, self.errors, final)
>
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 164:
> invalid start byte
>
> :-(
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


RM_3831_v1.diff
Description: Binary data