extension-type-dependencies.patch

application/octet-stream

Filename: extension-type-dependencies.patch
Type: application/octet-stream
Part: 0
Message: Re: ALTER EXTENSION .. ADD/DROP weirdness

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/backend/catalog/pg_type.c 3 0
*** a/src/backend/catalog/pg_type.c
--- b/src/backend/catalog/pg_type.c
***************
*** 532,541 **** GenerateTypeDependencies(Oid typeNamespace,
  		recordDependencyOn(&myself, &referenced, DEPENDENCY_NORMAL);
  
  		recordDependencyOnOwner(TypeRelationId, typeObjectId, owner);
- 	}
  
! 	/* dependency on extension */
! 	recordDependencyOnCurrentExtension(&myself, rebuild);
  
  	/* Normal dependencies on the I/O functions */
  	if (OidIsValid(inputProcedure))
--- 532,541 ----
  		recordDependencyOn(&myself, &referenced, DEPENDENCY_NORMAL);
  
  		recordDependencyOnOwner(TypeRelationId, typeObjectId, owner);
  
! 		/* dependency on extension */
! 		recordDependencyOnCurrentExtension(&myself, rebuild);
! 	}
  
  	/* Normal dependencies on the I/O functions */
  	if (OidIsValid(inputProcedure))