pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: missive@frontiernet.net
To: pgsql-sql@postgresql.org
Subject: Re: to_char()??
Date: Tue, 16 Oct 2001 00:42:52 +0000 (UTC)
Message-ID: <9qfvqb$28mv$1@news.tht.net> (raw)
References: <9qb2lj$13lv$1@news.tht.net>
	<9qd0j0$1gc3$1@news.tht.net>
	<9qdfnh$1jte$1@news.tht.net>

On Mon, 15 Oct 2001 09:56:26 +0800, guard <guard@ficnet.net> wrote:
> thanks
> 
> I have run "select substr('hi there', 3, 5)::varchar(5) as xx;"
> but get error message
> Error: ERROR:  parser: parse error at or near ":"
> 

Works for me on 7.1.2 and pre-7.2
What version are you using?

select version();

That still leaves it unclear in my mind what exactly you want
from your query.





view thread (6+ messages)

Message-ID: <9qfvqb$28mv$1@news.tht.net>
Permalink:  ../9qfvqb$28mv$1@news.tht.net/
Also on:    postgresql.org/message-id/9qfvqb$28mv$1@news.tht.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: missive@frontiernet.net
  Subject: Re: to_char()??
  In-Reply-To: <9qfvqb$28mv$1@news.tht.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