Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ei5II-0007aJ-1r for pgsql-general@arkaria.postgresql.org; Sat, 03 Feb 2018 21:24:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei5IG-0006WN-Nv for pgsql-general@arkaria.postgresql.org; Sat, 03 Feb 2018 21:24:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ei5IG-0006W2-Dv for pgsql-general@lists.postgresql.org; Sat, 03 Feb 2018 21:24:16 +0000 Received: from mail-yw0-x242.google.com ([2607:f8b0:4002:c05::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ei5ID-0000j0-Ed for pgsql-general@lists.postgresql.org; Sat, 03 Feb 2018 21:24:15 +0000 Received: by mail-yw0-x242.google.com with SMTP id j128so15851811ywg.7 for ; Sat, 03 Feb 2018 13:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=loJQsts3uMbpRRULSQpEyenmysGXynprhNwpk+0Vaos=; b=qLD5PnKj40Uj2oIi3A83zLHnb+jJvud5qxEiDm8H/7DhEvkBLjS6dlVcQT4p3f/YWu yRxgIRdZR0vC+3KIlwZlK6JTQwyb4Uy7BY9K6VH+mW5yn9sFvMtJFInb8ZHy0rjDYN6H R4uwgS32Mv320cPLm9PIvreBW75TlOurwaQwsgjCwkffJ4r7taVkTVzKaFAp8o0yVeKJ DA5eUWwsdNAknrnPM3J02IHOkNlo6Qi4V9wYH6abmOV42jOdWvp4uTcxvvfnqlZJhY8h v7jlRXyHnzr8Yv07t+5PqrEV1QwEY3MZemlmcFrHhpt4suIV1PhvkZcCEKCzCrN9Eobt JoYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=loJQsts3uMbpRRULSQpEyenmysGXynprhNwpk+0Vaos=; b=jcd6MeBLiHg6in7+yJOpgn4dDM3ZrfF7ASaezopIZEFiB8q04SjrxoyQSIRkSXjFnu +ew8toJXLQkdiozrcz7dDNdUan4pH7Ck7ASVvLwiJqqdZlPhpX7t2KRPYoZf/pEd2LT9 4yKoHBRJTK4CgemR9/K1YB6ax2eovF3OyOeTxmNLlDRi1xGB2fkRVvq4LMD3rIwXv3hw JyGbeNIPsVFwUFaC3QPFkek21Jjv37t0e1mpo6uH1PGpANT5FBv+N9JC6GxkvkjPg23k rClwWLz5TWsaclFD3DVjrEBQGWMzcCFBmgxk1yKJGEuSev4PEVwJVk1noTU51G3yRa2M hr1A== X-Gm-Message-State: AKwxytfi7lIz8nbInKUgCor1NJkprgrbChRJFEdapWh5XGzd1/XlUqI7 TfLjIGOt1Ma+ssniJ91eszZhQQ== X-Google-Smtp-Source: AH8x225Q2WHYbACJyZfvfVxIfWrg6LNwMrBEh5NbpC/x8tGCAXzq61dQJM46oAjm/o9bh72bB23Cgg== X-Received: by 10.37.21.3 with SMTP id 3mr6154156ybv.491.1517693050885; Sat, 03 Feb 2018 13:24:10 -0800 (PST) Received: from [192.168.0.101] (cpe-24-211-224-19.nc.res.rr.com. [24.211.224.19]) by smtp.gmail.com with ESMTPSA id s139sm1842651ywg.68.2018.02.03.13.24.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Feb 2018 13:24:10 -0800 (PST) Subject: Re: pgAdmin questions To: Adrian Klaver , pgsql-general@lists.postgresql.org References: <3e48782b-0cf3-945b-9f01-39a852e8669f@gmail.com> <02735dc6-bf44-1af3-cb3d-bb3b8c2e100e@gmail.com> From: bob gailer Message-ID: <310d9a07-1390-940c-80aa-eb0d0d5411b5@gmail.com> Date: Sat, 3 Feb 2018 16:24:08 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/3/2018 4:12 PM, Adrian Klaver wrote: > On 02/03/2018 01:00 PM, bob gailer wrote: >> On 2/3/2018 3:30 PM, Adrian Klaver wrote: >>> On 02/03/2018 12:24 PM, bob gailer wrote: >>>> I am using pgAdmin to create functions (and other wonderful purposes). >>> >>>> >>>> Once I have created a function I notice I can't change the >>>> arguments or return type. Why is this? The help topic does not >>>> address this. >>> >>> Because pgAdmin is just a client over Postgres and creating >>> functions is a Postgres responsibility: >>> >>> >>> https://www.postgresql.org/docs/10/static/sql-createfunction.html >>> >>> To replace the current definition of an existing function, use >>> CREATE OR REPLACE FUNCTION. It is not possible to change the name or >>> argument types of a function this way (if you tried, you would >>> actually be creating a new, distinct function). Also, CREATE OR >>> REPLACE FUNCTION will not let you change the return type of an >>> existing function. To do that, you must drop and recreate the >>> function. (When using OUT parameters, that means you cannot change >>> the types of any OUT parameters except by dropping the function.)" >> Thanks. That helps. I was misled by seeing -- DROP FUNCTION >> public.test(character varying); at the top of the SQL; now I see it >> is a comment. >>> >>> >>> For the below you might get better answers quicker on the pgAdmin list: >> Thanks. >> Do you refer to pgsql-admin@lists.postgresql.org? > > No pgadmin-support: > > https://www.postgresql.org/list/pgadmin-support/ I failed to see that in the list. I did not realize I had to scroll down to Projects!