mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Allow per-column foreign data wrapper options.
Shigeru Hanada, with fairly minor editing by me.
This commit is contained in:
@@ -363,7 +363,7 @@ equalTupleDescs(TupleDesc tupdesc1, TupleDesc tupdesc2)
|
||||
return false;
|
||||
if (attr1->attcollation != attr2->attcollation)
|
||||
return false;
|
||||
/* attacl and attoptions are not even present... */
|
||||
/* attacl, attoptions and attfdwoptions are not even present... */
|
||||
}
|
||||
|
||||
if (tupdesc1->constr != NULL)
|
||||
@@ -483,7 +483,7 @@ TupleDescInitEntry(TupleDesc desc,
|
||||
att->attisdropped = false;
|
||||
att->attislocal = true;
|
||||
att->attinhcount = 0;
|
||||
/* attacl and attoptions are not present in tupledescs */
|
||||
/* attacl, attoptions and attfdwoptions are not present in tupledescs */
|
||||
|
||||
tuple = SearchSysCache1(TYPEOID, ObjectIdGetDatum(oidtypeid));
|
||||
if (!HeapTupleIsValid(tuple))
|
||||
|
||||
Reference in New Issue
Block a user