Skip to content

Conversation

@sravani1510
Copy link
Collaborator

Includes patch files up to the build stage.

+ LINK.shared = $(COMPILER)
+ ifdef SHLIB_EXPORTS
+ exports_file = $(SHLIB_EXPORTS:%.txt=%.x)
+# $(exports_file): $(SHLIB_EXPORTS)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove these commented lines

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes removed, addressed in Point-1 in commit aff6713

*/
text_to_cstring_buffer(zone, tzname, sizeof(tzname));

- type = DecodeTimezoneName(tzname, &val, &tzp);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we guard it with #ifdef MVS in such cases

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed this change in Point-2 in commit aff6713

## Specify the default build line, either 'DEV' or 'STABLE' (default: STABLE)
export ZOPEN_BUILD_LINE="DEV"

## Required IF ZOPEN_BUILD_LINE='STABLE'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we target a STABLE release? Maybe https://github.com/postgres/postgres/releases/tag/REL_18_BETA2 ?
You can set export ZOPEN_STABLE_TAG=REL_18_BETA2

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed this change in commit aff6713

export ZOPEN_CATEGORIES="database"

## Runtime zopen tool dependencies to be installed alongside the tool.
export ZOPEN_RUNTIME_DEPS="zlib libxml2 libxslt lz4 systemd tcl python perl"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they're statically linked, then we don't need to add the libraries are runtime dependencies


retry:
+ #ifndef __MVS__
rc = fdatasync(fd);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace this with fsync?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, replaced with fsync and addressed this change in commit aff6713

@@ -231,7 +231,7 @@ compare_tm(struct tm *s, struct pg_tm *p)
* test time.
*/
static int
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a #define tzname _tzname be a less intrusive way to fix this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed this change in Point 2 in commit aff6713

writes * XLOG_BLCKSZ) != XLOG_BLCKSZ)
die("write failed");
+#ifndef __MVS__
fdatasync(tmpfile);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest changing to fsync for MVS

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in point 3 in commit aff6713

@@ -0,0 +1,139 @@
diff --git a/src/backend/storage/ipc/waiteventset.c b/src/backend/storage/ipc/waiteventset.c
index 7c0e66900f9..574ced67132 100644
--- a/src/backend/storage/ipc/waiteventset.c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest unsetting WAIT_USE_EPOLL in case you miss a few conditions now or in the future.

#unset WAIT_USE_EPOLL

SRAVANI and others added 4 commits September 5, 2025 01:46
1. Removed unneccessary comments in file src/Makefile.shlib and added few comments for readablity
2. Added #define for tzname conflict
	#ifdef __MVS__
	#define tzname _tzname
	#endif
3. Added fsync for __MVS__ target instead of fdatasync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants