Re: [GENERAL] Best free tool for relationship extraction

2012-09-13 Thread Johan Nel
nt from my smartphone You can try DbVisualizer at www.dbvis.com, even the Freeware Version is good. Johan Nel Durban, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] alter view, add/drop column

2012-09-05 Thread Johan Nel
nd not other tables columns... using the below: delete from pg_attribute where attrelid = regclass 'yourviewname' and attname = 'columnnametodrop' Best to first do couple of selects until you have the selection correct: select attrelid::regclass as whatever, * from pg_attrib

Re: [GENERAL] "Too far out of the mainstream"

2012-09-01 Thread Johan Nel
ifferent thing from single vendor software, where support will continue as long as the vendor finds it worthwhile to provide it. Best Wishes, Chris travers Not to forget that Skype has used PostrgeSQL from the start... Probably a very good case study to use that PG is mainstream enough. Johan Nel South Africa.

Re: [GENERAL] add column specify position

2010-02-02 Thread Johan Nel
nge the TYPE of a column. HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] data dump help

2010-01-18 Thread Johan Nel
the data. 3. You have an application that have an option to insert the current datetimestamp into your dumplog table and then read the exported table after completion. HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make change

Re: [GENERAL] Experience with many schemas vs many databases

2009-11-15 Thread Johan Nel
_user. Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] alter table is taking a long time

2009-11-09 Thread Johan Nel
Yes I agree, that was why I initially said to do a couple of selects before doint the update to ensure only the applicable columns get updated. >> Just first do some select statements to ensure you only >> update what you really want to. Regards, Johan Nel Pretoria, South Africa

Re: [GENERAL] alter table is taking a long time

2009-11-07 Thread Johan Nel
a drop and recreating of the queries without any side effects. HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Research and EAV models

2009-10-24 Thread Johan Nel
direction will either drown in their own information pollution or loose millions on systems that are late, cost too much, and atrophy too quickly.” Regards, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] About could not connect to server: Connection timed out

2009-10-19 Thread Johan Nel
something Timeout=60 or bigger. Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] generic modelling of data models; enforcing constraints dynamically...

2009-09-28 Thread Johan Nel
know, exactly what I am using for all my front-end applications. Regards, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] generic modelling of data models; enforcing constraints dynamically...

2009-09-25 Thread Johan Nel
t almost impossible to have not more than 50% of a table's columns redundant. If you need more info regarding this approach, feel free to contact me in private. Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] getting all groups where a user belongs to

2009-09-06 Thread Johan Nel
w5~row9 | 3 row4 | row2 | 1 | row2~row4 | 4 row6 | row4 | 2 | row2~row4~row6 | 5 row8 | row6 | 3 | row2~row4~row6~row8 | 6 (6 rows) Regards, Johan Nel Pretoria, South Africa. Keresztury Balázs wrote: hi, I'm currently developing a

[GENERAL] PG binary images in bytea column

2009-07-13 Thread Johan Nel
'\\' I took the code directly from the help files for Npgsql. My question, how do one use the E'\\' on a bytea column that is passed into a NpgsqlCommand statement using NpgsqlParameter? TIA, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-ge

Re: [GENERAL] Build in spatial support vs. PostGIS

2009-06-22 Thread Johan Nel
are more than enough. However the moment you start having to reference the spatial data to a position on earth, you really cannot use anything else than PostGIS. So in general, of you have spatial features all starting with a reference point of (0,0) use the build-in support. HTH, Johan Nel

Re: [GENERAL] How to store text files in the postgresql?

2009-06-07 Thread Johan Nel
e", FileMode.Create, FileAccess.Write); BinaryWriter bw = new BinaryWriter(new BufferedStream(fs)); bw.Write(result); bw.Flush(); fs.Close(); bw.Close(); conn.Close(); } } HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pg

Re: [GENERAL] Question on Foreign Key Structure/Design

2009-05-25 Thread Johan Nel
a "Expiry flag/Inactive flag" on your user table to allow old records to be viewed, but records can only be inserted/updated/deleted by current active users. In this scenario, your user DELETE re-root your delete statement to only deactivate the user from logging into the database.

Re: [GENERAL] Remote access

2009-05-08 Thread Johan Nel
t case: You probably don't need to do anything except making sure that the server and PG allows access from the IP address range used at the branch office. From the branch office you need to make your connection point to the IP address of the PG server... HTH, Johan Nel Pretoria, South A

Re: [GENERAL] Possible to prevent transaction abort?

2009-05-01 Thread Johan Nel
again END; END LOOP; END; $$ LANGUAGE plpgsql; HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] ERROR: syntax error at or near "IF"... why?

2009-05-01 Thread Johan Nel
; LOOP IF rec.credit < 0 THEN ... ELSE ... END IF; END LOOP; HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] ERROR: syntax error at or near "IF"... why?

2009-04-30 Thread Johan Nel
DaNieL..! wrote: I tryed the declare, before and after the BEGIN;, but allways returns me the error: --- ERROR: syntax error at or near "int"; LINE 1: DECLARE _mycredit int; ^ --

Re: [GENERAL] PostgreSQL Object-Oriented Database?

2009-04-27 Thread Johan Nel
OO is defined in programming languages, it is clear that Cache follow a design nearer to programming language implementation. So from my perspective, PG is not really a OO DB. We can however through design make it to emulate OO, but it is not forced. My 2cents worth. Johan Nel Pretoria

[GENERAL] Determining the names of columns in a dynamic query

2009-04-24 Thread Johan Nel
r the above, it does not need to be exactly the same, but are there a group of functions available to at least return in a dynamic query the number of columns, name of a column given the ordinal number of the column, etc? TIA, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general

Re: [GENERAL] Disconnected editing - versioning of databases

2009-04-14 Thread Johan Nel
into the central database. Regards, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Connect to server PG from laptop java app

2009-04-05 Thread Johan Nel
IP address range that you want to connect from, similar to: host all all 10.0.0.1/8 md5 Remember to reload your configuration. HTH, Johan Nel Pretoria, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Best way to store a threaded message list/tree in SQL

2009-03-26 Thread Johan Nel
#x27;, 'id', 'parentid', '', 0, '~') AS t(keyid text, parent_keyid text, level int, branch text); HTH, Johan Nel Durban, South Africa. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Lost password

2008-12-18 Thread Johan Nel
the server. HTH, Johan Nel Pretoria, South Africa. Martin Roach wrote: Hi I started the installation of postrgres got distracted and then started again but forgot my password. I have received the info below: Now what? If you have access to shell account on the machine PostgreSQL is running