@@ -357,6 +357,46 @@ export default (function PgTypesPlugin(
357357 inflection . builtin ( "InternetAddress" ) ,
358358 "An IPv4 or IPv6 host address, and optionally its subnet."
359359 ) ;
360+ const RegProcType = stringType (
361+ inflection . builtin ( "RegProc" ) ,
362+ "A builtin object identifier type for a function name"
363+ ) ;
364+ const RegProcedureType = stringType (
365+ inflection . builtin ( "RegProcedure" ) ,
366+ "A builtin object identifier type for a function with argument types"
367+ ) ;
368+ const RegOperType = stringType (
369+ inflection . builtin ( "RegOper" ) ,
370+ "A builtin object identifier type for an operator"
371+ ) ;
372+ const RegOperatorType = stringType (
373+ inflection . builtin ( "RegOperator" ) ,
374+ "A builtin object identifier type for an operator with argument types"
375+ ) ;
376+ const RegClassType = stringType (
377+ inflection . builtin ( "RegClass" ) ,
378+ "A builtin object identifier type for a relation name"
379+ ) ;
380+ const RegTypeType = stringType (
381+ inflection . builtin ( "RegType" ) ,
382+ "A builtin object identifier type for a data type name"
383+ ) ;
384+ const RegRoleType = stringType (
385+ inflection . builtin ( "RegRole" ) ,
386+ "A builtin object identifier type for a role name"
387+ ) ;
388+ const RegNamespaceType = stringType (
389+ inflection . builtin ( "RegNamespace" ) ,
390+ "A builtin object identifier type for a namespace name"
391+ ) ;
392+ const RegConfigType = stringType (
393+ inflection . builtin ( "RegConfig" ) ,
394+ "A builtin object identifier type for a text search configuration"
395+ ) ;
396+ const RegDictionaryType = stringType (
397+ inflection . builtin ( "RegDictionary" ) ,
398+ "A builtin object identifier type for a text search dictionary"
399+ ) ;
360400 const CidrType = pgUseCustomNetworkScalars
361401 ? stringType (
362402 inflection . builtin ( "CidrAddress" ) ,
@@ -424,6 +464,16 @@ export default (function PgTypesPlugin(
424464 addType ( DateType , "graphile-build-pg built-in" ) ;
425465 addType ( DateTimeType , "graphile-build-pg built-in" ) ;
426466 addType ( TimeType , "graphile-build-pg built-in" ) ;
467+ addType ( RegProcType , "graphile-build-pg built-in" ) ;
468+ addType ( RegProcedureType , "graphile-build-pg built-in" ) ;
469+ addType ( RegOperType , "graphile-build-pg built-in" ) ;
470+ addType ( RegOperatorType , "graphile-build-pg built-in" ) ;
471+ addType ( RegClassType , "graphile-build-pg built-in" ) ;
472+ addType ( RegTypeType , "graphile-build-pg built-in" ) ;
473+ addType ( RegRoleType , "graphile-build-pg built-in" ) ;
474+ addType ( RegNamespaceType , "graphile-build-pg built-in" ) ;
475+ addType ( RegConfigType , "graphile-build-pg built-in" ) ;
476+ addType ( RegDictionaryType , "graphile-build-pg built-in" ) ;
427477
428478 const oidLookup = {
429479 20 : stringType (
@@ -461,6 +511,16 @@ export default (function PgTypesPlugin(
461511 650 : CidrType ,
462512 829 : MacAddrType ,
463513 774 : MacAddr8Type ,
514+ 24 : RegProcType ,
515+ 2202 : RegProcedureType ,
516+ 2203 : RegOperType ,
517+ 2204 : RegOperatorType ,
518+ 2205 : RegClassType ,
519+ 2206 : RegTypeType ,
520+ 4096 : RegRoleType ,
521+ 4089 : RegNamespaceType ,
522+ 3734 : RegConfigType ,
523+ 3769 : RegDictionaryType ,
464524 } ;
465525 const oidInputLookup = {
466526 1186 : GQLIntervalInput , // interval
0 commit comments