Re: BUG #2726: reindex database failed if number is in database name

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ivan Volf" <insys(at)st(dot)t-com(dot)hr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2726: reindex database failed if number is in database name
Date: 2006-10-31 21:53:17
Message-ID: 9216.1162331597@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Ivan Volf" <insys(at)st(dot)t-com(dot)hr> writes:
> drin=# reindex database 06test;
> ERROR: syntax error kod ili u blizini "06" at character 18

This isn't a bug. If you want to use names that aren't ordinary
identifiers, you need to double-quote them.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Davis 2006-10-31 22:15:10 Re: COPY fails on 8.1 with invalid byte sequences in text
Previous Message Tom Lane 2006-10-31 21:13:24 Re: COPY fails on 8.1 with invalid byte sequences in text