⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data_types.hlp

📁 关系型数据库 Postgresql 6.5.2
💻 HLP
字号:
.pgaw:Help.f.t configure -tabs {130 300 450}.pgaw:Help.f.t insert end \"Data types\n\n" {title} \"Postgres has a rich set of native data types available to users. Users may add new types to Postgres using the DEFINE TYPE command described elsewhere. In the context of data types, the following sections will discuss SQL standards compliance, porting issues, and usage. Some Postgres types correspond directly to SQL92-compatible types. In other cases, data types defined by SQL92 syntax are mapped directly into native Postgres types. Many of the built-in types have obvious external formats. However, several types are either unique to Postgres, such as open and closed paths, or have several possibilities for formats, such as the date and time types. " {} \"Postgres Type\tSQL92 or SQL3 Type\tDescription\n" {bold} \"bool\tboolean\tlogical boolean (true/false)box\t\trectangular box in 2D plane\tchar(n)character(n)\t\tfixed-length character stringcidr\t\tIP version 4 network or host addresscircle\t\tcircle in 2D planedate\tdate\tcalendar date without time of dayfloat4/8\tfloat(p)\tfloating-point number with precision pfloat8\treal, double precision\tdouble-precision floating-point numberinet\t\tIP version 4 network or host addressint2\tsmallint\tsigned two-byte integerint4\tint, integer\tsigned 4-byte integerint4\tdecimal(p,s)\texact numeric for p <= 9, s = 0int4\tnumeric(p,s)\texact numeric for p == 9, s = 0int8\t\tsigned 8-byte integerline\t\tinfinite line in 2D planelseg\t\tline segment in 2D planemoney\tdecimal(9,2)\tUS-style currencypath\t\topen and closed geometric path in 2D planepoint\t\tgeometric point in 2D planepolygon\t\tclosed geometric path in 2D planeserial\t\tunique id for indexing and cross-referencetime\ttime\ttime of daytimespan\tinterval\tgeneral-use time spantimestamp\ttimestamp with time zone\tdate/timevarchar(n)\tcharacter varying(n)\tvariable-length character stringNote:  The cidr and inet types are designed to handle any IP type but only ipv4 is handled in the current implementation. Everything here that talks about ipv4 will apply to ipv6 in a future release." {} \"Postgres Function ConstantsPostgres Function\tSQL92 Constant\tDescription" {bold} \"getpgusername()\tcurrent_user\tuser name in current sessiondate('now')\tcurrent_date\tdate of current transactiontime('now')\tcurrent_time\ttime of current transactiontimestamp('now')\tcurrent_timestamp\tdate and time of current transaction" {}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -