test=# create table kunden (nr int primary key, name text);
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "kunden_pkey" for table "kunden"
CREATE TABLE
Time: 31,994 ms
test=*# create table auftraege_falsch (ab_nr int primary key, kunde int );
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "auftraege_falsch_pkey" for table "auftraege_falsch"
CREATE TABLE
Time: 24,383 ms
test=*# create table auftraege_richtig (ab_nr int primary key, kunde int references kunden);
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "auftraege_richtig_pkey" for table "auftraege_richtig"
CREATE TABLE
Time: 28,668 ms
test=*#