mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 00:08:23 -05:00 
			
		
		
		
	pg_amcheck: Add missing translation markers
This commit is contained in:
		
							parent
							
								
									f4f4a649d8
								
							
						
					
					
						commit
						789d8060f0
					
				@ -6,5 +6,7 @@ GETTEXT_FILES    = $(FRONTEND_COMMON_GETTEXT_FILES) \
 | 
			
		||||
                   ../../fe_utils/cancel.c \
 | 
			
		||||
                   ../../fe_utils/connect_utils.c \
 | 
			
		||||
                   ../../fe_utils/query_utils.c
 | 
			
		||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
 | 
			
		||||
GETTEXT_FLAGS    = $(FRONTEND_COMMON_GETTEXT_FLAGS)
 | 
			
		||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
 | 
			
		||||
                   log_no_match
 | 
			
		||||
GETTEXT_FLAGS    = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
 | 
			
		||||
                   log_no_match:1:c-format
 | 
			
		||||
 | 
			
		||||
@ -1026,7 +1026,7 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
 | 
			
		||||
				msg = PQgetvalue(res, i, 3);
 | 
			
		||||
 | 
			
		||||
			if (!PQgetisnull(res, i, 2))
 | 
			
		||||
				printf("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s, attribute %s:\n    %s\n",
 | 
			
		||||
				printf(_("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s, attribute %s:\n    %s\n"),
 | 
			
		||||
					   rel->datinfo->datname, rel->nspname, rel->relname,
 | 
			
		||||
					   PQgetvalue(res, i, 0),	/* blkno */
 | 
			
		||||
					   PQgetvalue(res, i, 1),	/* offnum */
 | 
			
		||||
@ -1034,20 +1034,20 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
 | 
			
		||||
					   msg);
 | 
			
		||||
 | 
			
		||||
			else if (!PQgetisnull(res, i, 1))
 | 
			
		||||
				printf("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s:\n    %s\n",
 | 
			
		||||
				printf(_("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s:\n    %s\n"),
 | 
			
		||||
					   rel->datinfo->datname, rel->nspname, rel->relname,
 | 
			
		||||
					   PQgetvalue(res, i, 0),	/* blkno */
 | 
			
		||||
					   PQgetvalue(res, i, 1),	/* offnum */
 | 
			
		||||
					   msg);
 | 
			
		||||
 | 
			
		||||
			else if (!PQgetisnull(res, i, 0))
 | 
			
		||||
				printf("heap table \"%s\".\"%s\".\"%s\", block %s:\n    %s\n",
 | 
			
		||||
				printf(_("heap table \"%s\".\"%s\".\"%s\", block %s:\n    %s\n"),
 | 
			
		||||
					   rel->datinfo->datname, rel->nspname, rel->relname,
 | 
			
		||||
					   PQgetvalue(res, i, 0),	/* blkno */
 | 
			
		||||
					   msg);
 | 
			
		||||
 | 
			
		||||
			else
 | 
			
		||||
				printf("heap table \"%s\".\"%s\".\"%s\":\n    %s\n",
 | 
			
		||||
				printf(_("heap table \"%s\".\"%s\".\"%s\":\n    %s\n"),
 | 
			
		||||
					   rel->datinfo->datname, rel->nspname, rel->relname, msg);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
@ -1056,10 +1056,10 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
 | 
			
		||||
		char	   *msg = indent_lines(PQerrorMessage(conn));
 | 
			
		||||
 | 
			
		||||
		all_checks_pass = false;
 | 
			
		||||
		printf("heap table \"%s\".\"%s\".\"%s\":\n%s",
 | 
			
		||||
		printf(_("heap table \"%s\".\"%s\".\"%s\":\n%s"),
 | 
			
		||||
			   rel->datinfo->datname, rel->nspname, rel->relname, msg);
 | 
			
		||||
		if (opts.verbose)
 | 
			
		||||
			printf("query was: %s\n", rel->sql);
 | 
			
		||||
			printf(_("query was: %s\n"), rel->sql);
 | 
			
		||||
		FREE_AND_SET_NULL(msg);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -1122,10 +1122,10 @@ verify_btree_slot_handler(PGresult *res, PGconn *conn, void *context)
 | 
			
		||||
		char	   *msg = indent_lines(PQerrorMessage(conn));
 | 
			
		||||
 | 
			
		||||
		all_checks_pass = false;
 | 
			
		||||
		printf("btree index \"%s\".\"%s\".\"%s\":\n%s",
 | 
			
		||||
		printf(_("btree index \"%s\".\"%s\".\"%s\":\n%s"),
 | 
			
		||||
			   rel->datinfo->datname, rel->nspname, rel->relname, msg);
 | 
			
		||||
		if (opts.verbose)
 | 
			
		||||
			printf("query was: %s\n", rel->sql);
 | 
			
		||||
			printf(_("query was: %s\n"), rel->sql);
 | 
			
		||||
		FREE_AND_SET_NULL(msg);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user