Skip site navigation (1) Skip section navigation (2)

Extension script error

From: Bartosz Dmytrak <bdmytrak(at)eranet(dot)pl>
To: pgadmin-support(at)postgresql(dot)org
Subject: Extension script error
Date: 2012-02-21 12:13:02
Message-ID: CAD8_Ucbdk0DsYJXhMUjSJfbpbr+=28Um7s_UDgQxc-R7OZ1EPA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
Hi,
I think there is a bug in extensions SQL window eg. for intarray extension,
generated script looks like this:
-- Extension: intarray

-- DROP EXTENSION intarray;

 CREATE EXTENSION intarray
  SCHEMA public
  VERSION 1.0;
ALTER EXTENSION intarray
  OWNER TO postgres;

But should be:
-- Extension: intarray

-- DROP EXTENSION intarray;

 CREATE EXTENSION intarray
  SCHEMA public
  VERSION "1.0";
ALTER EXTENSION intarray
  OWNER TO postgres;

I mean, there should be quotation around version number. When You create
extension, script is generated properly.
pgAdmin 1.14.1 Windows 7 32 bit.

Regards,
Bartek

Responses

pgadmin-support by date

Next:From: Pavel V.Date: 2012-02-21 12:24:13
Subject: pgadmin 1.14.1 bug
Previous:From: Guillaume LelargeDate: 2012-02-20 20:11:17
Subject: Re: \Copy and "Copy With Headers" -- every day these bug me.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group