| File | Function | Coverage |
| --- | --- | --- |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:76: | New | 67.5% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:147: | Write | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:151: | Close | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:161: | currentDatabase | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:170: | currentSchema | 80.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:180: | getPgType | 66.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/client.go:206: | hasPgVectorConfig | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/connection_tester.go:18: | ConnectionTester | 85.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/connection_tester.go:52: | processError | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:14: | DeleteStaleBatch | 93.3% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:34: | DeleteRecordsBatch | 88.9% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:48: | generateInitialDelete | 95.2% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:79: | generateRelationsDelete | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:93: | generateDeleteCTE | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/delete.go:124: | extractPredicateValues | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:35: | WithHTTPClient | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:41: | WithEmbeddingsEndpointBase | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:46: | NewEmbeddingsRequesterFromSpec | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:54: | NewEmbeddingsRequester | 70.6% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:96: | CreateEmbeddings | 86.4% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:150: | doEmbeddingsRequest | 76.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/embeddings_requester.go:193: | specEmbeddingDimensionsForModel | 50.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:17: | pgTables | 91.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:39: | InsertBatch | 65.8% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:110: | flushBatch | 83.3% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:147: | insert | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:174: | upsert | 94.4% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:202: | upsertCrateDB | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert.go:226: | pgErrToStr | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:38: | toEmbeddingTableColumns | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:47: | addEmbeddingRows | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:76: | insertEmbeddingsBatch | 5.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:141: | ensureConfigColumnsMatchBatchSchema | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:172: | columnIndexes | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:188: | buildDeleteCQIDsSQL | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:196: | buildEmbeddingsInsertSQL | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:205: | buildEmbeddingsRowValues | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:236: | buildInputs | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:252: | scalarToString | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:271: | embeddingLiteral | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:282: | sanitizeIdentifiers | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:290: | makeSlice | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/insert_embeddings.go:298: | makePlaceholders | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/list_tables.go:78: | listTables | 90.6% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/messages.go:8: | tablesFromMessages | 90.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:19: | MigrateTableBatch | 71.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:91: | normalizeTable | 78.6% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:126: | autoMigrateTable | 78.6% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:152: | canAutoMigrate | 92.6% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:211: | normalizeTables | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:219: | nonAutoMigratableTables | 88.9% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:234: | dropTable | 80.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:243: | migrateToCQID | 53.8% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:334: | addColumn | 85.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:345: | createTableIfNotExist | 91.4% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:398: | createPgVectorTableIfNotExists | 5.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:466: | removeUniqueConstraint | 75.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:481: | getPKName | 80.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:494: | createPerformanceIndexes | 68.8% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:523: | ensurePgVectorExtensionInstalled | 30.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/migrate.go:542: | hashTableName | 80.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/read.go:25: | Read | 79.3% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/read.go:66: | prepareValueForResourceSet | 56.2% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/read.go:153: | numericToUint64 | 83.3% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/read.go:170: | stringForTime32 | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/read.go:174: | stringForTime64 | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/gen/main.go:13: | main | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/gen/main.go:20: | currDir | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:23: | JSONSchema | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:38: | String | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:42: | LogLevel | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:46: | MarshalJSON | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:53: | UnmarshalJSON | 66.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/pgx_log_level.go:64: | logLevelFromString | 75.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:52: | HasPgVectorConfig | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:56: | SetDefaults | 93.3% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:89: | ensureCQIDPresent | 66.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:96: | embeddingDimensionsForModel | 75.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:107: | Validate | 88.2% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:159: | JSONSchemaExtend | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/spec/spec.go:205: | GetPgVectorTableConfig | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:16: | stripNulls | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:23: | stripNullsFromMarshalledJson | 77.8% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:39: | stripNullsFromJsonValue | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:58: | transformArr | 88.9% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:195: | transformValues | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:212: | getCQIDs | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/transformer.go:227: | getColumnIndexWithName | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/types.go:8: | SchemaTypeToPg | 50.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/client/types.go:19: | PgToSchemaType | 50.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/main.go:20: | main | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:18: | Pg10ToArrow | 90.9% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:66: | CockroachToArrow | 85.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:115: | CrateDBToArrow | 0.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:161: | normalize | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:165: | parseTimestamp | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:186: | parseTime | 100.0% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_arrow.go:201: | parseNumeric | 88.9% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_pg.go:10: | ArrowToPg10 | 60.7% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_pg.go:72: | ArrowToCockroach | 57.1% |
| github.com/cloudquery/cloudquery/plugins/destination/postgresql/v8/pgarrow/to_pg.go:131: | ArrowToCrateDB | 0.0% |
| total: | (statements) | 64.5% |
