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

Commita8de40d

Browse files
committed
Get rid of those pesky long constants, 'l'. Has no affect.
1 parentb1c7c31 commita8de40d

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

‎src/include/catalog/pg_attribute.h‎

Lines changed: 63 additions & 63 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_attribute.h,v 1.30 1998/02/26 04:40:48 momjian Exp $
10+
* $Id: pg_attribute.h,v 1.31 1998/03/04 18:41:08 momjian Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -178,22 +178,22 @@ typedef FormData_pg_attribute *AttributeTupleForm;
178178
* ----------------
179179
*/
180180
#defineSchema_pg_type \
181-
{1247l, {"typname"},19l, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
182-
{1247l, {"typowner"},26l, 0,4,2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
183-
{1247l, {"typlen"},21l, 0,2,3, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
184-
{1247l, {"typprtlen"},21l, 0,2,4, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
185-
{1247l, {"typbyval"},16l, 0,1,5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
186-
{1247l, {"typtype"},18l, 0,1,6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
187-
{1247l, {"typisdefined"},16l, 0,1,7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
188-
{1247l, {"typdelim"},18l, 0,1,8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
189-
{1247l, {"typrelid"},26l, 0,4,9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
190-
{1247l, {"typelem"},26l, 0,4, 10, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
191-
{1247l, {"typinput"},24l, 0,4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
192-
{1247l, {"typoutput"},24l, 0,4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
193-
{1247l, {"typreceive"},24l, 0,4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
194-
{1247l, {"typsend"},24l, 0,4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
195-
{1247l, {"typalign"},18l, 0,1, 15, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
196-
{1247l, {"typdefault"},25l, 0, -1, 16, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }
181+
{1247, {"typname"},19, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
182+
{1247, {"typowner"},26, 0,4,2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
183+
{1247, {"typlen"},21, 0,2,3, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
184+
{1247, {"typprtlen"}, 21, 0,2,4, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
185+
{1247, {"typbyval"},16, 0,1,5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
186+
{1247, {"typtype"},18, 0,1,6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
187+
{1247, {"typisdefined"}, 16, 0,1,7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
188+
{1247, {"typdelim"},18, 0,1,8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
189+
{1247, {"typrelid"},26, 0,4,9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
190+
{1247, {"typelem"},26, 0,4, 10, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
191+
{1247, {"typinput"},24, 0,4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
192+
{1247, {"typoutput"}, 24, 0,4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
193+
{1247, {"typreceive"}, 24, 0,4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
194+
{1247, {"typsend"},24, 0,4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
195+
{1247, {"typalign"},18, 0,1, 15, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
196+
{1247, {"typdefault"}, 25, 0, -1, 16, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }
197197

198198
DATA(insertOID=0 (1247typname190NAMEDATALEN10-1-1ffiff));
199199
DATA(insertOID=0 (1247typowner260420-1-1tfiff));
@@ -237,22 +237,22 @@ DATA(insert OID = 0 ( 1262 cmax29 0 4 -6 0 -1 -1 t f i f f));
237237
* ----------------
238238
*/
239239
#defineSchema_pg_proc \
240-
{1255l, {"proname"},19l, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
241-
{1255l, {"proowner"},26l, 0, 4, 2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
242-
{1255l, {"prolang"},26l, 0, 4, 3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
243-
{1255l, {"proisinh"},16l, 0, 1, 4, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
244-
{1255l, {"proistrusted"},16l, 0, 1, 5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
245-
{1255l, {"proiscachable"},16l, 0, 1, 6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
246-
{1255l, {"pronargs"},21l, 0, 2, 7, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
247-
{1255l, {"proretset"},16l, 0, 1, 8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
248-
{1255l, {"prorettype"},26l, 0, 4, 9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
249-
{1255l, {"proargtypes"},30l, 0, 32, 10, 0, -1, -1,'\0', '\0', 'i', '\0', '\0' }, \
250-
{1255l, {"probyte_pct"},23l, 0, 4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
251-
{1255l, {"properbyte_cpu"},23l, 0, 4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
252-
{1255l, {"propercall_cpu"},23l, 0, 4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
253-
{1255l, {"prooutin_ratio"},23l, 0, 4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
254-
{1255l, {"prosrc"},25l, 0, -1, 15,0l, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
255-
{1255l, {"probin"},17l, 0, -1, 16,0l, -1, -1, '\0', '\0', 'i', '\0', '\0' }
240+
{1255, {"proname"},19, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
241+
{1255, {"proowner"},26, 0, 4, 2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
242+
{1255, {"prolang"},26, 0, 4, 3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
243+
{1255, {"proisinh"},16, 0, 1, 4, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
244+
{1255, {"proistrusted"},16, 0, 1, 5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
245+
{1255, {"proiscachable"},16, 0, 1, 6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
246+
{1255, {"pronargs"},21, 0, 2, 7, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
247+
{1255, {"proretset"},16, 0, 1, 8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
248+
{1255, {"prorettype"},26, 0, 4, 9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
249+
{1255, {"proargtypes"},30, 0, 32, 10, 0, -1, -1,'\0', '\0', 'i', '\0', '\0' }, \
250+
{1255, {"probyte_pct"},23, 0, 4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
251+
{1255, {"properbyte_cpu"},23, 0, 4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
252+
{1255, {"propercall_cpu"},23, 0, 4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
253+
{1255, {"prooutin_ratio"},23, 0, 4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
254+
{1255, {"prosrc"},25, 0, -1, 15,0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
255+
{1255, {"probin"},17, 0, -1, 16,0, -1, -1, '\0', '\0', 'i', '\0', '\0' }
256256

257257
DATA(insertOID=0 (1255proname190NAMEDATALEN10-1-1ffiff));
258258
DATA(insertOID=0 (1255proowner260420-1-1tfiff));
@@ -315,20 +315,20 @@ DATA(insert OID = 0 ( 1261 cmax29 0 4 -6 0 -1 -1 t f i f f));
315315
* ----------------
316316
*/
317317
#defineSchema_pg_attribute \
318-
{1249l, {"attrelid"},26l, 0,4,1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
319-
{1249l, {"attname"},19l, 0, NAMEDATALEN,2, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
320-
{1249l, {"atttypid"},26l, 0,4,3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
321-
{1249l, {"attdisbursion"}, 700l, 0,4,4, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
322-
{1249l, {"attlen"}, 21l, 0,2,5, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
323-
{1249l, {"attnum"}, 21l, 0,2,6, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
324-
{1249l, {"attnelems"}, 23l, 0,4,7, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
325-
{1249l, {"attcacheoff"},23l, 0,4,8, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
326-
{1249l, {"atttypmod"}, 21l, 0,2,9, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
327-
{1249l, {"attbyval"},16l, 0,1, 10, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
328-
{1249l, {"attisset"},16l, 0,1, 11, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
329-
{1249l, {"attalign"},18l, 0,1, 12, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
330-
{ 12491, {"attnotnull"},16l, 0,1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
331-
{ 12491, {"atthasdef"},16l, 0,1, 14, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }
318+
{1249, {"attrelid"},26, 0,4,1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
319+
{1249, {"attname"},19, 0, NAMEDATALEN,2, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
320+
{1249, {"atttypid"},26, 0,4,3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
321+
{1249, {"attdisbursion"},700, 0,4,4, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
322+
{1249, {"attlen"}, 21, 0,2,5, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
323+
{1249, {"attnum"}, 21, 0,2,6, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
324+
{1249, {"attnelems"}, 23, 0,4,7, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
325+
{1249, {"attcacheoff"}, 23, 0,4,8, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
326+
{1249, {"atttypmod"}, 21, 0,2,9, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
327+
{1249, {"attbyval"},16, 0,1, 10, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
328+
{1249, {"attisset"},16, 0,1, 11, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
329+
{1249, {"attalign"},18, 0,1, 12, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
330+
{ 12491, {"attnotnull"},16, 0,1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
331+
{ 12491, {"atthasdef"},16, 0,1, 14, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }
332332

333333
DATA(insertOID=0 (1249attrelid260410-1-1tfiff));
334334
DATA(insertOID=0 (1249attname190NAMEDATALEN20-1-1ffiff));
@@ -356,20 +356,20 @@ DATA(insert OID = 0 ( 1249 cmax29 0 4 -6 0 -1 -1 t f i f f));
356356
* ----------------
357357
*/
358358
#defineSchema_pg_class \
359-
{1259l, {"relname"},19l, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
360-
{1259l, {"reltype"},26l, 0,4,2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
361-
{1259l, {"relowner"},26l, 0,4,3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
362-
{1259l, {"relam"},26l, 0,4,4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
363-
{1259l, {"relpages"}, 23,0l, 4, 5, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
364-
{1259l, {"reltuples"}, 23,0l, 4, 6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
365-
{1259l, {"relhasindex"}, 16,0l, 1, 7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
366-
{1259l, {"relisshared"}, 16,0l, 1, 8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
367-
{1259l, {"relkind"}, 18,0l, 1, 9, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
368-
{1259l, {"relnatts"}, 21,0l, 2, 10, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
369-
{1259l, {"relchecks"},21l, 0,2, 11, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
370-
{1259l, {"reltriggers"},21l, 0,2, 12, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
371-
{1259l, {"relhasrules"}, 16,0l, 1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
372-
{1259l, {"relacl"},1034l, 0, -1, 14, 0, -1, -1,'\0', '\0', 'i', '\0', '\0' }
359+
{1259, {"relname"},19, 0, NAMEDATALEN, 1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
360+
{1259, {"reltype"},26, 0,4,2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
361+
{1259, {"relowner"},26, 0,4,3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
362+
{1259, {"relam"},26, 0,4,4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
363+
{1259, {"relpages"}, 23,0, 4, 5, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
364+
{1259, {"reltuples"},23,0, 4, 6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
365+
{1259, {"relhasindex"},16,0, 1, 7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
366+
{1259, {"relisshared"},16,0, 1, 8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
367+
{1259, {"relkind"}, 18,0, 1, 9, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
368+
{1259, {"relnatts"}, 21,0, 2, 10, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
369+
{1259, {"relchecks"}, 21, 0,2, 11, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
370+
{1259, {"reltriggers"}, 21, 0,2, 12, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
371+
{1259, {"relhasrules"},16,0, 1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
372+
{1259, {"relacl"}, 1034, 0, -1, 14, 0, -1, -1,'\0', '\0', 'i', '\0', '\0' }
373373

374374
DATA(insertOID=0 (1259relname190NAMEDATALEN10-1-1ffiff));
375375
DATA(insertOID=0 (1259reltype260420-1-1tfiff));
@@ -447,7 +447,7 @@ DATA(insert OID = 0 ( 1219 cmax29 0 4 -6 0 -1 -1 t f i f f));
447447
* ----------------
448448
*/
449449
#defineSchema_pg_variable \
450-
{1264l, {"varfoo"},26l, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
450+
{1264, {"varfoo"},26, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
451451

452452
DATA(insertOID=0 (1264varfoo260410-1-1tfiff));
453453

@@ -458,7 +458,7 @@ DATA(insert OID = 0 ( 1264 varfoo26 0 4 1 0 -1 -1 t f i f f));
458458
* ----------------
459459
*/
460460
#defineSchema_pg_log \
461-
{1269l, {"logfoo"},26l, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
461+
{1269, {"logfoo"},26, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
462462

463463
DATA(insertOID=0 (1269logfoo260410-1-1tfiff));
464464

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp