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

Re: CREATE SCHEMA IF NOT EXISTS

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: fabriziomello <fabriziomello(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David E(dot) Wheeler <david(at)justatheory(dot)com>, Dickson S(dot) Guedes <listas(at)guedesoft(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE SCHEMA IF NOT EXISTS
Date: 2012-10-03 16:07:38
Message-ID: 1349280385-sup-4902@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Fabrízio de Royes Mello's message of mié oct 03 10:11:03 -0300 2012:

> Maybe something like this?
> 
>    ereport(ERROR,
>            (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
>             errmsg("IF NOT EXISTS cannot be used with schema elements"),
>             parser_errposition(@9)));

Seems reasonable, but where?  Please submit a complete patch.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2012-10-03 16:15:35
Subject: Re: do we EXEC_BACKEND on Mac OS X?
Previous:From: Alvaro HerreraDate: 2012-10-03 16:05:54
Subject: do we EXEC_BACKEND on Mac OS X?

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