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

Commitbf22d27

Browse files
committed
Silence warning in non-assert-enabled build
An OID return value was being used only for a (rather pointless) assert.Silence by removing the variable and the assert.Per note from Peter Geoghegan
1 parent3200b15 commitbf22d27

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/backend/catalog/pg_conversion.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ ConversionCreate(const char *conname, Oid connamespace,
5050
boolnulls[Natts_pg_conversion];
5151
Datumvalues[Natts_pg_conversion];
5252
NameDatacname;
53-
Oidoid;
5453
ObjectAddressmyself,
5554
referenced;
5655

@@ -106,8 +105,7 @@ ConversionCreate(const char *conname, Oid connamespace,
106105
tup=heap_form_tuple(tupDesc,values,nulls);
107106

108107
/* insert a new tuple */
109-
oid=simple_heap_insert(rel,tup);
110-
Assert(OidIsValid(oid));
108+
simple_heap_insert(rel,tup);
111109

112110
/* update the index if any */
113111
CatalogUpdateIndexes(rel,tup);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp