Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit25036d4

Browse files
committed
Clean up \dT display.
1 parent7bf25f1 commit25036d4

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

‎src/include/catalog/pg_type.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_type.h,v 1.67 1999/10/1811:36:45 momjian Exp $
10+
* $Id: pg_type.h,v 1.68 1999/10/1813:44:24 momjian Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -151,7 +151,7 @@ typedef FormData_pg_type *Form_pg_type;
151151

152152
/* OIDS 1 - 99 */
153153
DATA(insertOID=16 (boolPGUID11tbt \05400boolinbooloutboolinbooloutc_null_ ));
154-
DESCR("boolean 'true'/'false'");
154+
DESCR("boolean, 'true'/'false'");
155155
#defineBOOLOID16
156156

157157
DATA(insertOID=17 (byteaPGUID-1-1fbt \054018byteainbyteaoutbyteainbyteaouti_null_ ));
@@ -167,15 +167,15 @@ DESCR("31-character type for storing system identifiers");
167167
#defineNAMEOID19
168168

169169
DATA(insertOID=20 (int8PGUID820fbt \05400int8inint8outint8inint8outd_null_ ));
170-
DESCR("~18digits, eight-byteinteger, ");
170+
DESCR("~18digitinteger,8-bytes");
171171
#defineINT8OID20
172172

173173
DATA(insertOID=21 (int2PGUID25tbt \05400int2inint2outint2inint2outs_null_ ));
174-
DESCR("two-byte integer, -32k to 32k");
174+
DESCR("-32 thousand to 32 thousand, 2-byte storage,");
175175
#defineINT2OID21
176176

177177
DATA(insertOID=22 (int28PGUID1650fbt \054021int28inint28outint28inint28outi_null_ ));
178-
DESCR("82-byte integers, used internally");
178+
DESCR("8int2 integers, used internally");
179179
/*
180180
* XXX -- the implementation of int28's in postgres is a hack, and will
181181
* go away someday.until that happens, there is a case (in the
@@ -194,15 +194,15 @@ DESCR("registered procedure");
194194
#defineREGPROCOID24
195195

196196
DATA(insertOID=25 (textPGUID-1-1fbt \054018textintextouttextintextouti_null_ ));
197-
DESCR("nativevariable-length string");
197+
DESCR("variable-length string, no limit specified");
198198
#defineTEXTOID25
199199

200200
DATA(insertOID=26 (oidPGUID410tbt \05400int4inint4outint4inint4outi_null_ ));
201-
DESCR("object identifier type");
201+
DESCR("object identifier(oid), maximum 4 billion");
202202
#defineOIDOID26
203203

204204
DATA(insertOID=27 (tidPGUID619fbt \05400tidintidouttidintidouti_null_ ));
205-
DESCR("tuple identifier type, physical location of tuple");
205+
DESCR("(Block, offset), physical location of tuple");
206206
#defineTIDOID27
207207

208208
DATA(insertOID=28 (xidPGUID412tbt \05400xidinxidoutxidinxidouti_null_ ));
@@ -214,7 +214,7 @@ DESCR("command identifier type, sequence in transaction id");
214214
#defineCIDOID 29
215215

216216
DATA(insertOID=30 (oid8PGUID3289fbt \054026oid8inoid8outoid8inoid8outi_null_ ));
217-
DESCR("array of 8oid, used in system tables");
217+
DESCR("array of 8oids, used in system tables");
218218
DATA(insertOID=32 (SETPGUID-1-1fbt \05400textintextouttextintextouti_null_ ));
219219
DESCR("set of tuples");
220220

@@ -285,7 +285,7 @@ DATA(insert OID = 703 ( reltime PGUID 4 20 t b t \054 0 0 reltimein relti
285285
DESCR("relative, limited-range time interval (Unix delta time)");
286286
#defineRELTIMEOID703
287287
DATA(insertOID=704 (tintervalPGUID1247fbt \05400tintervalintintervalouttintervalintintervalouti_null_ ));
288-
DESCR("time interval '(abstime,abstime)'");
288+
DESCR("(abstime,abstime), time interval");
289289
DATA(insertOID=705 (unknownPGUID-1-1fbt \054018textintextouttextintextouti_null_ ));
290290
DESCR("");
291291
#defineUNKNOWNOID705
@@ -295,18 +295,18 @@ DESCR("geometric circle '(center,radius)'");
295295
#defineCIRCLEOID718
296296
DATA(insertOID=719 (_circlePGUID-1-1fbt \0540718array_inarray_outarray_inarray_outd_null_ ));
297297
DATA(insertOID=790 (moneyPGUID424fbt \05400cash_incash_outcash_incash_outi_null_ ));
298-
DESCR("money '$d,ddd.cc'");
298+
DESCR("$d,ddd.cc, money");
299299
#defineCASHOID 790
300300
DATA(insertOID=791 (_moneyPGUID-1-1fbt \0540790array_inarray_outarray_inarray_outi_null_ ));
301301

302302
/* OIDS 800 - 899 */
303303
DATA(insertOID=829 (macaddrPGUID6-1fbt \05400macaddr_inmacaddr_outmacaddr_inmacaddr_outi_null_ ));
304-
DESCR("MAC address");
304+
DESCR("XX:XX:XX:XX:XX,MAC address");
305305
DATA(insertOID=869 (inetPGUID-1-1fbt \05400inet_ininet_outinet_ininet_outi_null_ ));
306-
DESCR("Host address");
306+
DESCR("IP address/netmask, host address, netmask optional");
307307
#defineINETOID 869
308308
DATA(insertOID=650 (cidrPGUID-1-1fbt \05400cidr_incidr_outcidr_incidr_outi_null_ ));
309-
DESCR("Network address");
309+
DESCR("network IP address/netmask, network address");
310310
#defineCIDROID 650
311311

312312
/* OIDS 900 - 999 */
@@ -352,17 +352,17 @@ DATA(insert OID = 1040 ( _macaddr PGUID -1 -1 f b t \054 0 829 array_in array
352352
DATA(insertOID=1041 (_inetPGUID-1-1fbt \0540869array_inarray_outarray_inarray_outi_null_ ));
353353
DATA(insertOID=651 (_cidrPGUID-1-1fbt \0540650array_inarray_outarray_inarray_outi_null_ ));
354354
DATA(insertOID=1042 (bpcharPGUID-1-1fbt \054018bpcharinbpcharoutbpcharinbpcharouti_null_ ));
355-
DESCR("blank-paddedcharacters, length specified when created -- char()");
355+
DESCR("char(length),blank-paddedstring, fixed storage length");
356356
#defineBPCHAROID1042
357357
DATA(insertOID=1043 (varcharPGUID-1-1fbt \054018varcharinvarcharoutvarcharinvarcharouti_null_ ));
358-
DESCR("non-blank-padded-length string,length specified when created -- varchar()");
358+
DESCR("varchar(length),non-blank-padded string,variable storage length");
359359
#defineVARCHAROID1043
360360

361361
DATA(insertOID=1082 (datePGUID410tbt \05400date_indate_outdate_indate_outi_null_ ));
362-
DESCR("ANSI SQL date 'yyyy-mm-dd'");
362+
DESCR("yyyy-mm-dd, ANSI SQL date");
363363
#defineDATEOID1082
364364
DATA(insertOID=1083 (timePGUID816fbt \05400time_intime_outtime_intime_outd_null_ ));
365-
DESCR("ANSI SQL time 'hh:mm:ss'");
365+
DESCR("hh:mm:ss, ANSI SQL time");
366366
#defineTIMEOID1083
367367

368368
/* OIDS 1100 - 1199 */
@@ -373,18 +373,18 @@ DESCR("date and time 'yyyy-mm-dd hh:mm:ss'");
373373
#defineDATETIMEOID1184
374374
DATA(insertOID=1185 (_datetimePGUID-1-1fbt \05401184array_inarray_outarray_inarray_outd_null_ ));
375375
DATA(insertOID=1186 (timespanPGUID1247fbt \05400timespan_intimespan_outtimespan_intimespan_outd_null_ ));
376-
DESCR("time interval '@ <number> <units>'");
376+
DESCR("@ <number> <units>, time interval");
377377
#defineTIMESPANOID1186
378378
DATA(insertOID=1187 (_timespanPGUID-1-1fbt \05401186array_inarray_outarray_inarray_outd_null_ ));
379379

380380
/* OIDS 1200 - 1299 */
381381
DATA(insertOID=1296 (timestampPGUID419tbt \05400timestamp_intimestamp_outtimestamp_intimestamp_outi_null_ ));
382-
DESCR("limited-range ISO-format date and time");
382+
DESCR("date time timezone,limited-range ISO-formated date and time");
383383
#defineTIMESTAMPOID1296
384384

385385
/* OIDS 1700 - 1799 */
386386
DATA(insertOID=1700 (numericPGUID-1-1fbt \05400numeric_innumeric_outnumeric_innumeric_outi_null_ ));
387-
DESCR("arbitraryprecision exact numeric data type");
387+
DESCR("numeric(precision, decimal), arbitrary precision number");
388388
#defineNUMERICOID1700
389389

390390

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp