summaryrefslogtreecommitdiff
path: root/contrib/spi
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-03-23 04:49:58 +0000
committerBruce Momjian <bruce@momjian.us>2001-03-23 04:49:58 +0000
commit7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe (patch)
tree21c9d56c3701e984573ecc3ff40e72c0f63d5baf /contrib/spi
parent4e911c847ce906094df6595700571b714d3bb537 (diff)
downloadpostgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.tar.gz
Fix comments that were mis-wrapped, for Tom Lane.
Diffstat (limited to 'contrib/spi')
-rw-r--r--contrib/spi/refint.c26
1 files changed, 18 insertions, 8 deletions
diff --git a/contrib/spi/refint.c b/contrib/spi/refint.c
index ea8851816f..dcc9f54daf 100644
--- a/contrib/spi/refint.c
+++ b/contrib/spi/refint.c
@@ -399,19 +399,29 @@ check_foreign_key(PG_FUNCTION_ARGS)
{
relname = args2[0];
- /*
- * For 'R'estrict action we construct SELECT query - SELECT 1
- * FROM _referencing_relation_ WHERE Fkey1 = $1 [AND Fkey2 =
- * $2 [...]] - to check is tuple referenced or not.
+ /*---------
+ * For 'R'estrict action we construct SELECT query:
+ *
+ * SELECT 1
+ * FROM _referencing_relation_
+ * WHERE Fkey1 = $1 [AND Fkey2 = $2 [...]]
+ *
+ * to check is tuple referenced or not.
+ *---------
*/
if (action == 'r')
sprintf(sql, "select 1 from %s where ", relname);
- /*
- * For 'C'ascade action we construct DELETE query - DELETE
- * FROM _referencing_relation_ WHERE Fkey1 = $1 [AND Fkey2 =
- * $2 [...]] - to delete all referencing tuples.
+ /*---------
+ * For 'C'ascade action we construct DELETE query
+ *
+ * DELETE
+ * FROM _referencing_relation_
+ * WHERE Fkey1 = $1 [AND Fkey2 = $2 [...]]
+ *
+ * to delete all referencing tuples.
+ *---------
*/
/*