From: Nikolay Mijaylov <nmmm@nmmm.nu>
To: pgsql-general <pgsql-general@postgreSQL.org>
To: pgsql-sql@postgreSQL.org
Subject: Fw: Whats happen here?
Date: Mon, 6 Dec 1999 17:17:59 +0200
Message-ID: <002001bf3ffd$17309980$ce2a18c3@skillbrokers.bg> (raw)
> Whats happen here?
> -------------------------
>
> root=> \dt
>
> Database = root
> +------------------+----------------------------------+----------+
> | Owner | Relation | Type |
> +------------------+----------------------------------+----------+
> | root | x | table |
> | root | y | table |
> +------------------+----------------------------------+----------+
> root=> \d x
>
> Table = x
>
+----------------------------------+----------------------------------+-----
> --+
> | Field | Type |
> Length|
>
+----------------------------------+----------------------------------+-----
> --+
> | a | char() |
> 20 |
>
+----------------------------------+----------------------------------+-----
> --+
> root=> \d y
>
> Table = y
>
+----------------------------------+----------------------------------+-----
> --+
> | Field | Type |
> Length|
>
+----------------------------------+----------------------------------+-----
> --+
> | a | varchar() |
> 5 |
>
+----------------------------------+----------------------------------+-----
> --+
> root=>select * from x a, y b where a.a = b.a;
> ERROR: There is more than one possible operator '=' for types 'bpchar'
and
> 'varchar'
> You will have to retype this query using an explicit cast
>
>
>
> root=> select * from x a, y b where text(a.a) = text(b.b);
>ERROR: There is more than one possible operator '=' for types 'bpchar' and
'varchar'
> You will have to retype this query using an explicit cast
>
> --------------------------------------------------------------
> The reboots are for hardware upgrades!
> "http://www.nmmm.nu; <nmmm@nmmm.nu>
>
>
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: nmmm@nmmm.nu, pgsql-general@postgreSQL.org
Subject: Re: Fw: Whats happen here?
In-Reply-To: <002001bf3ffd$17309980$ce2a18c3@skillbrokers.bg>
References: <002001bf3ffd$17309980$ce2a18c3@skillbrokers.bg>
* 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