From 0f257624d1d81c573701b356a8fc6ac23b9b5f73 Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Tue, 30 Oct 2018 17:45:43 +0000
Subject: [PATCH] removed primary-key attrib from ID in reloc table, as that's
 not how it was being used.  probaby should fix it to actually be primary key,
 but a job for antoher day.  see issue 18 in irdb_transforms

Former-commit-id: 02cbee330e94238216a95a46e490c4fc80a52cae
---
 tools/db/pdb.createprogram.tbl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/db/pdb.createprogram.tbl b/tools/db/pdb.createprogram.tbl
index d9a88db18..1918b3e1d 100644
--- a/tools/db/pdb.createprogram.tbl
+++ b/tools/db/pdb.createprogram.tbl
@@ -80,7 +80,7 @@ CREATE TABLE #ITN#
 
 CREATE TABLE #RTN#
 (
-	reloc_id	      	SERIAL PRIMARY KEY, 	-- id in the table
+	reloc_id	      	integer, 	-- id in the table
 	reloc_offset 	  	integer DEFAULT 0,	-- how far into the object/instruction is the relocation
 	reloc_type	    	text DEFAULT '',	-- what type is the relocation.
 	instruction_id  	integer DEFAULT -1,	-- the object/instruction for this reloc, field name is anachronistic. 
-- 
GitLab