Re: error with functions

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: shyamperi(at)davlin(dot)co(dot)in
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error with functions
Date: 2003-09-22 05:54:30
Message-ID: 20030921225326.B92348@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Mon, 22 Sep 2003 shyamperi(at)davlin(dot)co(dot)in wrote:

> Command: psql test -c "> CREATE FUNCTION add_one (integer) RETURNS
> INTEGER AS ' BEGIN REURN $1 + 1; END; ' LANGUAGE
> 'plpgsql';"

You do realize that the shell is going to interpret that string in
double quotes right?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bob Wheldon 2003-09-22 08:19:21 unsubscribe
Previous Message shyamperi 2003-09-22 05:42:02 Re: error with functions