diff options
| author | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
| commit | 7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe (patch) | |
| tree | 21c9d56c3701e984573ecc3ff40e72c0f63d5baf /contrib/spi | |
| parent | 4e911c847ce906094df6595700571b714d3bb537 (diff) | |
| download | postgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.tar.gz | |
Fix comments that were mis-wrapped, for Tom Lane.
Diffstat (limited to 'contrib/spi')
| -rw-r--r-- | contrib/spi/refint.c | 26 |
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. + *--------- */ /* |
