pub fn as_str(self, as_array: bool) -> &'static str {
        match self {
            // abstime 	AbsoluteTime 	utils/nabstime.h
            PgType::AbsoluteTime => "abstime",
            // bigint (int8) 	int64 	postgres.h
            PgType::BigInt => "bigint",
            PgType::Int8 if as_array => "int8[]",
            PgType::Int8 => "int8",
            // boolean 	bool 	postgres.h (maybe compiler built-in)
            PgType::Boolean => "boolean",
            // box 	BOX* 	utils/geo_decls.h
            PgType::GeoBox => "box",
            // bytea 	bytea* 	postgres.h
            PgType::ByteA => "bytea",
            // "char" 	char 	(compiler built-in)
            PgType::Char => "char",
            // character 	BpChar* 	postgres.h
            PgType::Character => "character",
            // cid 	CommandId 	postgres.h
            PgType::CommandId => "cid",
            // date 	DateADT 	utils/date.h
            PgType::Date => "date",
            // smallint (int2) 	int16 	postgres.h
            PgType::SmallInt => "smallint",
            PgType::Int2 if as_array => "int2[]",
            PgType::Int2 => "int2",
            // int2vector 	int2vector* 	postgres.h
            PgType::Int2Vector => "int2vector",
            // integer (int4) 	int32 	postgres.h
            PgType::Integer => "integer",
            PgType::Int4 if as_array => "int4[]",
            PgType::Int4 => "int4",
            // real (float4) 	float4* 	postgres.h
            PgType::Real => "real",
            PgType::Float4 if as_array => "float4[]",
            PgType::Float4 => "float4",
            // double precision (float8) 	float8* 	postgres.h
            PgType::DoublePrecision => "double precision",
            PgType::Float8 if as_array => "float8[]",
            PgType::Float8 => "float8",
            // interval 	Interval* 	datatype/timestamp.h
            PgType::Interval => "interval",
            // lseg 	LSEG* 	utils/geo_decls.h
            PgType::Lseg => "lseg",
            // name 	Name 	postgres.h
            PgType::Name => "name",
            // oid 	Oid 	postgres.h
            PgType::Oid => "oid",
            // oidvector 	oidvector* 	postgres.h
            PgType::OidVector => "oidvector",
            // path 	PATH* 	utils/geo_decls.h
            PgType::Path => "path",
            // point 	POINT* 	utils/geo_decls.h
            PgType::Point => "point",
            // regproc 	regproc 	postgres.h
            PgType::RegProc => "regproc",
            // reltime 	RelativeTime 	utils/nabstime.h
            PgType::RelativeTime => "reltime",
            // text 	text* 	postgres.h
            PgType::Text => "text",
            // tid 	ItemPointer 	storage/itemptr.h
            PgType::ItemPointer => "tid",
            // time 	TimeADT 	utils/date.h
            PgType::Time => "time",
            // time with time zone 	TimeTzADT 	utils/date.h
            PgType::TimeWithTimeZone => "time with time zone",
            // timestamp 	Timestamp* 	datatype/timestamp.h
            PgType::Timestamp => "timestamp",
            // tinterval 	TimeInterval 	utils/nabstime.h
            PgType::TimeInterval => "tinterval",
            // varchar 	VarChar* 	postgres.h
            PgType::VarChar => "varchar",
            // void
            PgType::Void => "void",
            // xid 	TransactionId 	postgres.h
            PgType::TransactionId => "xid",
        }
    }
/// Return the string representation of this type
Return the string representation of this type
Return the string representation of this type
pub fn as_str(self, as_array: bool) -> &'static str {
        match self {
            // abstime 	AbsoluteTime 	utils/nabstime.h
            PgType::AbsoluteTime => "abstime",
            // bigint (int8) 	int64 	postgres.h
            PgType::BigInt => "bigint",
            PgType::Int8 if as_array => "int8[]",
            PgType::Int8 => "int8",
            // boolean 	bool 	postgres.h (maybe compiler built-in)
            PgType::Boolean => "boolean",
            // box 	BOX* 	utils/geo_decls.h
            PgType::GeoBox => "box",
            // bytea 	bytea* 	postgres.h
            PgType::ByteA => "bytea",
            // "char" 	char 	(compiler built-in)
            PgType::Char => "char",
            // character 	BpChar* 	postgres.h
            PgType::Character => "character",
            // cid 	CommandId 	postgres.h
            PgType::CommandId => "cid",
            // date 	DateADT 	utils/date.h
            PgType::Date => "date",
            // smallint (int2) 	int16 	postgres.h
            PgType::SmallInt => "smallint",
            PgType::Int2 if as_array => "int2[]",
            PgType::Int2 => "int2",
            // int2vector 	int2vector* 	postgres.h
            PgType::Int2Vector => "int2vector",
            // integer (int4) 	int32 	postgres.h
            PgType::Integer => "integer",
            PgType::Int4 if as_array => "int4[]",
            PgType::Int4 => "int4",
            // real (float4) 	float4* 	postgres.h
            PgType::Real => "real",
            PgType::Float4 if as_array => "float4[]",
            PgType::Float4 => "float4",
            // double precision (float8) 	float8* 	postgres.h
            PgType::DoublePrecision => "double precision",
            PgType::Float8 if as_array => "float8[]",
            PgType::Float8 => "float8",
            // interval 	Interval* 	datatype/timestamp.h
            PgType::Interval => "interval",
            // lseg 	LSEG* 	utils/geo_decls.h
            PgType::Lseg => "lseg",
            // name 	Name 	postgres.h
            PgType::Name => "name",
            // oid 	Oid 	postgres.h
            PgType::Oid => "oid",
            // oidvector 	oidvector* 	postgres.h
            PgType::OidVector => "oidvector",
            // path 	PATH* 	utils/geo_decls.h
            PgType::Path => "path",
            // point 	POINT* 	utils/geo_decls.h
            PgType::Point => "point",
            // regproc 	regproc 	postgres.h
            PgType::RegProc => "regproc",
            // reltime 	RelativeTime 	utils/nabstime.h
            PgType::RelativeTime => "reltime",
            // text 	text* 	postgres.h
            PgType::Text => "text",
            // tid 	ItemPointer 	storage/itemptr.h
            PgType::ItemPointer => "tid",
            // time 	TimeADT 	utils/date.h
            PgType::Time => "time",
            // time with time zone 	TimeTzADT 	utils/date.h
            PgType::TimeWithTimeZone => "time with time zone",
            // timestamp 	Timestamp* 	datatype/timestamp.h
            PgType::Timestamp => "timestamp",
            // tinterval 	TimeInterval 	utils/nabstime.h
            PgType::TimeInterval => "tinterval",
            // varchar 	VarChar* 	postgres.h
            PgType::VarChar => "varchar",
            // void
            PgType::Void => "void",
            // xid 	TransactionId 	postgres.h
            PgType::TransactionId => "xid",
        }
    }
pub fn as_str ( self , as_array : bool ) -> & ' static str { match self { // abstime 	AbsoluteTime 	utils/nabstime.h PgType :: AbsoluteTime => " " , // bigint (int8) 	int64 	postgres.h PgType :: BigInt => " " , PgType :: Int8 if as_array => " " , PgType :: Int8 => " " , // boolean 	bool 	postgres.h (maybe compiler built-in) PgType :: Boolean => " " , // box 	BOX* 	utils/geo_decls.h PgType :: GeoBox => " " , // bytea 	bytea* 	postgres.h PgType :: ByteA => " " , // "char" 	char 	(compiler built-in) PgType :: Char => " " , // character 	BpChar* 	postgres.h PgType :: Character => " " , // cid 	CommandId 	postgres.h PgType :: CommandId => " " , // date 	DateADT 	utils/date.h PgType :: Date => " " , // smallint (int2) 	int16 	postgres.h PgType :: SmallInt => " " , PgType :: Int2 if as_array => " " , PgType :: Int2 => " " , // int2vector 	int2vector* 	postgres.h PgType :: Int2Vector => " " , // integer (int4) 	int32 	postgres.h PgType :: Integer => " " , PgType :: Int4 if as_array => " " , PgType :: Int4 => " " , // real (float4) 	float4* 	postgres.h PgType :: Real => " " , PgType :: Float4 if as_array => " " , PgType :: Float4 => " " , // double precision (float8) 	float8* 	postgres.h PgType :: DoublePrecision => " " , PgType :: Float8 if as_array => " " , PgType :: Float8 => " " , // interval 	Interval* 	datatype/timestamp.h PgType :: Interval => " " , // lseg 	LSEG* 	utils/geo_decls.h PgType :: Lseg => " " , // name 	Name 	postgres.h PgType :: Name => " " , // oid 	Oid 	postgres.h PgType :: Oid => " " , // oidvector 	oidvector* 	postgres.h PgType :: OidVector => " " , // path 	PATH* 	utils/geo_decls.h PgType :: Path => " " , // point 	POINT* 	utils/geo_decls.h PgType :: Point => " " , // regproc 	regproc 	postgres.h PgType :: RegProc => " " , // reltime 	RelativeTime 	utils/nabstime.h PgType :: RelativeTime => " " , // text 	text* 	postgres.h PgType :: Text => " " , // tid 	ItemPointer 	storage/itemptr.h PgType :: ItemPointer => " " , // time 	TimeADT 	utils/date.h PgType :: Time => " " , // time with time zone 	TimeTzADT 	utils/date.h PgType :: TimeWithTimeZone => " " , // timestamp 	Timestamp* 	datatype/timestamp.h PgType :: Timestamp => " " , // tinterval 	TimeInterval 	utils/nabstime.h PgType :: TimeInterval => " " , // varchar 	VarChar* 	postgres.h PgType :: VarChar => " " , // void PgType :: Void => " " , // xid 	TransactionId 	postgres.h PgType :: TransactionId => " " , } }
Return the string representation of this type
Return the string representation of this type
self
as_array
bool
self
as_array
bool