agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: skinner@britvault.co.uk
Cc: pgsql-sql@postgresql.org
Subject: Re: Function args: TEXT -vs- VARCHAR?
Date: Wed, 13 Nov 2013 13:31:13 -0500
Message-ID: <19211.1384367473@sss.pgh.pa.us> (raw)
In-Reply-To: <20131113180436.GA21703@teak.britvault.co.uk>
References: <CAHZ=uVAOB9H9jS2BGnu9jDKosxapKY2_M+arf+-kC1fwCSgvfg@mail.gmail.com>
<20131113130308.GA17439@teak.britvault.co.uk>
<20131113141718.GA29223@teak.britvault.co.uk>
<CAFj8pRBhCirj16X0-toyLg85mnJ=wa98V5U941Szw6aNnzifaw@mail.gmail.com>
<20131113142515.GB29223@teak.britvault.co.uk>
<52838DF0.8040708@gmail.com>
<20131113155113.GA26600@teak.britvault.co.uk>
<6365.1384360602@sss.pgh.pa.us>
<1384362845994-5778192.post@n5.nabble.com>
<17777.1384365119@sss.pgh.pa.us>
<20131113180436.GA21703@teak.britvault.co.uk>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
skinner@britvault.co.uk (Craig R. Skinner) writes:
> On 2013-11-13 Wed 12:51 PM |, Tom Lane wrote:
>> The full SQL type syntax is allowed for declaring a function's arguments
>> and return value. However, parenthesized type modifiers (e.g., the
>> precision field for type numeric) are discarded by CREATE FUNCTION. Thus
>> for example "CREATE FUNCTION foo (varchar(10)) ..." is exactly the same as
>> "CREATE FUNCTION foo (varchar) ...".
> That note would be clear to this user.
OK, done like that.
regards, tom lane
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (17+ messages) latest in thread
Message-ID: <19211.1384367473@sss.pgh.pa.us>
Permalink: ../19211.1384367473@sss.pgh.pa.us/
Also on: postgresql.org/message-id/19211.1384367473@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, skinner@britvault.co.uk
Subject: Re: Function args: TEXT -vs- VARCHAR?
In-Reply-To: <19211.1384367473@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox