pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hubert Palme <palme@uni-wuppertal.de>
To: pgsql-sql@postgresql.org
Subject: parse error in create index
Date: Sat, 03 Feb 2001 21:46:08 +0100
Message-ID: <3A7C6E10.FF4BCD8E@uni-wuppertal.de> (raw)

Hi,

could someone, please, explain me the following parse error?

adressen=> \d geburtstage
Table    = geburtstage
+----------------------------------+----------------------------------+-------+
|              Field               |              Type                |
Length|
+----------------------------------+----------------------------------+-------+
| lfd_nr                           | int4                            
|     4 |
| geburtstag                       | date                            
|     4 |
+----------------------------------+----------------------------------+-------+
adressen=> create index Monat_Tag on geburtstage (date_part('month',
Geburtstag));
ERROR:  parser: parse error at or near "'"
adressen=>

Thanks in advance,

-- 
Hubert Palme
palme@uni-wuppertal.de



view thread (7+ messages)  latest in thread

Message-ID: <3A7C6E10.FF4BCD8E@uni-wuppertal.de>
Permalink:  ../3A7C6E10.FF4BCD8E@uni-wuppertal.de/
Also on:    postgresql.org/message-id/3A7C6E10.FF4BCD8E@uni-wuppertal.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: palme@uni-wuppertal.de
  Subject: Re: parse error in create index
  In-Reply-To: <3A7C6E10.FF4BCD8E@uni-wuppertal.de>
  References: <3A7C6E10.FF4BCD8E@uni-wuppertal.de>

* 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