Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > CONSTROID sysca...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9308 of 9813
Post > Topic >>

CONSTROID syscache vs relcache flushes

by tgl@[EMAIL PROTECTED] (Tom Lane) May 6, 2008 at 09:24 PM

While looking at the inherited-constraints patch I realized that the
CONSTROID syscache definition fails to list conrelid as a relation OID
column.  What this means is that a relcache flush on a given relation
will fail to flush CONSTROID syscache entries for constraints belonging
to that rel.

Now, since there's no mechanism for updating an existing pg_constraint
entry (much less one that depends on a relcache flush signal to get the
update propagated), I can't actually see that there's any visible bug
here.  The regular per-catcache-entry flush mechanism will serve to get
rid of entries that actually need to be gotten rid of, such as ones
that are deleted.

So, this should be changed going forward, but does anyone see a need
to back-patch it?

			regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 1 Posts in Topic:
CONSTROID syscache vs relcache flushes
tgl@[EMAIL PROTECTED] (T  2008-05-06 21:24:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 13:49:09 CDT 2008.