Re: Function in PostgreSQL

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Sachin Srivastava *EXTERN*'" <ssr(dot)teleatlas(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Function in PostgreSQL
Date: 2015-12-09 09:28:41
Message-ID: A737B7A37273E048B164557ADEF4A58B5100522F@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sachin Srivastava wrote:
> Do you know if it is possible to create a function in postgres that has errors in the syntax of the
> creation sql? It would help our conversion process if we could get all of our various functions
> present in postgres even if they aren’t in 100% working shape. Is there any way to ignore errors on
> object creation?

I am not 100% sure what you mean, but does

SET check_function_bodies=off;

fix your problem?

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Smith 2015-12-09 11:20:51 Postgresql INET select and default route ?
Previous Message Sachin Srivastava 2015-12-09 08:49:20 Function in PostgreSQL