summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorTom Lane2003-10-04 18:22:59 +0000
committerTom Lane2003-10-04 18:22:59 +0000
commitb833c3d4a468975bfea1abc11feee1ca47de84b1 (patch)
tree176ef9da12832de572cb8fb14f13c6177c42eb39 /src/include/utils
parentec1fbbb5466e61b5f89b41738d858ebdaa312929 (diff)
Fix pg_get_constraintdef() to ensure CHECK constraints are always shown
with required outer parentheses. Breakage seems to be leftover from domain-constraint patches. This could be smarter about suppressing extra parens, but at this stage of the release cycle I want certainty not cuteness.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/lsyscache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h
index 927190e35d9..d6aaf2c1c25 100644
--- a/src/include/utils/lsyscache.h
+++ b/src/include/utils/lsyscache.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: lsyscache.h,v 1.81 2003/08/17 19:58:06 tgl Exp $
+ * $Id: lsyscache.h,v 1.82 2003/10/04 18:22:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -83,7 +83,6 @@ extern char get_typtype(Oid typid);
extern Oid get_typ_typrelid(Oid typid);
extern Oid get_element_type(Oid typid);
extern Oid get_array_type(Oid typid);
-extern char *get_typname(Oid relid);
extern void getTypeInputInfo(Oid type, Oid *typInput, Oid *typElem);
extern void getTypeOutputInfo(Oid type, Oid *typOutput, Oid *typElem,
bool *typIsVarlena);