From cc92fe853747c2a581fb9007fbd4e5f2458204cb Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Fri, 16 Feb 2024 00:16:54 +0530 Subject: [PATCH] use attisdropped --- flow/cmd/peer_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/cmd/peer_data.go b/flow/cmd/peer_data.go index 347f24a4a9..a009226929 100644 --- a/flow/cmd/peer_data.go +++ b/flow/cmd/peer_data.go @@ -198,7 +198,7 @@ func (h *FlowRequestHandler) GetColumns( AND relname = $2 AND pg_attribute.attnum > 0 - AND attname NOT LIKE '%........pg.dropped.%' + AND NOT attisdropped ORDER BY attnum; `, req.SchemaName, req.TableName)