Thread: pgAdmin III commit: Add support for range types (9.2+)
Add support for range types (9.2+) Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=e67c72519315b54f966d5083bd4c5f1c4c47e0bd Modified Files -------------- CHANGELOG | 1 + pgadmin/dlg/dlgType.cpp | 199 +++++- pgadmin/include/dlg/dlgType.h | 2 + pgadmin/include/schema/pgType.h | 69 ++- pgadmin/schema/pgType.cpp | 49 ++ pgadmin/ui/dlgType.xrc | 88 ++ pgadmin/ui/xrcDialogs.cpp | 1707 ++++++++++++++++++++++----------------- 7 files changed, 1360 insertions(+), 755 deletions(-)
On 29 April 2012 21:56, Guillaume Lelarge <guillaume@lelarge.info> wrote: > Add support for range types (9.2+) Range types aren't added to the type drop-down and instead only show the array-equivalents. -- Thom
On Sun, 2012-04-29 at 22:22 +0100, Thom Brown wrote: > On 29 April 2012 21:56, Guillaume Lelarge <guillaume@lelarge.info> wrote: > > Add support for range types (9.2+) > > Range types aren't added to the type drop-down and instead only show > the array-equivalents. > You mean on the function properties dialog, right? -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
On 30 April 2012 15:44, Guillaume Lelarge <guillaume@lelarge.info> wrote: > On Sun, 2012-04-29 at 22:22 +0100, Thom Brown wrote: >> On 29 April 2012 21:56, Guillaume Lelarge <guillaume@lelarge.info> wrote: >> > Add support for range types (9.2+) >> >> Range types aren't added to the type drop-down and instead only show >> the array-equivalents. >> > > You mean on the function properties dialog, right? No, I mean when you go to create a table, then add a column, the constituent range types aren't listed, only their array equivalents. For example, I can't create a table in the GUI which contains a column using the int4range type, but I can use the int4range[] type instead. -- Thom
On Mon, 2012-04-30 at 15:47 +0100, Thom Brown wrote: > On 30 April 2012 15:44, Guillaume Lelarge <guillaume@lelarge.info> wrote: > > On Sun, 2012-04-29 at 22:22 +0100, Thom Brown wrote: > >> On 29 April 2012 21:56, Guillaume Lelarge <guillaume@lelarge.info> wrote: > >> > Add support for range types (9.2+) > >> > >> Range types aren't added to the type drop-down and instead only show > >> the array-equivalents. > >> > > > > You mean on the function properties dialog, right? > > No, I mean when you go to create a table, then add a column, the > constituent range types aren't listed, only their array equivalents. > For example, I can't create a table in the GUI which contains a column > using the int4range type, but I can use the int4range[] type instead. OK, should be fixed now. Thanks Thom. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
On 30 April 2012 15:57, Guillaume Lelarge <guillaume@lelarge.info> wrote: > On Mon, 2012-04-30 at 15:47 +0100, Thom Brown wrote: >> On 30 April 2012 15:44, Guillaume Lelarge <guillaume@lelarge.info> wrote: >> > On Sun, 2012-04-29 at 22:22 +0100, Thom Brown wrote: >> >> On 29 April 2012 21:56, Guillaume Lelarge <guillaume@lelarge.info> wrote: >> >> > Add support for range types (9.2+) >> >> >> >> Range types aren't added to the type drop-down and instead only show >> >> the array-equivalents. >> >> >> > >> > You mean on the function properties dialog, right? >> >> No, I mean when you go to create a table, then add a column, the >> constituent range types aren't listed, only their array equivalents. >> For example, I can't create a table in the GUI which contains a column >> using the int4range type, but I can use the int4range[] type instead. > > OK, should be fixed now. > > Thanks Thom. Yes, looks fine now. Thanks. -- Thom