Skip site navigation (1) Skip section navigation (2)

pgsql: Add some sanity checks to CREATE CAST ...

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some sanity checks to CREATE CAST ...
Date: 2009-03-04 11:53:53
Message-ID: 20090304115353.E7F7F755AA5@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow
composite, enum and array types, as those are surely not binary-compatible
with anything else because of the embedded OIDs.

Inspired by bug report by Oleg Serov.

Modified Files:
--------------
    pgsql/src/backend/commands:
        functioncmds.c (r1.108 -> r1.109)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/functioncmds.c?r1=1.108&r2=1.109)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2009-03-04 11:57:00
Subject: pgsql: Provide some proper minimal documentation for the pg_dump(all)
Previous:From: Peter EisentrautDate: 2009-03-04 10:55:00
Subject: pgsql: Add new SQL:2008 error codes for invalid LIMIT and OFFSET values.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group