diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-07-18 23:11:32 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-07-18 23:11:32 +0000 |
commit | 97377048b460823a300b1d414203c5f09c8efc1b (patch) | |
tree | 7c567e9728b214a10604afa1aa923d02a683156e /src/backend/tcop/postgres.c | |
parent | a345ac8842089cbca1678d5b28773a827937693f (diff) | |
download | postgresql-97377048b460823a300b1d414203c5f09c8efc1b.tar.gz postgresql-97377048b460823a300b1d414203c5f09c8efc1b.zip |
pg_cast table, and standards-compliant CREATE/DROP CAST commands, plus
extension to create binary compatible casts. Includes dependency tracking
as well.
pg_proc.proimplicit is now defunct, but will be removed in a separate
commit.
pg_dump provides a migration path from the previous scheme to declare
casts. Dumping binary compatible casts is currently impossible, though.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 862faf34cae..d9137368335 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.271 2002/07/18 16:47:25 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.272 2002/07/18 23:11:28 petere Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1693,7 +1693,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.271 $ $Date: 2002/07/18 16:47:25 $\n"); + puts("$Revision: 1.272 $ $Date: 2002/07/18 23:11:28 $\n"); } /* @@ -2444,6 +2444,14 @@ CreateCommandTag(Node *parsetree) tag = "CREATE CONVERSION"; break; + case T_CreateCastStmt: + tag = "CREATE CAST"; + break; + + case T_DropCastStmt: + tag = "DROP CAST"; + break; + default: elog(LOG, "CreateCommandTag: unknown parse node type %d", nodeTag(parsetree)); |