pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Wrong # of arguments in call to RI_Fkey_key equals _upd()
3+ messages / 3 participants
[nested] [flat]

* Wrong # of arguments in call to RI_Fkey_key equals _upd()
@ 2001-08-06 10:12 Subra Radhakrishnan <subra100@yahoo.com>
  2001-08-06 15:14 ` Re: Wrong # of arguments in call to RI_Fkey_key equals _upd() Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Subra Radhakrishnan @ 2001-08-06 10:12 UTC (permalink / raw)
  To: pgsql-admin

Hi All,

This is what we did before we got the error:

1. Took a backup of existing dB (hospdb) using pg_dump
(full backup including schema and data)
 
2. Modified the schema to change the field size from
200 to 600 (varchar data type)

3. Dropped the dB (hospdb)

4. Recreated the dB (hospdb)

5. Used psql to reload the schema and data 

6. Now when I am using the dB and trying to update a
table, I get the following error message 'Wrong # of
arguments in call to RI_Fkey_key equals _upd()'

Please help. 

Thanks

R. Subramaniam

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Wrong # of arguments in call to RI_Fkey_key equals _upd()
  2001-08-06 10:12 Wrong # of arguments in call to RI_Fkey_key equals _upd() Subra Radhakrishnan <subra100@yahoo.com>
@ 2001-08-06 15:14 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2001-08-07 14:23   ` Re: Wrong # of arguments in call to RI_Fkey_key equals _upd() priya subramaniam <suprnike@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Stephan Szabo @ 2001-08-06 15:14 UTC (permalink / raw)
  To: Subra Radhakrishnan <subra100@yahoo.com>; +Cc: pgsql-admin

On Mon, 6 Aug 2001, Subra Radhakrishnan wrote:

> Hi All,
> 
> This is what we did before we got the error:
> 
> 1. Took a backup of existing dB (hospdb) using pg_dump
> (full backup including schema and data)
>  
> 2. Modified the schema to change the field size from
> 200 to 600 (varchar data type)
> 
> 3. Dropped the dB (hospdb)
> 
> 4. Recreated the dB (hospdb)
> 
> 5. Used psql to reload the schema and data 
> 
> 6. Now when I am using the dB and trying to update a
> table, I get the following error message 'Wrong # of
> arguments in call to RI_Fkey_key equals _upd()'

What do the schema and create constraint trigger
statements look like from the dump, and what is in
pg_trigger?





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Wrong # of arguments in call to RI_Fkey_key equals _upd()
  2001-08-06 10:12 Wrong # of arguments in call to RI_Fkey_key equals _upd() Subra Radhakrishnan <subra100@yahoo.com>
  2001-08-06 15:14 ` Re: Wrong # of arguments in call to RI_Fkey_key equals _upd() Stephan Szabo <sszabo@megazone23.bigpanda.com>
@ 2001-08-07 14:23   ` priya subramaniam <suprnike@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: priya subramaniam @ 2001-08-07 14:23 UTC (permalink / raw)
  To: sszabo@megazone23.bigpanda.com; +Cc: pgsql-admin

Hi,

1. Initially we thought updates were not working.
However, we found out that updates to tables without
any foreign key constraints were working fine. 

2. We created another dB and tables with foreign key
constraints. Once again, we found that updates to
tables with foreign key constraints were failing. 

3. We had to take a quick decision. So, we just
reloaded 'postgres' and tried our luck. Guess what, it
worked! 

Again we really don't know what is the cause.

Thanks Mr. Stephan Szabo

R. Subramaniam

--- Stephan Szabo <sszabo@megazone23.bigpanda.com>
wrote:
> On Mon, 6 Aug 2001, Subra Radhakrishnan wrote:
> 
> > Hi All,
> > 
> > This is what we did before we got the error:
> > 
> > 1. Took a backup of existing dB (hospdb) using
> pg_dump
> > (full backup including schema and data)
> >  
> > 2. Modified the schema to change the field size
> from
> > 200 to 600 (varchar data type)
> > 
> > 3. Dropped the dB (hospdb)
> > 
> > 4. Recreated the dB (hospdb)
> > 
> > 5. Used psql to reload the schema and data 
> > 
> > 6. Now when I am using the dB and trying to update
> a
> > table, I get the following error message 'Wrong #
> of
> > arguments in call to RI_Fkey_key equals _upd()'
> 
> What do the schema and create constraint trigger
> statements look like from the dump, and what is in
> pg_trigger?
> 
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-08-07 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-08-06 10:12 Wrong # of arguments in call to RI_Fkey_key equals _upd() Subra Radhakrishnan <subra100@yahoo.com>
2001-08-06 15:14 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2001-08-07 14:23   ` priya subramaniam <suprnike@yahoo.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox