Re: [ADMIN] Weird sorting order

2010-07-20 Thread Robert Voinea
a sort; but that won't be in 9.0. > Hopefully in 9.1 > > http://archives.postgresql.org/message-id/1279045531.32647.14.ca...@vanquo. > pezone.net > > -Kevin Thank you for clarifying this. -- Robert Voinea Software Developer Phone: +40 21 408 38 00 / ext. 343 Fax: +40 2

Re: [ADMIN] Weird sorting order

2010-07-18 Thread Robert Voinea
On Friday 16 July 2010 18:34:06 Kevin Grittner wrote: > Robert Voinea wrote: > > Why is it that when running the query: > > > > SELECT * FROM test ORDER BY val; > > > > I get the following result? > > > > id | val > > > > +-

[ADMIN] Weird sorting order

2010-07-16 Thread Robert Voinea
7 | 2##23 8 | 2##24 9 | 2##25 10 | 2##33 11 | ##26 12 | 2ff 13 | ##31 14 | ##32 15 | ##34 (15 rows) Shouldn't value '2ff' be placed right after '211' but before '2##23'? Tested on PostgreSQL 8.2, 8.4, Linux SuSE & Kubuntu. Thank you!... -- Robert

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-16 Thread Robert Voinea
On Tuesday 15 June 2010 23:31:26 Tom Lane wrote: > Robert Voinea writes: > >>> The problem is that after I update a table whenever I use a function > >>> that makes use of dblink_build_sql the server crashes. > > FYI, I've committed patches to deal with t

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-14 Thread Robert Voinea
On Friday 11 June 2010 17:21:28 Tom Lane wrote: > Robert Voinea writes: > > I have a development database that is altered a lot and a set of > > functions that make use of dblink_build_sql_*. > > The problem is that after I update a table whenever I use a function

[ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-11 Thread Robert Voinea
CT * FROM dblink_build_sql_update('ChannelsTable', '1', 1, ARRAY[5::TEXT], ARRAY[5::TEXT]); ERROR: invalid memory alloc request size 4294967293 softswitch=> SELECT * FROM dblink_build_sql_update('ChannelsTable', '1', 1, ARRAY[5::TEXT], ARRAY[5::TEXT]); ERROR: invalid memory alloc request size 4294967293 -- Robert Voinea Software Developer Phone: +40 21 408 38 00 / ext. 343 Fax: +40 21 408 38 08 Local time: GMT+2 http://www.topex.ro -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] How to add constraints without validating data.

2010-05-27 Thread Robert Voinea
ng all rows and then altering the table. > In that manner, even my solution would be appropriate because it > creates a duplicate table with the constraints. > Whatever be the method, I don't think its possible to avoid the > constraints. Correct me if I'm wrong. -- Robert