Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Greengage was launched and is maintained by a team of independent contributors to Greenplum. Currently, we own the [Greengage DB repository on GitHub](https://github.com/GreengageDB/greengage), appoint the members of the architectural committee and perform other work related to the organizational process in addition to software development. However, great open source projects cannot exist and last long without a strong community, **so community contributions to Greengage DB are very welcome**. In this section, you’ll find initial guidance on how to contribute to Greengage and links to additional resources that will help you get your code released as part of Greengage.


## Getting started

To contribute to Greengage, you will need a [GitHub account](https://github.com/signup). If you haven’t used Git before, find a time to familiarize yourself with [Git tooling and workflow](https://wiki.postgresql.org/wiki/Working_with_Git) before you start.
Expand Down
19 changes: 6 additions & 13 deletions gpMgmt/bin/gpload_test/gpload2/TEST_local_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,12 @@ def get_port():
return port if port else 5432

def get_ip(hostname=None):
if hostname is None:
hostname = socket.gethostname()
else:
hostname = hostname
hostinfo = socket.getaddrinfo(hostname, None)
ipaddrlist = list(set([(ai[4][0]) for ai in hostinfo]))
for myip in ipaddrlist:
if myip.find(":") > 0:
ipv6 = myip
return ipv6
elif myip.find(".") > 0:
ipv4 = myip
return ipv4
hostname = hostname or socket.gethostname()
try:
hostinfo = socket.getaddrinfo(hostname, None, socket.AF_INET)
except socket.gaierror:
hostinfo = socket.getaddrinfo(hostname, None, socket.AF_INET6)
return hostinfo[0][4][0]


def run(cmd):
Expand Down
2 changes: 1 addition & 1 deletion gpcontrib/arenadata_toolkit/isolation2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ISOLATION2_ROOT = $(top_builddir)/src/test/isolation2
installcheck:
cd $(ISOLATION2_ROOT) && $(MAKE) install && ./pg_isolation2_regress $(EXTRA_REGRESS_OPTS) --psqldir='$(PSQLDIR)' \
--dbname=toolkitisolation --schedule=${CURDIR}/toolkit_schedule --inputdir=${CURDIR} --outputdir=${CURDIR} \
--load-extension=gp_inject_fault --load-extension=plpythonu
--load-extension=gp_inject_fault
Loading