pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: pgsql-sql@postgresql.org
Subject: Followup from yesterday's PL/pgSQL fun...
Date: Wed, 14 May 2003 11:41:39 -0500
Message-ID: <177190000.1052930499@lerlaptop-red.iadfw.net> (raw)

I posted:

Also, this is what I wound up with for that line, which seems ugly, because
it couldn't find a quote_literal(inet) without the ::text on it:

  quote_literal(NEW.netblock::inet::text) ;


Is that right?



Can I ask 3 questions:

1) should quote_literal find a ::text conversion on it's own?
2) can text(cidr) be added to the default pg_cast table?
3) how can I add text(cidr) myself?



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749






view thread (9+ messages)  latest in thread

Message-ID: <177190000.1052930499@lerlaptop-red.iadfw.net>
Permalink:  ../177190000.1052930499@lerlaptop-red.iadfw.net/
Also on:    postgresql.org/message-id/177190000.1052930499@lerlaptop-red.iadfw.net

 · 

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: ler@lerctr.org
  Subject: Re: Followup from yesterday's PL/pgSQL fun...
  In-Reply-To: <177190000.1052930499@lerlaptop-red.iadfw.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox