Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
1581 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .cirrus.tasks.yml | 1 | # CI configuration file for CI utilizing cirrus-ci.org |
| LOW | .cirrus.tasks.yml | 81 | # conversion script, but ... |
| LOW | .cirrus.yml | 1 | # CI configuration file for CI utilizing cirrus-ci.org |
| LOW | contrib/postgres_fdw/deparse.c | 41 | #include "catalog/pg_collation.h" |
| LOW | contrib/postgres_fdw/postgres_fdw.c | 21 | #include "commands/defrem.h" |
| LOW | contrib/postgres_fdw/postgres_fdw.c | 41 | #include "optimizer/restrictinfo.h" |
| LOW | contrib/postgres_fdw/connection.c | 21 | #include "catalog/pg_user_mapping.h" |
| LOW | contrib/pg_prewarm/autoprewarm.c | 21 | * IDENTIFICATION |
| LOW | contrib/pg_prewarm/autoprewarm.c | 41 | #include "storage/latch.h" |
| LOW | contrib/pageinspect/btreefuncs.c | 21 | * THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT |
| LOW | contrib/pageinspect/heapfuncs.c | 21 | * contrib/pageinspect/heapfuncs.c |
| LOW | contrib/file_fdw/file_fdw.c | 21 | #include "access/table.h" |
| LOW | contrib/uuid-ossp/uuid-ossp.c | 21 | #include "utils/uuid.h" |
| LOW | contrib/uuid-ossp/uuid-ossp.c | 41 | #endif |
| LOW | contrib/pg_trgm/trgm_op.c | 1 | /* |
| LOW | contrib/pg_trgm/trgm_op.c | 221 | if (GetDefaultCharSignedness()) |
| LOW | contrib/pg_trgm/trgm.h | 21 | * the operator classes, because we can't handle case-insensitive wildcard |
| LOW | contrib/pg_trgm/trgm.h | 81 | #define CLRBIT(x,i) GETBYTE(x,i) &= ~( 0x01 << ( (i) % BITBYTE ) ) |
| LOW | contrib/unaccent/generate_unaccent_rules.py | 1 | #!/usr/bin/python |
| LOW | contrib/unaccent/generate_unaccent_rules.py | 21 | # command line argument -- will be parsed and used. |
| LOW | contrib/unaccent/generate_unaccent_rules.py | 181 | # And finish the processing of each individual rule. |
| LOW | contrib/cube/cubedata.h | 41 | #define SET_POINT_BIT(cube) ( (cube)->header |= POINT_BIT ) |
| LOW | contrib/dblink/dblink.c | 41 | #include "catalog/namespace.h" |
| LOW | contrib/intarray/_int.h | 61 | /* bigint defines */ |
| LOW | contrib/pgrowlocks/pgrowlocks.c | 21 | * IS" BASIS, AND THE AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, |
| LOW | contrib/btree_gin/btree_gin.c | 1 | /* |
| LOW | contrib/ltree/ltree.h | 161 | #define COMPUTESIZE(size,lenofoperand) ( HDRSIZEQT + (size) * sizeof(ITEM) + (lenofoperand) ) |
| LOW | contrib/ltree/ltree.h | 221 | |
| LOW | contrib/ltree/ltree.h | 281 | #define LTG_ISONENODE(x) ( ((ltree_gist*)(x))->flag & LTG_ONENODE ) |
| LOW | contrib/pg_stat_statements/pg_stat_statements.c | 41 | * |
| LOW | contrib/pg_stat_statements/pg_stat_statements.c | 61 | #include "pgstat.h" |
| LOW | contrib/pg_buffercache/pg_buffercache_pages.c | 21 | |
| LOW | contrib/amcheck/verify_heapam.c | 21 | #include "access/xact.h" |
| LOW | contrib/amcheck/verify_nbtree.c | 21 | * |
| LOW | contrib/hstore/hstore_io.c | 1 | /* |
| LOW | contrib/pgcrypto/px.h | 41 | #define PX_MAX_SALT_LEN 128 |
| LOW | contrib/pgcrypto/px.h | 61 | #define PXE_BAD_SALT_ROUNDS -15 |
| LOW | contrib/pgcrypto/px.h | 201 | |
| LOW | contrib/pgcrypto/px.h | 221 | #define px_cipher_init(c, k, klen, iv) (c)->init(c, k, klen, iv) |
| LOW | contrib/pgcrypto/crypt-blowfish.c | 41 | #ifdef __i386__ |
| LOW | contrib/pgcrypto/scripts/pgp_session_data.py | 1 | #!/usr/bin/python |
| LOW | contrib/pg_plan_advice/pgpa_planner.c | 21 | #include "pgpa_output.h" |
| LOW | contrib/pgstattuple/pgstatindex.c | 21 | * THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT |
| LOW | contrib/pgstattuple/pgstattuple.c | 21 | * IS" BASIS, AND THE AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, |
| LOW | contrib/fuzzystrmatch/dmetaphone.c | 101 | #include "utils/builtins.h" |
| LOW | contrib/fuzzystrmatch/daitch_mokotoff_header.pl | 121 | print $OUTPUT "};\n"; |
| LOW | contrib/sepgsql/sepgsql.h | 41 | #define SEPG_CLASS_BLK_FILE 5 |
| LOW | contrib/sepgsql/sepgsql.h | 61 | #define SEPG_PROCESS__SETCURRENT (1<<2) |
| LOW | contrib/sepgsql/sepgsql.h | 81 | #define SEPG_DIR__REPARENT (1<<10) |
| LOW | contrib/sepgsql/sepgsql.h | 101 | #define SEPG_BLK_FILE__UNLINK (SEPG_FILE__UNLINK) |
| LOW | contrib/sepgsql/sepgsql.h | 121 | #define SEPG_DB_DATABASE__SETATTR (1<<3) |
| LOW | contrib/sepgsql/sepgsql.h | 141 | #define SEPG_DB_TABLE__RELABELFROM (SEPG_DB_DATABASE__RELABELFROM) |
| LOW | contrib/sepgsql/sepgsql.h | 161 | #define SEPG_DB_PROCEDURE__DROP (SEPG_DB_DATABASE__DROP) |
| LOW | contrib/sepgsql/sepgsql.h | 181 | #define SEPG_DB_TUPLE__RELABELTO (SEPG_DB_DATABASE__RELABELTO) |
| LOW | contrib/sepgsql/sepgsql.h | 201 | #define SEPG_DB_LANGUAGE__SETATTR (SEPG_DB_DATABASE__SETATTR) |
| LOW | contrib/sepgsql/label.c | 21 | #include "catalog/pg_attribute.h" |
| LOW | src/pl/plpgsql/src/pl_exec.c | 21 | #include "access/htup_details.h" |
| LOW | src/pl/plpgsql/src/pl_comp.c | 21 | #include "catalog/namespace.h" |
| LOW | src/pl/plpython/plpython_system.h | 41 | #undef _DEBUG |
| LOW | src/pl/plpython/plpy_main.c | 1 | /* |
| 1166 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | contrib/pg_visibility/t/001_concurrent_transaction.pl | 36 | # Create a sample table and run vacuum |
| MEDIUM | contrib/pg_visibility/t/002_corrupt_vm.pl | 21 | # Create a sample table with at least 10 pages and then run VACUUM. 10 is |
| MEDIUM | contrib/amcheck/t/004_verify_nbtree_unique.pl | 18 | # Create a custom operator class and an index which uses it. |
| MEDIUM | contrib/amcheck/t/005_pitr.pl | 16 | # Create a table with each of 6 PK values spanning 1/4 of a block. Delete the |
| MEDIUM | contrib/amcheck/t/001_verify_heapam.pl | 115 | # Create a test sequence of the given name. |
| MEDIUM | src/test/ssl/t/SSL/Server.pm | 15 | # Create a new cluster |
| MEDIUM | src/test/ldap/t/003_ldap_connection_param_lookup.pl | 74 | # Create the set of service files used in the tests. |
| MEDIUM | src/test/recovery/t/042_low_level_backup.pl | 51 | # Create a table that will be used to verify that recovery started at the |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 37 | # Create a subscriber node, wait for sync to complete |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 50 | # Create a subscription that enables failover. |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 137 | # Create a standby |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 377 | # Create a cascading standby |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 410 | # Create a failover slot and advance the restart_lsn to a position where a |
| MEDIUM | src/test/recovery/t/040_standby_failover_slots_sync.pl | 766 | # Create a logical 'test_decoding' replication slot with failover enabled |
| MEDIUM | src/test/recovery/t/033_replay_tsp_drops.pl | 121 | # Create a database in the tablespace and a table in default tablespace |
| MEDIUM | src/test/recovery/t/008_fsm_truncation.pl | 24 | # Create a primary node and its standby, initializing both with some data |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 47 | # Create the required logical slots on standby. |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 501 | # Create a table on the primary |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 505 | # Create a table (same structure) on the subscriber node |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 509 | # Create a publication on the primary |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 556 | # Create the injection_points extension |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 915 | # Create a slot on a database that would not be dropped. This slot should not |
| MEDIUM | src/test/recovery/t/035_standby_logical_decoding.pl | 954 | # Create a physical replication slot on the standby. |
| MEDIUM | src/test/recovery/t/046_checkpoint_logical_slot.pl | 36 | # Create the two slots we'll need. |
| MEDIUM | src/test/recovery/t/046_checkpoint_logical_slot.pl | 159 | # Create a standby |
| MEDIUM | src/test/recovery/t/014_unlogged_reinit.pl | 21 | # Create an unlogged table and an unlogged sequence to test that forks |
| MEDIUM | src/test/recovery/t/014_unlogged_reinit.pl | 43 | # Create an unlogged table in a tablespace. |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 39 | # Create a standby linking to it using the replication slot |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 434 | # Create a standby linking to the primary using the replication slot |
| MEDIUM | src/test/recovery/t/049_wait_for_lsn.pl | 101 | # Create a streaming standby with a 1 second delay from the backup |
| MEDIUM | src/test/recovery/t/049_wait_for_lsn.pl | 801 | # Create an archive-only standby: has_restoring but NOT has_streaming. |
| MEDIUM | src/test/recovery/t/017_shm.pl | 44 | # Create a shmem segment that will conflict with gnat's first choice |
| MEDIUM | src/test/recovery/t/047_checkpoint_physical_slot.pl | 37 | # Create a physical replication slot. |
| MEDIUM | src/test/recovery/t/051_effective_wal_level.pl | 45 | # Create a physical slot and verify that it doesn't affect effective_wal_level. |
| MEDIUM | src/test/recovery/t/051_effective_wal_level.pl | 54 | # Create a temporary logical slot but exit without releasing it explicitly. |
| MEDIUM | src/test/recovery/t/051_effective_wal_level.pl | 82 | # Create a new logical slot and check that effective_wal_level must be increased |
| MEDIUM | src/test/recovery/t/051_effective_wal_level.pl | 179 | # Creating a logical slot on standby should succeed as the primary enables |
| MEDIUM | src/test/perl/PostgreSQL/Test/Cluster.pm | 16 | # Create a data directory with initdb |
| MEDIUM | src/test/perl/PostgreSQL/Test/BackgroundPsql.pm | 16 | # Create a data directory with initdb |
| MEDIUM | src/test/subscription/t/017_stream_ddl.pl | 6 | # This file is mainly to test the DDL/DML interaction of the publisher side, |
| MEDIUM | src/test/subscription/t/037_except.pl | 100 | # Create a logical replication slot to help with later tests. |
| MEDIUM | src/test/subscription/t/033_run_as_table_owner.pl | 232 | # Create a new subscription "admin_sub" owned by regress_admin2. It's |
| MEDIUM | src/test/subscription/t/036_sequences.pl | 86 | # Create a new sequence 'regress_s2', and update existing sequence 'regress_s1' |
| MEDIUM | src/test/subscription/t/036_sequences.pl | 134 | # Create a new sequence 'regress_s3', and update the existing sequence |
| MEDIUM | src/test/subscription/t/036_sequences.pl | 197 | # Create a new sequence 'regress_s4' whose START value is not the same in the |
| MEDIUM | src/test/subscription/t/019_stream_subxact_ddl_abort.pl | 7 | # This file is mainly to test the DDL/DML interaction of the publisher side, |
| MEDIUM | src/test/subscription/t/029_on_error.pl | 107 | # Create a pub/sub to set up logical replication. This tests that the |
| MEDIUM | src/test/subscription/t/030_origin.pl | 46 | # Create the same table on node_B |
| MEDIUM | src/test/subscription/t/100_bugs.pl | 181 | # Create the tables in all nodes. |
| MEDIUM | src/test/subscription/t/100_bugs.pl | 186 | # Create a cascaded replication setup like: |
| MEDIUM | src/test/subscription/t/100_bugs.pl | 529 | # Create an AFTER INSERT trigger on the table that raises and subsequently |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 14 | # Create a publisher node |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 19 | # Create a subscriber node |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 24 | # Create a table on publisher |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 47 | # Create the subscription |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 171 | # Create the same table on node_B |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 448 | # Create the injection_points extension on the publisher node and attach to the |
| MEDIUM | src/test/subscription/t/035_conflicts.pl | 570 | # Create a physical slot |
| MEDIUM | src/test/subscription/t/024_add_drop_pub.pl | 49 | # Create a new table on publisher |
| MEDIUM | src/test/subscription/t/024_add_drop_pub.pl | 54 | # Create a new table on subscriber |
| 74 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/tools/gen_keywordlist.pl | 1 | #---------------------------------------------------------------------- |
| MEDIUM | src/tools/gen_keywordlist.pl | 29 | #---------------------------------------------------------------------- |
| MEDIUM | src/tools/PerfectHash.pm | 1 | #---------------------------------------------------------------------- |
| MEDIUM | src/tools/PerfectHash.pm | 28 | #---------------------------------------------------------------------- |
| MEDIUM | src/tools/msvc_gendef.pl | 33 | # ------------------------------------------------------------------------ |
| MEDIUM | src/tools/mark_pgdllimport.pl | 3 | #---------------------------------------------------------------------- |
| MEDIUM | src/tools/mark_pgdllimport.pl | 23 | #---------------------------------------------------------------------- |
| MEDIUM | src/test/recovery/t/044_invalidate_inactive_slots.pl | 40 | # ======================================================================== |
| MEDIUM | src/test/recovery/t/044_invalidate_inactive_slots.pl | 105 | # ============================================================================= |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 421 | # ============================================================================= |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 484 | # ============================================================================= |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 486 | # ============================================================================= |
| MEDIUM | src/test/recovery/t/019_replslot_limit.pl | 544 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/037_except.pl | 69 | # ============================================ |
| MEDIUM | src/test/subscription/t/037_except.pl | 71 | # ============================================ |
| MEDIUM | src/test/subscription/t/037_except.pl | 201 | # ============================================ |
| MEDIUM | src/test/subscription/t/037_except.pl | 203 | # ============================================ |
| MEDIUM | src/test/subscription/t/037_except.pl | 226 | # ============================================ |
| MEDIUM | src/test/subscription/t/037_except.pl | 228 | # ============================================ |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 23 | # ==================================================================== |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 77 | # ==================================================================== |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 79 | # ==================================================================== |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 179 | # ==================================================================== |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 181 | # ====================================================== |
| MEDIUM | src/test/subscription/t/028_row_filter.pl | 800 | # ====================================================== |
| MEDIUM | src/test/subscription/t/014_binary.pl | 43 | # ------------------------------------------------------ |
| MEDIUM | src/test/subscription/t/014_binary.pl | 45 | # ------------------------------------------------------ |
| MEDIUM | src/test/subscription/t/014_binary.pl | 84 | # ---------------------------------- |
| MEDIUM | src/test/subscription/t/014_binary.pl | 86 | # ---------------------------------- |
| MEDIUM | src/test/subscription/t/014_binary.pl | 135 | # ------------------------------------------------------------------------------ |
| MEDIUM | src/test/subscription/t/014_binary.pl | 137 | # ------------------------------------------------------------------------------ |
| MEDIUM | src/test/subscription/t/014_binary.pl | 180 | # --------------------------------------------------------------- |
| MEDIUM | src/test/subscription/t/014_binary.pl | 182 | # --------------------------------------------------------------- |
| MEDIUM | src/test/subscription/t/014_binary.pl | 243 | # ----------------------------------------------------- |
| MEDIUM | src/test/subscription/t/014_binary.pl | 245 | # ----------------------------------------------------- |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 24 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 90 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 92 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 178 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 180 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 264 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 266 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 345 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 347 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 408 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 410 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 479 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 481 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/032_subscribe_use_index.pl | 548 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/011_generated.pl | 104 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/011_generated.pl | 121 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/011_generated.pl | 125 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 129 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 220 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/011_generated.pl | 230 | # ============================================================================= |
| MEDIUM | src/test/subscription/t/011_generated.pl | 232 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 235 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 281 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 285 | # -------------------------------------------------- |
| MEDIUM | src/test/subscription/t/011_generated.pl | 331 | # ============================================================================= |
| 48 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/unaccent/generate_unaccent_rules.py | 117 | # Check if the base letter of this letter has marks. |
| LOW | contrib/sepgsql/t/001_sepgsql.pl | 228 | # Check if the truncate permission exists in the loaded policy, and if so, |
| LOW | src/test/recovery/t/041_checkpoint_at_promote.pl | 38 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/recovery/t/001_stream_rep.pl | 588 | # Check if the previous segment gets correctly recycled after the |
| LOW | src/test/recovery/t/040_standby_failover_slots_sync.pl | 248 | # Check if the synced slot is invalidated |
| LOW | src/test/recovery/t/040_standby_failover_slots_sync.pl | 889 | # Set two_phase to true and enable the subscription |
| LOW | src/test/recovery/t/044_invalidate_inactive_slots.pl | 58 | # Check if the 'injection_points' extension is available, as it may be |
| LOW | src/test/recovery/t/016_min_consistency.pl | 49 | # Set shared_buffers to a very low value to enforce discard and flush |
| LOW | src/test/recovery/t/035_standby_logical_decoding.pl | 125 | # Check if all the slots on standby are dropped. These include the 'activeslot' |
| LOW | src/test/recovery/t/035_standby_logical_decoding.pl | 303 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/recovery/t/035_standby_logical_decoding.pl | 630 | # Set hot_standby_feedback to on |
| LOW | src/test/recovery/t/050_redo_segment_missing.pl | 23 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/recovery/t/046_checkpoint_logical_slot.pl | 26 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/recovery/t/048_vacuum_horizon_floor.pl | 108 | # Set primary_conninfo to something invalid on the replica and reload the |
| LOW | src/test/recovery/t/047_checkpoint_physical_slot.pl | 27 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/recovery/t/047_checkpoint_physical_slot.pl | 124 | # Check if the required wal segment exists. |
| LOW | src/test/recovery/t/051_effective_wal_level.pl | 302 | # Set wal_level to 'replica' and restart the primary. Since one logical slot |
| LOW | src/test/perl/PostgreSQL/Test/Cluster.pm | 1709 | # Add node to list of nodes |
| LOW | src/test/perl/PostgreSQL/Test/Utils.pm | 162 | # Check if this environment is MSYS2. |
| LOW | src/test/subscription/t/023_twophase_stream.pl | 463 | # Set max_prepared_transactions to correct value to resume the replication |
| LOW | src/test/subscription/t/021_twophase.pl | 83 | # Set max_prepared_transactions to correct value to resume the replication |
| LOW | src/test/subscription/t/021_twophase.pl | 448 | # Set two_phase to "true" and failover to "true" before the COMMIT PREPARED. |
| LOW | src/test/subscription/t/035_conflicts.pl | 594 | # Set max_retention_duration to a minimal value to initiate retention stop. |
| LOW | src/test/subscription/t/035_conflicts.pl | 621 | # Set max_retention_duration to 0 |
| LOW | …t/modules/test_autovacuum/t/001_parallel_autovacuum.pl | 50 | # Check if the extension injection_points is available, as it may be |
| LOW | …/test/modules/xid_wraparound/t/001_emergency_vacuum.pl | 105 | # Check if these tables are vacuumed. |
| LOW | …/test/modules/xid_wraparound/t/001_emergency_vacuum.pl | 119 | # Check if vacuum failsafe was triggered for each table. |
| LOW | src/test/modules/test_misc/t/007_catcache_inval.pl | 24 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/modules/test_misc/t/006_signal_autovacuum.pl | 29 | # Check if the extension injection_points is available, as it may be |
| LOW | …t/modules/test_misc/t/010_index_concurrently_upsert.pl | 28 | # Check if the extension injection_points is available |
| LOW | src/test/modules/test_misc/t/003_check_guc.pl | 62 | # Check if this line matches a GUC parameter: |
| LOW | src/test/modules/test_misc/t/005_timeouts.pl | 28 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/modules/test_misc/t/011_lock_stats.pl | 81 | # Check if the extension injection_points is available |
| LOW | src/test/modules/worker_spi/t/002_worker_terminate.pl | 77 | # Check if the extension injection_points is available, as it may be |
| LOW | src/test/authentication/t/003_peer.pl | 82 | # Check if peer authentication is supported on this platform. |
| LOW | src/test/authentication/t/007_pre_auth.pl | 28 | # Check if the extension injection_points is available, as it may be |
| LOW | src/bin/pg_rewind/t/RewindTest.pm | 132 | # Set wal_keep_size to prevent WAL segment recycling after enforced |
| LOW | src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 395 | # Check if node S is still a standby |
| LOW | src/bin/pg_amcheck/t/004_verify_heapam.pl | 679 | # Set xmin to xmax of tuple at offset 30. |
| LOW | src/bin/pg_upgrade/t/005_char_signedness.pl | 42 | # Check if the value is successfully updated. |
| LOW | src/bin/pg_upgrade/t/005_char_signedness.pl | 88 | # Check if the default char signedness of the new cluster inherited |
| LOW | src/bin/pg_upgrade/t/002_pg_upgrade.pl | 584 | # Check if there are any logs coming from pg_upgrade, that would only be |
| LOW | src/interfaces/libpq/t/005_negotiate_encryption.pl | 152 | # Check if the extension injection_points is available, as it may be |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/postgres_fdw/deparse.c | 1041 | * expanded later, but don't forget to add deparse support below. |
| LOW | src/tools/version_stamp.pl | 103 | print "Don't forget to run autoconf $aconfver before committing.\n"; |
| MEDIUM | src/test/regress/regress.c | 898 | * enough for demonstration purposes. |
| LOW | src/test/recovery/t/006_logical_decoding.pl | 145 | # make sure you can't drop a slot while active |
| LOW | src/bin/pg_dump/pg_backup_archiver.c | 2164 | * a sign byte. If you change this, don't forget to change the file |
| LOW | src/include/mb/pg_wchar.h | 61 | * WARNING: If you add some encoding don't forget to update |
| MEDIUM | src/include/lib/ilist.h | 46 | * Here's a simple example demonstrating how this can be used. Let's assume |
| LOW | src/backend/access/transam/xlog.c | 5799 | * If you change them, don't forget to update the list. |
| LOW | src/backend/access/brin/brin_minmax_multi.c | 634 | /* don't forget to include the null terminator ;-) */ |
| LOW | src/backend/access/common/reloptions.c | 52 | * (vi) don't forget to document the option |
| LOW | src/backend/access/heap/heapam.c | 2185 | * If heaptup is a private copy, release it. Don't forget to copy t_self |
| LOW | src/backend/access/heap/heapam.c | 4144 | * If heaptup is a private copy, release it. Don't forget to copy t_self |
| LOW | src/backend/nodes/bitmapset.c | 1421 | * Note: don't forget to specify bitmap_match as the match function! |
| LOW | src/backend/catalog/system_views.sql | 10 | * executable either --- but by default they will be. So don't forget to |
| LOW | src/backend/utils/adt/expandedrecord.c | 1464 | * But don't forget to mark header as dummy. |
| LOW | src/backend/utils/adt/selfuncs.c | 1067 | /* Don't forget to account for nulls. */ |
| LOW | src/backend/utils/adt/acl.c | 820 | * you make a change here, don't forget to update the GRANT man page, |
| LOW | src/backend/utils/hash/dynahash.c | 1569 | /* don't forget to terminate the rebuilt hash chains... */ |
| LOW | src/backend/regex/regc_nfa.c | 2927 | /* Don't forget to free sclone's donemap when done with it */ |
| LOW | src/backend/storage/lmgr/lock.c | 2077 | /* don't forget to clear waitMask bit if appropriate */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | contrib/amcheck/t/005_pitr.pl | 35 | # VACUUM to delete the aforementioned leaf page. Force an XLogFlush() by |
| LOW | src/pl/tcl/sql/pltcl_setup.sql | 194 | # If not a Postgres error, just return the basic error message |
| LOW | src/tools/PerfectHash.pm | 76 | # It's not worth passing this around as a parameter; just use a global. |
| LOW | src/test/kerberos/t/001_auth.pl | 16 | # just add whatever other tests are needed to here. |
| MEDIUM | src/test/ssl/t/SSL/Server.pm | 74 | # mode and this way they will find a port to run on in a more robust way. |
| MEDIUM | src/test/recovery/t/053_standby_login_event_trigger.pl | 15 | # To keep the test robust the event trigger is set up in a dedicated |
| LOW | src/test/recovery/t/015_promotion_pages.pl | 55 | # Now just use a dummy table and run some operations to move minRecoveryPoint |
| MEDIUM | src/test/perl/PostgreSQL/Test/Cluster.pm | 1901 | # so callers can harness this port for the widest range of purposes. |
| LOW | src/test/perl/PostgreSQL/Test/Cluster.pm | 2253 | # because of a timeout and the caller requested to handle that, just return |
| LOW | src/test/perl/PostgreSQL/Test/Cluster.pm | 3413 | # Before release 12 walreceiver just set the application name to |
| MEDIUM | src/test/perl/PostgreSQL/Test/Cluster.pm | 3505 | # harness won't accept a skip; otherwise, it won't accept |
| LOW | src/test/modules/test_pg_dump/t/001_base.pl | 27 | # test_key indicates that a given run should simply use the same |
| LOW | src/bin/pg_dump/t/002_pg_dump.pl | 20 | # test_key indicates that a given run should simply use the same |
| LOW | src/backend/catalog/Catalog.pm | 332 | # parse. We can't just use a regex because of values in |
| LOW | src/backend/catalog/genbki.pl | 323 | # special SQL names for types etc; we just use the names in the source |
| LOW | src/interfaces/ecpg/preproc/parse.pl | 507 | # Not a nonterminal declaration, so just add it to $line. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/amcheck/verify_heapam.c | 1756 | * We go further, because we need to check if the toast datum is corrupt. |
| LOW | src/bin/pg_amcheck/t/004_verify_heapam.pl | 145 | # The purpose of this function is to write a tuple back to disk with some |
| LOW | src/bin/pg_dump/t/006_pg_dump_compress.pl | 530 | # if just one match, we need to check if it's real |
| LOW | src/bin/pg_dump/t/002_pg_dump.pl | 5232 | # if just one match, we need to check if it's real |
| LOW | src/backend/optimizer/util/clauses.c | 4740 | * Note that we need to check if the relation actually has any |
| LOW | src/backend/utils/mb/mbutils.c | 73 | * This variable stores the conversion function to convert from UTF-8 |
| LOW | src/backend/storage/ipc/shm_mq.c | 872 | * The purpose of this function is to make sure that the process |
| LOW | src/backend/executor/execMain.c | 156 | * If the transaction is read-only, we need to check if any writes are |
| LOW | src/backend/replication/slot.c | 2272 | * We need to check if the slot is invalidated here since |
| LOW | src/backend/replication/pgoutput/pgoutput.c | 2307 | * across all publications. So we need to check if the already |
| LOW | src/backend/partitioning/partdesc.c | 448 | * The purpose of this function is to ensure that we get the same |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/test/regress/sql/tsearch.sql | 559 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', |
| LOW | src/test/regress/sql/tsearch.sql | 564 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', |
| LOW | src/test/regress/sql/tsearch.sql | 640 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', |
| LOW | src/test/modules/oauth_validator/t/001_server.pl | 650 | # Allow "user@example.com" to log in under the test role. |
| LOW | …erfaces/ecpg/test/expected/preproc-pointer_to_struct.c | 163 | strcpy(custs1[0].name.arr, "John Doe"); |
| LOW | …erfaces/ecpg/test/expected/preproc-pointer_to_struct.c | 167 | strcpy(acme.customers[1].name.arr, "Jane Doe"); |
| LOW | …nterfaces/ecpg/test/expected/preproc-array_of_struct.c | 158 | strcpy(custs1[0].name.arr, "John Doe"); |
| LOW | …nterfaces/ecpg/test/expected/preproc-array_of_struct.c | 162 | strcpy(acme.customers[1].name.arr, "Jane Doe"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/tools/ci/ci_macports_packages.sh | 62 | # If setting all the required packages as requested fails, we need |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/pl/plpython/sql/plpython_import.sql | 27 | except Exception as ex: |
| LOW | src/pl/plpython/sql/plpython_ereport.sql | 124 | except Exception as e: |
| LOW | src/pl/plpython/sql/plpython_ereport.sql | 132 | except Exception as e: |
| LOW | src/pl/plpython/sql/plpython_spi.sql | 34 | except Exception as ex: |
| LOW | src/pl/plpython/sql/plpython_spi.sql | 48 | except Exception as ex: |
| LOW | src/pl/plpython/sql/plpython_spi.sql | 63 | except Exception as ex: |
| LOW | src/pl/plpython/sql/plpython_transaction.sql | 170 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/unaccent/generate_unaccent_rules.py | 160 | |
| LOW | contrib/unaccent/generate_unaccent_rules.py | 228 | |
| LOW | src/tools/generate_editorconfig.py | 22 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/unaccent/generate_unaccent_rules.py | 160 | def parse_cldr_latin_ascii_transliterator(latinAsciiFilePath): |
| LOW | contrib/pgcrypto/scripts/pgp_session_data.py | 287 | def build_literal_data_packet(data: bytes) -> bytes: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/backend/port/aix/mkldexport.sh | 8 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/pgcrypto/scripts/pgp_session_data.py | 25 |