Skip site navigation (1) Skip section navigation (2)

Re: reference constraint creation problem

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: reference constraint creation problem
Date: 2006-06-15 14:24:12
Message-ID: 20060615142412.GA4694@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  15.06.2006, um 23:18:58 +0900 mailte kmh496 folgendes:
>    Column   |         Type         | Modifiers
> ------------+----------------------+-----------
>  goodChoice | character varying(3) | not null
       ^
       |
       'C'


> REFERENCES qp_qualchoice_goodChoice_constraint_table (goodChoice)
                                                        ^        ^
                                                        |        |

my guess: you need there "


> 
> psql:pg_sql.sql:44: ERROR:  column "goodchoice" referenced in foreign
                                          ^
                                          |
                                          'c'


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: Frances CollierDate: 2006-06-15 21:39:04
Subject: windows update screwed up PostgreSQL
Previous:From: kmh496Date: 2006-06-15 14:18:58
Subject: reference constraint creation problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group