Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: Problem with using domains

Re: Problem with using domains



Martin Susil wrote:
Hello,

It seems I found a small bug:

I use domains as data type aliases in my db:

CREATE DOMAIN my_schema.t_varchar AS varchar;

Now lets say I want to edit (or insert) some values in my_schema.my_table so
I run pgAdmin and 'right-click & View Data' the table.
Domains under names of the columns are displayed correctly (without schema
prefix though) but when I try to insert data into a new row I get the
following error:

ERROR: type t_varchar does not exist

Schema is missing. Fixed in CVS, thanks for reporting.

Regards,
Andreas



Home | Main Index | Thread Index

top