Re: simplifying foreign key/RI checks - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: simplifying foreign key/RI checks
Date
Msg-id CADkLM=cFjr1CWp_6u-4wwMd_XN1AEtEASijZRfKxVFj3F4AGQg@mail.gmail.com
Whole thread Raw
In response to Re: simplifying foreign key/RI checks  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
I decided not to deviate from pk_ terminology so that the new code
doesn't look too different from the other code in the file.  Although,
I guess we can at least call the main function
ri_ReferencedKeyExists() instead of ri_PrimaryKeyExists(), so I've
changed that.

I agree with leaving the existing terminology where it is for this patch. Changing the function name is probably enough to alert the reader that the things that are called pks may not be precisely that.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Printing backtrace of postgres processes
Next
From: James Hilliard
Date:
Subject: Re: [PATCH v2 1/1] Fix detection of pwritev support for OSX.