Re: [GSoC] Support editing resultsets from tables with OIDs

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Yosry Muhammad <yosrym93(at)gmail(dot)com>, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [GSoC] Support editing resultsets from tables with OIDs
Date: 2019-07-29 08:26:24
Message-ID: CA+OCxowZz2X19FJqE6KnYx=-SN95OizfMsOUK6vbkRTX8DSZoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Yosry and Akshay

On Fri, Jul 26, 2019 at 1:02 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Akshay; can you take a look at this and commit if appropriate please? I'm
> somewhat busy at the moment :-(
>
> On the subject of the regression test - I assume at one point the messages
> window was including the command tags in it's output. This failure would
> indicate we broken that. Anyone got any ideas how that happened?
>

Based on the number of tickets being logged about the lack of command tags
in the messages panel since we released 4.11, it's clear this was broken
and the test was valid all along. Can you look into that ASAP please Yosry?

Akshay; let's talk later today about the feature tests. Can you schedule a
call with Navnath (I think he was working on them?). We need to prioritise
stabilising these tests so we can automate them.

>
> On Thu, Jul 25, 2019 at 1:01 PM Yosry Muhammad <yosrym93(at)gmail(dot)com> wrote:
>
>> Hi,
>> Please find a patch attached to add supporting of resultsets from tables
>> with OIDs as updatable resultsets (with updated test cases and docs) - this
>> is a part of a GSoC project. Please review !
>> This patch also includes a small refactor of the previous patch and a
>> small bug fix that occurred when the query resultset had no rows but was
>> updatable (row additions were not permitted, although they should be).
>>
>>
>> On a different note, one of the feature tests fails (on master), probably
>> due to a small typo. In query_tool_tests.py this function call:
>>
>> self.page.find_by_xpath(
>> '//div[contains(@class, "sql-editor-message") and '
>> 'contains(string(), "CREATE TABLE")]'
>> )
>>
>> on lines 371-374 produces an exception that the element cannot be found,
>> this is probably due to the fact that the message returned by the query
>> executed before this call does not contain the string "CREATE TABLE". Just
>> letting you know about this.
>>
>> Thanks and regards!
>> --
>>
>> *Yosry Muhammad Yosry*
>>
>> Computer Engineering student,
>> The Faculty of Engineering,
>> Cairo University (2021).
>> Class representative of CMP 2021.
>> https://www.linkedin.com/in/yosrym93/
>>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Yosry Muhammad 2019-07-29 09:48:11 Re: [GSoC] Support editing resultsets from tables with OIDs
Previous Message Akshay Joshi 2019-07-29 07:07:47 Re: [GSoC] Support editing resultsets from tables with OIDs