]> granicus.if.org Git - postgresql/commitdiff
Expand a few date/time routine names to > 16 characters now that this
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 23 Dec 1997 19:29:15 +0000 (19:29 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 23 Dec 1997 19:29:15 +0000 (19:29 +0000)
 is legal. Fix a little whitespace in other declarations.

src/include/catalog/pg_proc.h

index 4157c8c6d9440c2c9511d2c49a38dc2cfaf53ccb..8e8587393b0d68001a4159e54d61840cd9287763 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_proc.h,v 1.40 1997/12/16 15:53:17 thomas Exp $
+ * $Id: pg_proc.h,v 1.41 1997/12/23 19:29:15 thomas Exp $
  *
  * NOTES
  *       The script catalog/genbki.sh reads this file and generates .bki
@@ -1527,9 +1527,9 @@ DATA(insert OID = 1173 (  abstime_datetime         PGUID 11 f t f 1 f 1184  "702" 100 0
 DESCR("convert abstime to datetime");
 DATA(insert OID = 1174 (  date_datetime                 PGUID 11 f t f 1 f 1184 "1082" 100 0 0 100  foo bar ));
 DESCR("convert date to datetime");
-DATA(insert OID = 1175 (  stamp_datetime     PGUID 11 f t f 1 f 1184 "1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1175 (  timestamp_datetime PGUID 11 f t f 1 f 1184 "1296" 100 0 0 100  foo bar ));
 DESCR("convert timestamp to datetime");
-DATA(insert OID = 1176 (  datet_datetime     PGUID 11 f t f 2 f 1184 "1082 1083" 100 0 0 100  foo bar ));
+DATA(insert OID = 1176 (  datetime_datetime  PGUID 11 f t f 2 f 1184 "1082 1083" 100 0 0 100  foo bar ));
 DESCR("convert date and time to datetime");
 DATA(insert OID = 1177 (  reltime_timespan      PGUID 11 f t f 1 f 1186  "703" 100 0 0 100  foo bar ));
 DESCR("convert reltime to timespan");
@@ -1620,99 +1620,99 @@ DESCR("current transaction time");
 
 /* OIDS 1300 - 1399 */
 
-DATA(insert OID = 1306 (  timestampeq     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1306 (  timestampeq        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("equals");
-DATA(insert OID = 1307 (  timestampne     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1307 (  timestampne        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("not equal");
-DATA(insert OID = 1308 (  timestamplt     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1308 (  timestamplt        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("less-than");
-DATA(insert OID = 1309 (  timestampgt     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1309 (  timestampgt        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("greater-than");
-DATA(insert OID = 1310 (  timestample     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1310 (  timestample        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("less-than-or-equals");
-DATA(insert OID = 1311 (  timestampge     PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
+DATA(insert OID = 1311 (  timestampge        PGUID 11 f t f 2 f   16 "1296 1296" 100 0 0 100  foo bar ));
 DESCR("greater-than-or-equals");
-DATA(insert OID = 1314 (  datetime_cmp    PGUID 11 f t f 2 f   23 "1184 1184" 100 0 0 100  foo bar ));
+DATA(insert OID = 1314 (  datetime_cmp       PGUID 11 f t f 2 f   23 "1184 1184" 100 0 0 100  foo bar ));
 DESCR("less-equal-greater");
-DATA(insert OID = 1315 (  timespan_cmp    PGUID 11 f t f 2 f   23 "1186 1186" 100 0 0 100  foo bar ));
+DATA(insert OID = 1315 (  timespan_cmp       PGUID 11 f t f 2 f   23 "1186 1186" 100 0 0 100  foo bar ));
 DESCR("less-equal-greater");
-DATA(insert OID = 1316 (  datetime_time           PGUID 11 f t f 1 f 1083 "1184" 100 0 0 100  foo bar ));
+DATA(insert OID = 1316 (  datetime_time      PGUID 11 f t f 1 f 1083 "1184" 100 0 0 100  foo bar ));
 DESCR("convert");
-DATA(insert OID = 1318 (  datetime_stamp   PGUID 11 f t f 1 f 1296 "1184" 100 0 0 100  foo bar ));
+DATA(insert OID = 1318 (  datetime_timestamp PGUID 11 f t f 1 f 1296 "1184" 100 0 0 100  foo bar ));
 DESCR("convert");
-DATA(insert OID = 1326 (  timespan_div    PGUID 11 f t f 2 f 1186 "1186 701" 100 0 0 100       foo bar ));
+DATA(insert OID = 1326 (  timespan_div       PGUID 11 f t f 2 f 1186 "1186 701" 100 0 0 100  foo bar ));
 DESCR("divide");
 
-DATA(insert OID = 1339 (  date_zone    PGUID 14 f t f 2 f      25 "25 1184" 100 0 0 100  "select datetime_zone($1, $2)" - ));
+DATA(insert OID = 1339 (  date_zone          PGUID 14 f t f 2 f   25 "25 1184" 100 0 0 100  "select datetime_zone($1, $2)" - ));
 DESCR("");
-DATA(insert OID = 1340 (  text            PGUID 14 f t f 1 f   25 "1184" 100 0 0 100  "select datetime_text($1)" - ));
+DATA(insert OID = 1340 (  text               PGUID 14 f t f 1 f   25 "1184" 100 0 0 100  "select datetime_text($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1341 (  text            PGUID 14 f t f 1 f   25 "1186" 100 0 0 100  "select timespan_text($1)" - ));
+DATA(insert OID = 1341 (  text               PGUID 14 f t f 1 f   25 "1186" 100 0 0 100  "select timespan_text($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1342 (  text            PGUID 14 f t f 1 f   25 "23" 100 0 0 100  "select int4_text($1)" - ));
+DATA(insert OID = 1342 (  text               PGUID 14 f t f 1 f   25 "23" 100 0 0 100  "select int4_text($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1343 (  text            PGUID 14 f t f 1 f   25 "21" 100 0 0 100  "select int2_text($1)" - ));
+DATA(insert OID = 1343 (  text               PGUID 14 f t f 1 f   25 "21" 100 0 0 100  "select int2_text($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1344 (  text            PGUID 14 f t f 1 f   25 "26" 100 0 0 100  "select oid_text($1)" - ));
+DATA(insert OID = 1344 (  text               PGUID 14 f t f 1 f   25 "26" 100 0 0 100  "select oid_text($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1345 (  oid             PGUID 14 f t f 1 f   26 "25" 100 0 0 100  "select text_oid($1)" - ));
+DATA(insert OID = 1345 (  oid                PGUID 14 f t f 1 f   26 "25" 100 0 0 100  "select text_oid($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1346 (  int2            PGUID 14 f t f 1 f   21 "25" 100 0 0 100  "select text_int2($1)" - ));
+DATA(insert OID = 1346 (  int2               PGUID 14 f t f 1 f   21 "25" 100 0 0 100  "select text_int2($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1347 (  int4            PGUID 14 f t f 1 f   23 "25" 100 0 0 100  "select text_int4($1)" - ));
+DATA(insert OID = 1347 (  int4               PGUID 14 f t f 1 f   23 "25" 100 0 0 100  "select text_int4($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1348 (  obj_description   PGUID 14 f t f 1 f 25 "26" 100 0 0 100  "select description from pg_description where objoid = $1" - ));
+DATA(insert OID = 1348 (  obj_description    PGUID 14 f t f 1 f   25 "26" 100 0 0 100  "select description from pg_description where objoid = $1" - ));
 DESCR("get description for object id");
-DATA(insert OID = 1349 (  oid8types       PGUID 11 f t f 1 f   25 "30" 100 0 0 100  foo bar ));
+DATA(insert OID = 1349 (  oid8types          PGUID 11 f t f 1 f   25 "30" 100 0 0 100  foo bar ));
 DESCR("print type names of oid8 field");
 
-DATA(insert OID = 1350 (  datetime        PGUID 14 f t f 1 f 1184 "1184" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1350 (  datetime           PGUID 14 f t f 1 f 1184 "1184" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1351 (  datetime        PGUID 14 f t f 1 f 1184       "25" 100 0 0 100  "select text_datetime($1)" - ));
+DATA(insert OID = 1351 (  datetime           PGUID 14 f t f 1 f 1184 "25" 100 0 0 100  "select text_datetime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1352 (  datetime        PGUID 14 f t f 1 f 1184      "702" 100 0 0 100  "select abstime_datetime($1)" - ));
+DATA(insert OID = 1352 (  datetime           PGUID 14 f t f 1 f 1184 "702" 100 0 0 100  "select abstime_datetime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1353 (  datetime        PGUID 14 f t f 1 f 1184 "1082" 100 0 0 100  "select date_datetime($1)" - ));
+DATA(insert OID = 1353 (  datetime           PGUID 14 f t f 1 f 1184 "1082" 100 0 0 100  "select date_datetime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1354 (  datetime        PGUID 14 f t f 1 f 1184 "1296" 100 0 0 100  "select stamp_datetime($1)" - ));
+DATA(insert OID = 1354 (  datetime           PGUID 14 f t f 1 f 1184 "1296" 100 0 0 100  "select timestamp_datetime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1355 (  datetime        PGUID 14 f t f 2 f 1184 "1082 1083" 100 0 0 100      "select datet_datetime($1, $2)" - ));
+DATA(insert OID = 1355 (  datetime           PGUID 14 f t f 2 f 1184 "1082 1083" 100 0 0 100  "select datetime_datetime($1, $2)" - ));
 DESCR("convert");
-DATA(insert OID = 1356 (  timespan        PGUID 14 f t f 1 f 1186 "1186" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1356 (  timespan           PGUID 14 f t f 1 f 1186 "1186" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1357 (  timespan        PGUID 14 f t f 1 f 1186      "703" 100 0 0 100  "select reltime_timespan($1)" - ));
+DATA(insert OID = 1357 (  timespan           PGUID 14 f t f 1 f 1186 "703" 100 0 0 100  "select reltime_timespan($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1358 (  timespan        PGUID 14 f t f 1 f 1186 "1083" 100 0 0 100  "select time_timespan($1)" - ));
+DATA(insert OID = 1358 (  timespan           PGUID 14 f t f 1 f 1186 "1083" 100 0 0 100  "select time_timespan($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1359 (  date            PGUID 14 f t f 1 f 1082 "1082" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1359 (  date               PGUID 14 f t f 1 f 1082 "1082" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1360 (  date            PGUID 14 f t f 1 f 1082 "1184" 100 0 0 100  "select datetime_date($1)" - ));
+DATA(insert OID = 1360 (  date               PGUID 14 f t f 1 f 1082 "1184" 100 0 0 100  "select datetime_date($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1361 (  date            PGUID 14 f t f 1 f 1082      "702" 100 0 0 100  "select abstime_date($1)" - ));
+DATA(insert OID = 1361 (  date               PGUID 14 f t f 1 f 1082 "702" 100 0 0 100  "select abstime_date($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1362 (  time            PGUID 14 f t f 1 f 1083 "1083" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1362 (  time               PGUID 14 f t f 1 f 1083 "1083" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1363 (  time            PGUID 14 f t f 1 f 1083 "1184" 100 0 0 100  "select datetime_time($1)" - ));
+DATA(insert OID = 1363 (  time               PGUID 14 f t f 1 f 1083 "1184" 100 0 0 100  "select datetime_time($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1364 (  time            PGUID 14 f t f 1 f 1083      "702" 100 0 0 100  "select abstime_time($1)" - ));
+DATA(insert OID = 1364 (  time               PGUID 14 f t f 1 f 1083 "702" 100 0 0 100  "select abstime_time($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1365 (  abstime         PGUID 14 f t f 1 f  702      "702" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1365 (  abstime            PGUID 14 f t f 1 f  702 "702" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1366 (  abstime         PGUID 14 f t f 1 f  702 "1184" 100 0 0 100  "select datetime_abstime($1)" - ));
+DATA(insert OID = 1366 (  abstime            PGUID 14 f t f 1 f  702 "1184" 100 0 0 100  "select datetime_abstime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1367 (  reltime         PGUID 14 f t f 1 f  703      "703" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1367 (  reltime            PGUID 14 f t f 1 f  703 "703" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1368 (  reltime         PGUID 14 f t f 1 f  703 "1186" 100 0 0 100  "select timespan_reltime($1)" - ));
+DATA(insert OID = 1368 (  reltime            PGUID 14 f t f 1 f  703 "1186" 100 0 0 100  "select timespan_reltime($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1369 (  timestamp    PGUID 14 f t f 1 f 1296 "1296" 100 0 0 100  "select $1" - ));
+DATA(insert OID = 1369 (  timestamp          PGUID 14 f t f 1 f 1296 "1296" 100 0 0 100  "select $1" - ));
 DESCR("convert");
-DATA(insert OID = 1370 (  timestamp    PGUID 14 f t f 1 f 1296 "1184" 100 0 0 100  "select datetime_stamp($1)" - ));
+DATA(insert OID = 1370 (  timestamp          PGUID 14 f t f 1 f 1296 "1184" 100 0 0 100  "select datetime_stamp($1)" - ));
 DESCR("convert");
-DATA(insert OID = 1371 (  length          PGUID 14 f t f 1 f   23   "25" 100 0 0 100  "select textlen($1)" - ));
+DATA(insert OID = 1371 (  length             PGUID 14 f t f 1 f   23   "25" 100 0 0 100  "select textlen($1)" - ));
 DESCR("octet length");
-DATA(insert OID = 1372 (  length          PGUID 14 f t f 1 f   23   "1042" 100 0 0 100  "select bpcharlen($1)" - ));
+DATA(insert OID = 1372 (  length             PGUID 14 f t f 1 f   23   "1042" 100 0 0 100  "select bpcharlen($1)" - ));
 DESCR("octet length");
-DATA(insert OID = 1373 (  length          PGUID 14 f t f 1 f   23   "1043" 100 0 0 100  "select varcharlen($1)" - ));
+DATA(insert OID = 1373 (  length             PGUID 14 f t f 1 f   23   "1043" 100 0 0 100  "select varcharlen($1)" - ));
 DESCR("octet length");
 
 DATA(insert OID = 1380 (  date_part    PGUID 14 f t f 2 f  701 "25 1184" 100 0 0 100  "select datetime_part($1, $2)" - ));
@@ -1731,19 +1731,19 @@ DATA(insert OID = 1386 (  date_trunc   PGUID 14 f t f 2 f 1184 "25 1184" 100 0 0
 DESCR("truncate datetime to field");
 DATA(insert OID = 1387 (  date_trunc   PGUID 14 f t f 2 f 1186 "25 1186" 100 0 0 100  "select timespan_trunc($1, $2)" - ));
 DESCR("truncate timespan to field");
-DATA(insert OID = 1388 (  age             PGUID 14 f t f 2 f 1186 "1184 1184" 100 0 0 100      "select datetime_age($1, $2)" - ));
+DATA(insert OID = 1388 (  age          PGUID 14 f t f 2 f 1186 "1184 1184" 100 0 0 100  "select datetime_age($1, $2)" - ));
 DESCR("difference between datetimes but leave years and months unresolved");
-DATA(insert OID = 1389 (  age             PGUID 14 f t f 1 f 1186 "1184" 100 0 0 100  "select datetime_age(\'today\', $1)" - ));
+DATA(insert OID = 1389 (  age          PGUID 14 f t f 1 f 1186 "1184" 100 0 0 100  "select datetime_age(\'today\', $1)" - ));
 DESCR("difference between datetime and today but leave years and months unresolved");
 
-DATA(insert OID = 1390 (  isfinite        PGUID 14 f t f 1 f   16 "1184" 100 0 0 100  "select datetime_finite($1)" - ));
+DATA(insert OID = 1390 (  isfinite     PGUID 14 f t f 1 f   16 "1184" 100 0 0 100  "select datetime_finite($1)" - ));
 DESCR("boolean test");
-DATA(insert OID = 1391 (  isfinite        PGUID 14 f t f 1 f   16 "1186" 100 0 0 100  "select timespan_finite($1)" - ));
+DATA(insert OID = 1391 (  isfinite     PGUID 14 f t f 1 f   16 "1186" 100 0 0 100  "select timespan_finite($1)" - ));
 DESCR("boolean test");
-DATA(insert OID = 1392 (  isfinite        PGUID 14 f t f 1 f   16      "702" 100 0 0 100  "select abstime_finite($1)" - ));
+DATA(insert OID = 1392 (  isfinite     PGUID 14 f t f 1 f   16 "702" 100 0 0 100  "select abstime_finite($1)" - ));
 DESCR("boolean test");
 
-DATA(insert OID = 1393 (  timespan        PGUID 14 f t f 1 f 1186 "25" 100 0 0 100  "select text_timespan($1)" - ));
+DATA(insert OID = 1393 (  timespan     PGUID 14 f t f 1 f 1186 "25" 100 0 0 100  "select text_timespan($1)" - ));
 DESCR("convert");
 
 /* reserve OIDs 1370-1399 for additional date/time conversion routines! tgl 97/04/01 */