package pgtype

import (
	
)
Name is a type used for PostgreSQL's special 63-byte name data type, used for identifiers like table names. The pg_class.relname column is a good example of where the name data type is used. Note that the underlying Go data type of pgx.Name is string, so there is no way to enforce the 63-byte length. Inputting a longer name into PostgreSQL will result in silent truncation to 63 bytes. Also, if you have custom-compiled PostgreSQL and set NAMEDATALEN to a different value, obviously that number of bytes applies, rather than the default 63.
type Name Text

func ( *Name) ( interface{}) error {
	return (*Text)().Set()
}

func ( Name) () interface{} {
	return (Text)().Get()
}

func ( *Name) ( interface{}) error {
	return (*Text)().AssignTo()
}

func ( *Name) ( *ConnInfo,  []byte) error {
	return (*Text)().DecodeText(, )
}

func ( *Name) ( *ConnInfo,  []byte) error {
	return (*Text)().DecodeBinary(, )
}

func ( Name) ( *ConnInfo,  []byte) ([]byte, error) {
	return (Text)().EncodeText(, )
}

func ( Name) ( *ConnInfo,  []byte) ([]byte, error) {
	return (Text)().EncodeBinary(, )
}
Scan implements the database/sql Scanner interface.
func ( *Name) ( interface{}) error {
	return (*Text)().Scan()
}
Value implements the database/sql/driver Valuer interface.
func ( Name) () (driver.Value, error) {
	return (Text)().Value()