DROP FUNCTION IF EXISTS

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: DROP FUNCTION IF EXISTS
Date: 2006-09-25 12:30:49
Message-ID: 4517CBF9.3060300@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Linux:

$ echo 'DROP FUNCTION if exists foo(int);' | psql 1c
Timing is on.
SET
Time: 197.941 ms
NOTICE: function foo(░) does not exist ... skipping
ERROR: invalid byte sequence for encoding "UTF8": 0x90
HINT: This error can also happen if the byte sequence does not match the
encoding expected by the server, which is controlled by "client_encoding".
ERROR: invalid byte sequence for encoding "UTF8": 0x90
HINT: This error can also happen if the byte sequence does not match the
encoding expected by the server, which is controlled by "client_encoding".

FreeBSD:
% echo 'DROP FUNCTION if exists foo(int);' | psql wow
SET
NOTICE: function foo(%

Looks like uninitialized pointer...

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-09-25 12:39:58 Re: DROP FUNCTION IF EXISTS
Previous Message Markus Schaber 2006-09-25 12:30:35 Re: DELETE RETURNING