internal/postgres: delete update in upsertSymbolNamesReturningIDs
This update is no longer necessary.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -357,17 +357,6 @@ func upsertSymbolNamesReturningIDs(ctx context.Context, db *database.DB,
return nil, err
}
- // Trigger tsv_name_tokens to update.
- // TODO(golang/go#44142): Remove this once tsv_name_tokens is populated in
- // all environments.
- if _, err := db.Exec(ctx, `
- UPDATE symbol_names
- SET name=name
- WHERE name = ANY($1)
- AND tsv_name_tokens IS NULL;`, pq.Array(names)); err != nil {
- return nil, err
- }
-
var values []interface{}
for _, name := range names {
if _, ok := nameToID[name]; !ok {
