public inbox for [email protected]
help / color / mirror / Atom feedFrom: Joao De Almeida Pereira <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgadmin4][patch] Correct issue on external tables
Date: Tue, 19 Jun 2018 16:16:51 -0400
Message-ID: <CAE+jjanmh8q9i=XvZhoq8T=0D36WZqeoRzeZ8wQ9fJS6+c+08g@mail.gmail.com> (raw)
Hi Hackers,
You can find attached a patch that corrects the RM #3431.
When trying to retrieve the DDL of an external table and exceptions was
being raised.
Thanks
Joao
Attachments:
[text/x-patch] RM_3431.patch (858B, 3-RM_3431.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/external_tables/templates/sql/gpdb_5.0_plus/create.sql b/web/pgadmin/browser/server_groups/servers/databases/external_tables/templates/sql/gpdb_5.0_plus/create.sql
index a7f64a5f..25ebf96c 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/external_tables/templates/sql/gpdb_5.0_plus/create.sql
+++ b/web/pgadmin/browser/server_groups/servers/databases/external_tables/templates/sql/gpdb_5.0_plus/create.sql
@@ -48,7 +48,7 @@ OPTIONS (
)
{% endif %}
ENCODING '{{ table.pgEncodingToChar }}'
-{% if table.rejectLimit and table.rejectLimit|length > 0 %}
+{% if table.rejectLimit and table.rejectLimit > 0 %}
{% if table.errorTableName and table.errorTableName|length > 0 %}
LOG ERRORS {% endif %}SEGMENT REJECT LIMIT {{ table.rejectLimit }} {{ rejectionLimit }}
{% endif %}
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgadmin4][patch] Correct issue on external tables
In-Reply-To: <CAE+jjanmh8q9i=XvZhoq8T=0D36WZqeoRzeZ8wQ9fJS6+c+08g@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox