Menu

[r8396]: / trunk / database / create_postgresql_bugreport.sql  Maximize  Restore  History

Download this file

183 lines (152 with data), 7.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/*==============================================================*/
/* Database name: PostgreSql */
/* DBMS name: PostgreSQL 7 */
/* Created on: 04.02.2003 19:59:06 */
/*==============================================================*/
--SET CLIENT_ENCODING TO WIN1251 -- should not be necessary anymore - everything should be ASCII now;
/*==============================================================*/
/* Tables for Bug#739514 */
/*==============================================================*/
CREATE TABLE test739514 (
id INT4 NOT NULL,
fld VARCHAR(35),
PRIMARY KEY (id)
);
INSERT INTO test739514 VALUES (1, E'\u0410\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430'); /* the second value is Abrakadabra in kyryllic letters, unicode encoded */
/*==============================================================*/
/* Tables for Bug#739519 */
/*==============================================================*/
CREATE TABLE test739519 (
id INT4 NOT NULL,
fld VARCHAR(35),
fld1 VARCHAR(35),
PRIMARY KEY (id)
);
/*==============================================================*/
/* Tables for Bug#766053 */
/*==============================================================*/
CREATE TABLE test766053a (
id INT8 NOT NULL,
fld VARCHAR(50)
);
INSERT INTO test766053a VALUES (93521, E'\u0410\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430'); /* the second value is Abrakadabra in kyryllic letters */
INSERT INTO test766053a VALUES (93522, 'Open this door');
CREATE TABLE test766053b (
id INT8 NOT NULL,
fld VARCHAR(50)
);
INSERT INTO test766053b VALUES (93521, E'\u0410\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430'); /* the second value is Abrakadabra in kyryllic letters */
INSERT INTO test766053b VALUES (93522, 'Open this door');
/*==============================================================*/
/* Tables for Bug#816846 */
/*==============================================================*/
CREATE TABLE test816846 (
fld1 TEXT,
fld2 TEXT
);
INSERT INTO test816846 VALUES ('a', 'b');
INSERT INTO test816846 VALUES ('c', 'd');
/*==============================================================*/
/* Tables for Bug#831559 */
/*==============================================================*/
create table "insert" (
"user" varchar(100),
"number" integer
);
/*==============================================================*/
/* Tables for Bug#894367 */
/*==============================================================*/
CREATE TABLE test894367a (
f1 VARCHAR(20) PRIMARY KEY,
f2 BOOLEAN DEFAULT FALSE,
f3 BOOLEAN DEFAULT FALSE,
f4 VARCHAR(20)
) WITHOUT OIDS;
CREATE TABLE test894367b (
CONSTRAINT fkd65f1 FOREIGN KEY (f1) REFERENCES test894367a (f1)
ON UPDATE CASCADE ON DELETE CASCADE,
PRIMARY KEY (f1,f2),
f1 VARCHAR(20),
f2 INTEGER,
f3 VARCHAR(20),
f4 VARCHAR(20)
) WITHOUT OIDS;
/*==============================================================*/
/* Tables for Mantis-Bug#0000240 */
/*==============================================================*/
CREATE TABLE ntax_bejovo_konyvelesi_tipusok
(
kod serial NOT NULL,
nev character varying(100) NOT NULL,
tartozik character varying(30),
kovetel character varying(30),
CONSTRAINT ntax_bejovo_konyvelesi_tipusok_pkey PRIMARY KEY (kod)
);
/*==============================================================*/
/* Tables for Mantis-Bug#0000229 */
/*==============================================================*/
CREATE TABLE Mantis229
(
TEXTFIELD VARCHAR
);
INSERT INTO Mantis229 VALUES ('Mantis229');
/*==============================================================*/
/* Tables for Ticket#51 */
/*==============================================================*/
CREATE TABLE Ticket51_A
(
"ID" integer NOT NULL,
order_id integer,
CONSTRAINT table1_pkey PRIMARY KEY ("ID")
);
CREATE TABLE Ticket51_B
(
"ID" oid NOT NULL,
t1_id oid,
"Name" character varying(80),
CONSTRAINT table2_pkey PRIMARY KEY ("ID")
);
INSERT INTO Ticket51_A values(1,2);
INSERT INTO Ticket51_A values(2,3);
INSERT INTO Ticket51_B VALUES (1,1,'MyName');
create table sf354 (
id integer not null,
timestamp_none timestamp,
timestamp0 timestamp(0),
timestamp1 timestamp(1),
timestamp2 timestamp(2),
timestamp3 timestamp(3),
timestamp4 timestamp(4),
timestamp5 timestamp(5),
timestamp6 timestamp(6)
);
insert into sf354 Values
(0, '2012-12-12 12:12:12', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(1, '2012-12-12 12:12:12.1', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(2, '2012-12-12 12:12:12.22', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(3, '2012-12-12 12:12:12.333', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(4, '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(5, '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666'),
(6, '2012-12-12 12:12:12.666666', '2012-12-12 12:12:12', '2012-12-12 12:12:12.1', '2012-12-12 12:12:12.22', '2012-12-12 12:12:12.333', '2012-12-12 12:12:12.4444', '2012-12-12 12:12:12.55555', '2012-12-12 12:12:12.666666');
create table TableSFTicket331(
id integer not null,
val1 numeric(15,4),
val2 numeric(5,2)
);
insert into TableSFTicket331(id,val1, val2) values (1,0.5214, 52.14);
insert into TableSFTicket331(id,val1, val2) values (2,0.8358, 83.58);
insert into TableSFTicket331(id,val1, val2) values (3,900, 0.08);
insert into TableSFTicket331(id,val1, val2) values (4,9000, 0.23);
create table TableTestMichlsBCDs(
id integer not null,
val1 numeric(15,6));
insert into TableTestMichlsBCDs(id,val1) values (2,0.14);
insert into TableTestMichlsBCDs(id,val1) values (3,0.014);
insert into TableTestMichlsBCDs(id,val1) values (4,0.0014);
insert into TableTestMichlsBCDs(id,val1) values (5,0.00014);
insert into TableTestMichlsBCDs(id,val1) values (6,0.000014);
create table PgTruncScale (
id integer not null,
price numeric(18,3),
constraint pk_PgTruncScale primary key (id)
)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.