robertmu opened a new pull request, #32:
URL: https://github.com/apache/cloudberry-gpbackup/pull/32

   The integration test for user-created array types was failing on Cloudberry. 
This was due to two related issues stemming from Cloudberry being based on a 
newer PostgreSQL version (PG14) than Greenplum 7 (PG12).
   
   First, creating a base type with an `ELEMENT` attribute on Cloudberry 
requires a `SUBSCRIPT` function to be provided, a stricter requirement than in 
Greenplum. The integration test in `predata_types_queries_test.go` is updated 
to add this `SUBSCRIPT` function only when running against a Cloudberry 
instance.
   
   Second, the `pg_type` system catalog in Cloudberry contains a `typsubscript` 
column which is absent in Greenplum 7. The previous metadata query was failing 
to retrieve this information. A dedicated query for Cloudberry has been added 
in `backup/queries_types.go` to fetch this field, with the `GetBaseTypes` 
function now using the appropriate query based on the database connection.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to