Re: [GENERAL] Make for PgSQL?

2007-05-31 Thread Thomas Pundt
ols and the likes? | | Many thanks to you all. A version control system like Subversion comes to my mind. From there you might be able to collect all relevant information. But I might be wrong... Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/

Re: [GENERAL] transaction problem using cursors

2007-06-11 Thread Thomas Pundt
ust handle the error - if | any - and resume from there properly. I didn't try myself, but wrapping the whole into a PL/pgSQL function and using exceptions might do the work; http://www.postgresql.org/docs/8.2/static/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING Ciao, Thomas

Re: [GENERAL] Abbreviation list

2007-10-19 Thread Thomas Pundt
lt underlines the abbreviation with a dotted line and displays the title when leaving the cursor on it. In a way this means probably defining the abbreviation. Reference: http://www.w3.org/TR/html401/struct/text.html#edef-ABBR -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/

Re: [GENERAL] strange message from pg_dumpall

2007-10-31 Thread Thomas Pundt
lled from within a Perl script. | | I've tried the same command directlly on the shell and it works fine. | But from the perl script it complaints about pg_dump !!!??? What does "type -a pg_dump" output? Maybe it's a leftover from an incomplete uninstall of a PostgreSQL install

Re: [GENERAL] Regression in 8.3?

2007-11-12 Thread Thomas Pundt
perator in a string doesn't leave much room for interpretation IMO, regardless if the "a" column is of type "bigint" or not. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] I have a select statement on the issue.

2007-11-28 Thread Thomas Pundt
output order is not guaranteed without order clause. | 2. Qustion, sorting as main keys when query, how to do? You mean: select * from test order by code ? Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)---

Re: [GENERAL] File system level backup from 32bit to 64bit

2008-01-07 Thread Thomas Pundt
7;t easily seem to find a reference either. It is a FAQ though. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate

Re: [GENERAL] Forgot to dump old data before re-installing machine

2008-01-16 Thread Thomas Pundt
s mismatch; did you already mention on what architecture you are on? Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] [OT] "advanced" database design (long)

2008-02-02 Thread Thomas Pundt
Hi, vladimir konrad wrote: I think that I understand basic relational theory but then I had an idea. What I would like to know if this is sometimes done or that I am possibly mad... Also, I do not know the terminology for this kind of thing so I do not know where and what to look for. Basically

Re: [GENERAL] "pg_ctl: cannot be run as root"

2008-02-04 Thread Thomas Pundt
nt for PostgreSQL, run it under your account (ie without the "sudo"). Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [GENERAL] ER Diagram design tools (Linux)

2008-03-06 Thread Thomas Pundt
Hi, Conor McTernan schrieb: I was wondering if anyone knows of any good ER Diagram tools for Postgres that run on Linux. [...] Does anyone know of any commercial or open source software that will do this? Datastudio (www.aquafold.com) also has a tool to build ER diagrams. It is a commercial

Re: [GENERAL] postgre vs MySQL

2008-03-13 Thread Thomas Pundt
om/doc/refman/5.0/en/faqs-sql-modes.html You can set the @@sql_mode variable to a value, that MySQL almost behaves like standard SQL (I've not tested this by myself, though). Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ -- Sent via pgsql

Re: [GENERAL] Word boundaries in regular expressions

2008-04-05 Thread Thomas Pundt
Troy Rasiah schrieb: Apologies if this has been posted somewhere else but what is the equivalent of perl's \b in postgres regular expressions ? I think you are looking for \m and \M. See http://www.postgresql.org/docs/8.3/interactive/functions-matching.html#FUNCTIONS-POSIX-REGEXP Ciao, Thom

Re: [GENERAL] Import German Decimal Numbers

2008-05-07 Thread Thomas Pundt
ter. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ -- 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] Need to update all entries of one table based on an earlier backup

2008-06-20 Thread Thomas Pundt
? This is crucial and yet I | am stumbling over something. Since I am not updating foo_old I am baffled | as to what this messsage really means. I've tried "where foo_old.foo_id = | foo.foo_id ... same message. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de

Re: [GENERAL] Please remove me from the list!

2009-05-29 Thread Thomas Pundt
Raymond O'Donnell wrote: > On 29/05/2009 00:14, Guy Rouillier wrote: >> You may remove yourself. At the bottom of *every* message sent from the >> mail list server are these instructions: > > Actually, for some reason, the instructions don't seem to have come > through on the OP's emailI was

Re: [GENERAL] Regex Character-Class

2009-06-30 Thread Thomas Pundt
Henry schrieb: I must be missing something here: SELECT '1.1.1.1' ~ E'^\d+'; returns FALSE, when I would expect TRUE, as for: SELECT '1.1.1.1' ~ E'^[[:digit:]]+'; ie, '[[:digit:]]' != '\d' In config, "regex_flavor = advanced". Any ideas? Yes; you have to escape the backslash character:

Re: [GENERAL] [EXPLAIN] Nested loops

2009-01-09 Thread Thomas Pundt
Reg Me Please wrote: Here it comes: Aggregate (cost=227.59..227.61 rows=1 width=8) -> Nested Loop (cost=0.00..227.34 rows=49 width=8) -> Seq Scan on T2 (cost=0.00..1.07 rows=6 width=4) Filter: (fld1 = 'VEND'::text) -> Index Scan using i_T1_partial on T1

Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread Thomas Pundt
devi schrieb: Hi Friends, I wrote a sample php program that connects to PostgreSQL DB. ==> I was able to run the PHP program from the command prompt as postgres user & not as anyother user $ php pgsql.php ==> I was not able execute the same file from the web browser. FATAL ERRO

Re: [GENERAL] partial TEXT search on an index

2009-03-31 Thread Thomas Pundt
Hi, Ow Mun Heng schrieb: I don't think I understand how PG implements fulltext searching or if my search actually needs to use fulltext search. No, that's something different. See the fine manual. basically, I have a btree index on a SERIAL_NUMBER which is of sort like ABC12345 or AAA123434

Re: [GENERAL] How to begin to debug FATAL: invalid frontend message type 77 error messages?

2009-05-02 Thread Thomas Pundt
Keaton Adams schrieb: Any ideas on how to debug these types of error messages? Apr 30 01:36:02 mxlqa401 postgres[23600]: [3-1] FATAL: invalid frontend message type 77 Apr 30 01:36:02 mxlqa401 postgres[23601]: [3-1] LOG: unexpected EOF on client connection Apr 30 01:36:02 mxlqa401 postgres[23

Re: [GENERAL] DNS vs /etc/hosts

2005-08-05 Thread Thomas Pundt
e and connection delays caused by improperly configured IPV6 support on some Linux machines. Removing the responsible modules from the kernel fixed it. Just another guess though :-) Ciao, Thomas -- Dr. Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---

Re: [GENERAL] DNS vs /etc/hosts

2005-08-05 Thread Thomas Pundt
that fails, you probably have to edit your /etc/modprobe.conf or /etc/modprobe.d/aliases file, comment out the ipv6 module entry and reboot the machine. Then repeat your test. But again, I'm just guessing in the wild. Ciao, Thomas -- Thomas Pundt --- http://www.pund

Re: [SQL] [GENERAL] How do I copy part of table from db1 to db2 (and

2005-08-31 Thread Thomas Pundt
t; utility can help then? Something like pg_dump -t artik munttest | recode latin1..utf | psql muntfinal Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 4: Have you searched o

Re: [SQL] [GENERAL] How do I copy part of table from db1 to db2 (and

2005-08-31 Thread Thomas Pundt
On Wednesday 31 August 2005 14:09, Thomas Pundt wrote: | maybe the "recode" utility can help then? Something like | | pg_dump -t artik munttest | recode latin1..utf | psql muntfinal sorry to follow up on myself, but that command should read pg_dump -t artik munttest | recode la

Re: [GENERAL] Building postgres on Suze

2005-09-13 Thread Thomas Pundt
re script and | hand-compiling the test program works if I say "/lib/libpam.so.0", but | fails if I say "-lpam". Very bizarre - anyone encountered this? Nothing bizarre here - you most probably have to install the pam-devel package. Ciao, Thomas -- Thomas Pundt <

Re: [GENERAL] 8.1.4 compile problem

2006-09-29 Thread Thomas Pundt
y into postgres ? are | there any special flags that i am missing ? The "smallint", "integer" and "bigint" types are available regardless of that output from configure. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/

Re: [GENERAL] Problem with executing PostgreSQL on Embedded Linux

2006-10-11 Thread Thomas Pundt
c0 t isinf 000140f0 t isinff 0001bc50 t isinfl So the obvious question seems to be: is your postgres binary linked against libm? Just a guess though - I'm not on any kind of Embedded Linux ... Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ -

Re: [GENERAL] How to find out about zlib compression

2006-10-22 Thread Thomas Pundt
if we are using binaries on a rpm based system and without | looking at the src.rpm is there a way to query the postgresql server to | find out whether it was built against the zlib compression library ? ldd /path/to/your/bin/postgres | grep libz Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTE

Re: [GENERAL] Auto Backup facility?

2006-12-08 Thread Thomas Pundt
On Friday 08 December 2006 09:16, Ashish Karalkar wrote: | Can we have Auto Backup facility to schedule backup of | PostgreSQL Database | I am using version 8.2.0 why don't you use cron to set up a backup script? Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://r

Re: [GENERAL] Automating databse creation

2007-02-09 Thread Thomas Pundt
ht want to look at your init scripts (/etc/init.d/postgresql I assume) for how they do it. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 1: if posting/reading through Usenet

Re: [GENERAL] to_tsvector in 8.2.3

2007-03-21 Thread Thomas Pundt
en = tsearch2_yyleng; return SPACE; Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

Re: [GENERAL] selective export for subsequent import (COPY)

2007-04-23 Thread Thomas Pundt
On Monday 23 April 2007 14:56, chrisj wrote: | Wow, how did you discover that? man readline? search for "quoted-insert" Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)---

Re: [GENERAL] Regular Expression Question

2005-12-03 Thread Thomas Pundt
DUN: (.*?) ' for extracting the DUN part. Ciao, Thomas -------- Thomas Pundt <[EMAIL PROTECTED]> -- http://www.pundt.de ---(end of broadcast)--- TIP 9: In versions below 8.0, the pl

Re: [GENERAL] Migrating data from Oracle 9i to PostgreSQL

2006-04-04 Thread Thomas Pundt
h: it escapes some more characters in the generated SQL dump. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ --- Ora2Pg.pm 2004-12-30 01:30:40.0 +0100 +++ Ora2Pg.pm 2006-03-14 14:40:16.0 +0100 @@ -1091,8 +1091,11 @@ } }

Re: [GENERAL] Performance UPDATE/INSERT

2006-04-11 Thread Thomas Pundt
of the performance of INSERT and | UPDATE. how about using COPY for the import? Or at least putting the INSERTs into a transaction using BEGIN and COMMIT? I would do the same with the UPDATEs: put it into a transaction frame. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> htt

Re: [GENERAL] Performance UPDATE/INSERT

2006-04-11 Thread Thomas Pundt
s you from using a transaction here... Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org