[BUGS] BUG #5717: Domain as array of numeric/varchar does not respect limits

2010-10-19 Thread Richard Huxton
The following bug has been logged online: Bug reference: 5717 Logged by: Richard Huxton Email address: d...@archonet.com PostgreSQL version: 9.0.1 Operating system: linux Description:Domain as array of numeric/varchar does not respect limits Details: Summary: you

Re: [BUGS] [HACKERS] exit

2007-05-29 Thread Richard Huxton
Marcos Fabrício Corso wrote: I would like to leave the list ... Not really a question worth posting several lists. If you don't know how to unsubscribe, try starting with the form linked from here. http://www.postgresql.org/community/lists/ -- Richard Huxton Archone

Re: [BUGS] Query returned unhandled type 16411

2006-07-28 Thread Richard Huxton
you can work-around the problem for the moment by accessing a view that does the cast-to-text for the geometry columns. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] Error in returning setof records

2006-04-27 Thread Richard Huxton
is is not a bug - see the manuals for details. A set returning function is like a table so you need to call it as: SELECT * FROM my_set_function(); For general help you might like to try the general/sql mailing lists rather than the bug tracker. -- Richard Huxton Archonet Ltd ---

Re: [BUGS] constraints & tableoid [pgsql8.1]

2006-04-11 Thread Richard Huxton
. You might be able to do this with a trigger function (although I'm not clear what you're trying to do). -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [BUGS] BUG #2382: Fail ODBC Connection

2006-04-10 Thread Richard Huxton
See you there! -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [BUGS] BUG #2365: can't install

2006-04-03 Thread Richard Huxton
t user" command if you are running XP Home. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [BUGS] BUG #2364: DB Error: connect failed ... PHP/PostgreSql

2006-04-03 Thread Richard Huxton
ty up? 3. What does "psql -U root -h localhost sample" do for you? 4. Have you checked your pg_hba.conf file It's almost certainly an issue with #4 - the pg_hba.conf file. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] Random hang during commit

2006-03-15 Thread Richard Huxton
anything? I tried both way and this problem seems never happen. Hmm - I'd have expected it to fail in one direction but not the other. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] Random hang during commit

2006-03-14 Thread Richard Huxton
ake sure there aren't any known issues with the jdbc driver version you have http://jdbc.postgresql.org/ 2. Check if there is anything unusual about the problem machine 3. Try running the client on the problem machine and the database on another, then the other way around. Does this change a

Re: [BUGS] Random hang during commit

2006-03-13 Thread Richard Huxton
-system? 2. Installed from a package (which) or source? 3. What hangs - the client or the backend (or both)? 4. What do the logs show? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 4: Have you searched our list archives

Re: [BUGS] Pg-restore

2006-02-22 Thread Richard Huxton
in a file you've built yourself, then clearly not. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [BUGS] BUG #2278: problem with grants

2006-02-22 Thread Richard Huxton
e lock though, which is why you see the error message. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [BUGS] Need Help

2006-02-22 Thread Richard Huxton
#x27;ll want to tell people what you've tried already. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] BUG #2272: stop

2006-02-21 Thread Richard Huxton
e of any list i was subscribed to please? Can I ask what you had tried to unsubscribe from the lists you had subscribed to? It might be the instructions need to be improved. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [BUGS] BUG #2232: Function (store procedure) prublem

2006-02-03 Thread Richard Huxton
the value is a parameter. When a change this value to "109922.11" the function works fine. You'll need to give some more details - can you produce a small function that reproduces the error so others can test it on their machines? -- Richard Huxton Archonet Ltd --

Re: [BUGS] BUG #2232: Function (store procedure) prublem

2006-02-03 Thread Richard Huxton
922.11" the function works fine. You'll need to give some more details - can you produce a small function that reproduces the error so others can test it on their machines? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP

Re: [BUGS] Execution of stored procedures

2006-01-19 Thread Richard Huxton
t the problem is in the function itself where you may be executing a SELECT without putting its results into a variable. You would probably get more answers on the plpgsql-general list. This mailing list is for bugs in the PostgreSQL server itself. See you there! -- Richard Huxton Archone

Re: [BUGS] It doubts

2006-01-04 Thread Richard Huxton
nload whatever RPMs you require and install as normal. You might find it useful to subscribe to the pgsql-novice mailing list, or check the website for details of a Spanish mailing list. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- T

Re: [BUGS] BUG #2025: i can conect to the server

2005-11-08 Thread Richard Huxton
he general or novice mailing lists - this is unlikely to be a bug in PostgreSQL. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [BUGS] BUG #2006: queryoptimizer and comparing a primary key

2005-10-28 Thread Richard Huxton
foo (cost=0.00..3.01 rows=1 width=8) (actual time=43.832..43.839 rows=1 loops=1) Index Cond: (id = 1) -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] BUG #1978: connection sinks

2005-10-21 Thread Richard Huxton
Richard Huxton wrote: mouse wrote: The following bug has been logged online: Bug reference: 1978 Logged by: mouse Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Gentoo Linux 2.6.11-r9 Description:connection sinks Mouse has been in

Re: [BUGS] BUG #1978: connection sinks

2005-10-20 Thread Richard Huxton
he two machines. Can't say what from the information you've given here. Check the logging and come over to -general and I'm sure someone can get you connected. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have

[BUGS] Function taking compound type defined on a view with ORDER BY

2005-10-19 Thread Richard Huxton
x27;t recognise the type (I think) The error is different in 8.0.x and 8.1.x but occurs in both. -- Richard Huxton Archonet Ltd CREATE TABLE test_table (a int4, b text); COPY test_table FROM stdin; 1 aaa 2 bbb 3 ccc 4 ddd \. CREATE OR REPLACE VIEW test_view AS SELECT a,b FROM test_table WH

Re: [BUGS] BUG #1972: index error with space character

2005-10-18 Thread Richard Huxton
t unsorted.txt aa a aaab aa b $ LC_COLLATE=C sort unsorted.txt aa a aa b aaab See "man locale" for details on how to find out what locales are setup on your machine. See the documentation for details on how to set locale on a database cluster. HTH -- Richard Hu

Re: [BUGS] BUG #1961: Can not deinstall PostgreSQL

2005-10-13 Thread Richard Huxton
egistry keys by hand. http://archives.postgresql.org/pgsql-odbc/2005-05/msg00018.php HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [BUGS] BUG #1954: Bug in to_date('09-10-2005', 'dd-mm-yyyy')

2005-10-11 Thread Richard Huxton
) Details: We did have a error using TO_DATE() function with 09-10-2005 the result is 08-10-2005. Works OK in 7.4 here. Does it work for other dates, and is that a daylight-saving-time (or summer-time) change-over date in your locale? -- Richard Huxton Archonet Ltd --

Re: [BUGS] PostgreSQL Database export from Linux to Windows

2005-10-04 Thread Richard Huxton
with pg_dump and pg_restore. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] BUG #1864: Strange behavoir of batches

2005-09-12 Thread Richard Huxton
when inserting these batches. Put some inadmissible data in and check you get an error back. 2. Does the problem go away when you just use single statements within a transaction rather than addBatch() - that would narrow down where the problem is. -- Richard H

Re: [BUGS] BUG #1863: Install won't work

2005-09-08 Thread Richard Huxton
/98/95/3.1 are supported for PostgreSQL. Windows 2000 and on should be fine though. If you really need to run PG on Win98, perhaps take a look at the cygwin project and see about installing via that route. -- Richard Huxton Archonet Ltd ---(end of

Re: [BUGS] BUG #1864: Strange behavoir of batches

2005-09-08 Thread Richard Huxton
jdbc.postgresql.org/), but they'll probably need a short example of how to reproduce it. (and please forgive my bad english) Your English is fine sir. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [BUGS] Installing to Windows XP cannot create db

2005-09-08 Thread Richard Huxton
ice status E_GC0135 -- A default server class has been defined (by II_GCN_SVR_TYPE), but that server class is not known to the Name Server.. Are you sure that's a PostgreSQL error, and not from something else (e.g. Ingres?) -- Richard Huxton Archonet Ltd ---

Re: [BUGS] auto type casting bug

2005-08-26 Thread Richard Huxton
want floating-point or int8 instead of int4. PostgreSQL is flexible about its types, but that does mean you need to be more precise in defining what you mean sometimes. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [BUGS] BUG #1819: COPY filename rejects Windows format path

2005-08-11 Thread Richard Huxton
Steve Peterson wrote: Running COPY FROM on a Windows server; using a Windows-format fully qualified path with backslashes results in the backslashes being interpreted as escapes. Did you escape the backslashes: C:\\Windows\\Path ? -- Richard Huxton Archonet Ltd

Re: [BUGS] Data Selection Slow From VB 6.0

2005-08-11 Thread Richard Huxton
bug-list. You have not described a bug in PostgreSQL, and there are more people who can help on the general list anyway. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [BUGS] BUG #1816: Insert null values on a null field

2005-08-11 Thread Richard Huxton
they are empty strings. You haven't forbidden empty strings. You'll want constraint(s) to do something like: ALTER TABLE tbarrio ADD CONSTRAINT no_empty_codbarrio CHECK (bar_codbarrio > ''); http://www.postgresql.org/docs/8.0/static/sql-altertab

Re: [BUGS] Help Needed

2005-08-10 Thread Richard Huxton
you increase logging options. 5. Whether there is a problem with only one query or many/all queries. 6. Whether you are happy your configuration settings for PostgreSQL are good. How you know this. See you on the general lists soon! -- Richard Huxton Archonet Ltd --

Re: [BUGS] BUG #1816: Insert null values on a null field

2005-08-10 Thread Richard Huxton
leave the other 2 empty (null), the DB accept and insert the record without any problem. Can you provide definitions of both tables and and example of an insert that should fail. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 5

Re: [BUGS] BUG #1817: column not exist

2005-08-10 Thread Richard Huxton
" FROM employee; If you don't quote when you create, then the column is case-insensitive. See the mailing-list archives for plenty of details. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [BUGS] BUG #1806: Postmaster takes uses 99% of CPU

2005-08-08 Thread Richard Huxton
ct to deal with here, but the tools to check documentation for are: top/free/vmstat/iostat/netstat Oh - and make sure your configuration settings are reasonable. Read these two performance-tuning guides: http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php http://www.powerpos

Re: [BUGS] BUG #1806: Postmaster takes uses 99% of CPU

2005-08-05 Thread Richard Huxton
read all the Faq. But there is no reason to it. Could you help? Is it doing anything? Do your logs show any activity? If you do "strace -p " as root, you'll see what system calls the backend is making. -- Richard Huxton Archonet Ltd ---(e

Re: [BUGS] BUG #1795: mirroring

2005-07-28 Thread Richard Huxton
dbmirror/pgpool/slony/etc projects. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get

Re: [BUGS] Insert statement changes timestamp value from MS Access

2005-07-28 Thread Richard Huxton
se, you aren't storing an absolute time at all. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] BUG #1788: charset of sorting bug

2005-07-27 Thread Richard Huxton
controls sorting, not encoding. See the manuals/mailing list archives for details and discussion. I don't believe PG supports unicode (UTF-8) on Windows fully. Check the manuals for details. HTH -- Richard Huxton Archonet Ltd ---(end of broa

Re: [BUGS] BUG #1786: error in establishing connection

2005-07-27 Thread Richard Huxton
lution Name-lookup isn't working. It's strange that you can't resolve "localhost", but you should look at your DNS setup. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: Have you checked our extensive

Re: [BUGS] BUG #1784: "adding missing FROM-clause" when not needed

2005-07-25 Thread Richard Huxton
e I expect the same result of the first query. In recent versions, you can disable the feature in your postgresql.conf by setting "add_missing_from" to false. See the manuals - run-time environment / compatibility. -- Richard Huxton Archonet Ltd ---

Re: [BUGS] BUG #1761: missing files

2005-07-08 Thread Richard Huxton
PostgresqlDAC? http://microolap.com/products/connectivity/postgresdac/ As far as I can see, it looks like you have a problem in your application code rather than with PostgreSQL itself. If that's the case, then the pgsql-general list is probably a good starting point for your questions. -- Rich

Re: [BUGS] postgresSQL data directory

2005-07-08 Thread Richard Huxton
ll failed starting up. Did the initdb work? Was the error message the same? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] Field add error

2005-07-04 Thread Richard Huxton
ral mailing list where there are lots of people who can help you. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] BUG #1722: table with a serial field don't works

2005-06-20 Thread Richard Huxton
i tryed to use psql and the .net program on the same pc, or a lan-connected pc. If i change the type of the field originally SERIAL, the error vanish. Is the problem with the table not being found or the type of the column? -- Richard Huxton Archonet Ltd --

Rules and Permissions docs change (was Re: [BUGS] BUG #1610: rewrite rule and sequence)

2005-04-22 Thread Richard Huxton
Olleg Samoylov wrote: Richard Huxton wrote: That's not a bug, it's a feature (as they say). I suppose you could argue that a sequence only used by one table could inherit that table's permissions by default, but I can see problems when people reorder GRANT statements. It's n

Re: [BUGS] BUG #1610: rewrite rule and sequence

2005-04-21 Thread Richard Huxton
u create them separately from a table, you can have many columns using nextval('my_sequence') as their default. I suppose you could argue that a sequence only used by one table could inherit that table's permissions by default, but I can see problems when people reorder GR

Re: [BUGS] How Ican to upgrade to Latest Version of postgresql

2005-04-19 Thread Richard Huxton
store the dumps -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing

Re: [BUGS] BUG #1598: using default 'now', or now() or CURRENT_TIMESTAMP

2005-04-15 Thread Richard Huxton
e you wait for one minute - that should do it. Alternatively, look at timeofday() instead. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [BUGS] BUG #1531: rotated log truncation broken

2005-03-08 Thread Richard Huxton
e not truncated because postgres was not running when the time based rotation occurs. You probably want to look at the "anacron" package - should be installed by default. Designed for just this sort of thing. You should find if you log to syslog it's already rotating those files.

Re: [BUGS] select clause not according to SQL standard

2005-02-25 Thread Richard Huxton
probably win my fight against a stubborn professor, that wants to stick to his big fat oe 'cause it is the most conforming db. What, with their use of nulls? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 6: Have you searche

Re: [BUGS] select clause not according to SQL standard

2005-02-25 Thread Richard Huxton
resql.conf? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] BUG #1500: child dead

2005-02-23 Thread Richard Huxton
t; if a dump is possible. Karel, can you look into it? I got sig-11 here (although that was with an 8.0 beta I had lying around) - does it with intervals but not with dates. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] BUG #1487: Index problem

2005-02-21 Thread Richard Huxton
ex (see ch 11.6 of the manuals). I think there are examples in the mailing-list archives. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] BUG #1487: Index problem

2005-02-21 Thread Richard Huxton
Dave Page wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Huxton Sent: 21 February 2005 15:37 To: Tom Yeh Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #1487: Index problem The above can be replicated by using pgAdmin III only

Re: [BUGS] BUG #1487: Index problem

2005-02-21 Thread Richard Huxton
e better to post details to the performance or sql lists where there are more people to help answer. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [BUGS] BUG #1485: upper case user names / creatuser

2005-02-21 Thread Richard Huxton
need to do is issue SQL like: ALTER USER "Hannes" ... Personally, I keep all objects and users lower-case only, it makes my life easier. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] BUG #1486: Apostrophes are not ignored in pgplsql comments

2005-02-21 Thread Richard Huxton
t past that stage of parsing. There are similar issues with regexp strings. If you're using dollar-quoting in 8.0 the problem is gone. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] character varying as boolean !!! help

2005-01-13 Thread Richard Huxton
isleading you here. You want a comma not AND above. The parser is reading that as: UPDATE cfp SET testo=('test' AND cod_procedimento='82') -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: you can get off all li

Re: [BUGS] RULES doesn't work as expected

2005-01-12 Thread Richard Huxton
he rule qualification and the original query tree's qualification; and the original query tree with the negated rule qualification added" So, in your case you get two branches: 1. INSERT ... WHERE NOT EXISTS (...) 2. SELECT * FROM TEST WHERE EXISTS (...) Is this making s

Re: [BUGS] RULES doesn't work as expected

2005-01-12 Thread Richard Huxton
e you'd want to consider concurrency and locking issues too. Repost your question on the general/sql lists if you'd like some discussion. It's probably worth checking the list archives too - plenty in there about rule/trigger differences. -- Richard Huxton Arc

Re: [BUGS] BUG #1326: Unique and Primary Key index over bigint type

2004-11-19 Thread Richard Huxton
x27;...' is type unknown so it looks at x.id to see what type it wants and casts for you. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail c

Re: [BUGS] BUG #1325: like error

2004-11-18 Thread Richard Huxton
so you might want to read the FAQ, particularly section 4.8 http://www.postgresql.org/docs/faqs/FAQ.html -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] possible bug using combination of 'serial' and rule

2004-11-01 Thread Richard Huxton
table only contains odd storage_ids, while the log table only contains even ones. This is as expected (though perhaps not what you want). Rules are basically macros, so you can end up with nextval() etc. being evaluated multiple times. For logging inserts, you want a trigger. HTH

Re: [BUGS] error

2004-08-18 Thread Richard Huxton
http://www.postgresql.org/news/216.html This is going to be a native Windows port and there is a standard installer for it (link in the news article). This probably makes more sense if you're just starting out. Good Luck! -- Richard Huxton Archonet Ltd ---(end of

Re: [BUGS] I/O Bug

2004-08-18 Thread Richard Huxton
from backend - Exception: java.net.SocketException: Connection reset Ken, is there anything interesting in the postgresql logs? Oh, and what platform is this on? -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 3: if posting/reading throu

Re: [BUGS] Problem with now() on 7.4.1-3 under cygwin?

2004-06-25 Thread Richard Huxton
with (iirc) the dbexperts version. Restarting PG fixed it there too. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere&

Re: [BUGS] BUG #1176: PHP connection

2004-06-22 Thread Richard Huxton
ommend you subscribe to the novice mailing list (details at http://www.postgresql.org/lists.html) - lots of good help there. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] BUG #1169: Select table.oid from view seems to loop

2004-06-17 Thread Richard Huxton
ke a crash. In 7.4 there is a postgresql.conf setting to control this behaviour (add_missing_from). I'd turn it off, as I've always found it to cause problems rather than solve them. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 2

Re: [BUGS] BUG #1090: initdb does not work

2004-06-10 Thread Richard Huxton
TAIL: Failed system call was shmget(key=1, size=1081344, 03600). Have you read the FAQ? http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN You don't say whether you followed step 3a - starting the ipc daemon. -- Richard Huxton Archonet Ltd ---(end of broadcast

Re: [BUGS] memory does not return back

2004-06-03 Thread Richard Huxton
of my records and PC becomes very > slow. > Even if I restart postgresql , the memory does not return back. Which would suggest perhaps that postgresql might not be the problem here. Can you provide output from ps/top showing memory usage for the key processes involved here? -- Richar

Re: [BUGS] BUG #1156: Database is not initializing

2004-05-26 Thread Richard Huxton
file called /var/log/postgresql or /var/log/pgsql (or similar). That log file should contain lines indicating the details of the problem. You should have a pg_hba.conf file, probably in /var/lib/pgsql/... or /etc. What does this contain? -- Richard Huxton Archonet Ltd

Re: [BUGS] BUG #1156: Database is not initializing

2004-05-26 Thread Richard Huxton
: Missing or erroneous pg_hba.conf file, see postmaster log for details Some more details needed: 1. What does the log show? 2. Where is your pg_hba.conf file? 3. Does it contain any errors? -- Richard Huxton Archonet Ltd ---(end of broadcast

Re: [BUGS] Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins

2004-05-25 Thread Richard Huxton
om the default. I tried to get a stack trace; unfortunately the stack is corrupted but this much (truncated) looks for real: ... #8 0x40ecb020 in ?? () from /lib/libnss_wins.so.2 ... #35 0x4028efce in __errno_location () from /lib/libc.so.6 For the record, my Fedora setup is slightly behind the release version of core-2. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] BUG #1132: I can't connection to Postgresql

2004-04-14 Thread Richard Huxton
ure you provide the error message when you post to the mailing list. PS - We have lots of mailing lists, for PHP, Java etc. too and searchable archives. Best of luck with your problem. If I can be of any more help, you can find me on the pgsql-general or pgsql-sql mailing lists. -- Ri

Re: [BUGS] BUG #1098: Multiple ON INSERT rules not applied properly in the case of INSERT...SELECT

2004-03-11 Thread Richard Huxton
ry for each row in quips_transactions (which is what you want). You probably need a trigger on the transactions table that issues separate queries for each row inserted. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] not necessarily a bug...

2004-03-10 Thread Richard Huxton
controlled via the pg_hba.conf file. Check the settings there, and let us know if you still think there is a problem. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] BUG #1088: Name resolution connecting to a database

2004-03-02 Thread Richard Huxton
Don't forget it could be a problem with server A lookup up server B or vice versa. HTH -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] memory does not return back

2004-02-18 Thread Richard Huxton
ortant values are on the second line - 99MB used, 875MB free. If you still think there is a problem, can you show the output of "top" when your system's memory usage increases. Tip: press "M" (not "m") to sort the output by memory usage. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [BUGS] BUG #1079: ALTER TABLE does not add foreign key

2004-02-11 Thread Richard Huxton
r on this. You can add a foreign key with something like (example from manual): ALTER TABLE distributors ADD CONSTRAINT distfk FOREIGN KEY (address) REFERENCES addresses(address) MATCH FULL; -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TI

Re: [BUGS] BUG #1059: Second Call of a PGSQL-function fails

2004-01-21 Thread Richard Huxton
orary tables. HTH PS - If you think the documentation needs clarifying, suggestions on wording are always appreciated, preferably on pgsql-docs mailing list. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 9: the planner will ignore

Re: [BUGS] BUG #1049: Invalid SQL Executed as JDBC Prepared Statement still executes embedded SQL

2004-01-15 Thread Richard Huxton
wait for a patch that prevents invalid SQL from executing valid sub > transactions. I'm saying it _could_ be considered a feature rather than a bug, but the people who will know more than me will be hanging out on the jdbc list. It's entirely possible that someone there will go "

Re: [BUGS] BUG #1049: Invalid SQL Executed as JDBC Prepared Statement still executes embedded SQL

2004-01-14 Thread Richard Huxton
ur system. This is standard security practice. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] [GENERAL] CASE in where statement. BUG ??

2003-12-19 Thread Richard Huxton
_field = 0" should be used. But until it's evaluated ''<>'' it doesn't know it is false. When building the CASE expression, it's trying to map types to each elements and notes that '' is not an int. Only after this stage will it actually try

Re: [BUGS] installation problem

2003-12-08 Thread Richard Huxton
t distribution of Linux you are using. 4. You don't give any error message details 5. You don't say what point in the installation guide you have reached. If you can address these points, ask again on the general list and we'll soon have you up and ru

Re: [BUGS] String index out of range - Postgresql 7.3.4, Resin & JDBC

2003-11-27 Thread Richard Huxton
the source for the jdbc driver near the line mentioned and see if you can see anything suspicious. Can't help you there since my java skills don't extend much past "hello world". -- Richard Huxton Archonet Ltd ---(end of broadcast)---

Re: [BUGS] my postgreSQL 7.4 beta for windows

2003-10-23 Thread Richard Huxton
of load you're testing it with. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] Minor irritant with comment parsing in a function (SQL)

2003-10-08 Thread Richard Huxton
On Wednesday 08 October 2003 20:56, Peter Eisentraut wrote: > Richard Huxton writes: > > CREATE OR REPLACE FUNCTION zzz_test () RETURNS text AS ' > > SELECT ''hello world'' > > -- SELECT ''goodbye world'' > > > >

[BUGS] Minor irritant with comment parsing in a function (SQL) body

2003-10-08 Thread Richard Huxton
ext; " It took forever to find a simple reproducible example, but the rules seem to be: 1. You must have quoting at the end of both adjacent lines 2. Both lines must be within a single SQL statement. 3. You must use the -- comment, not /* ... */ Originally spotted with a formulation like:

Re: [BUGS] pg_dump/restore issue with schemas

2003-10-03 Thread Richard Huxton
On Friday 03 October 2003 16:20, Tom Lane wrote: > Richard Huxton <[EMAIL PROTECTED]> writes: > > On dump/restore the search_path is set to reports, pg_catalog so of > > course you get a "no relation a" error > > This is an SQL function right? It was indeed

[BUGS] pg_dump/restore issue with schemas

2003-10-03 Thread Richard Huxton
hat search_path settings were at the time the function was originally designed. -- Richard Huxton Archonet Ltd ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] [GENERAL] plPGSQL bug in function creation

2003-09-09 Thread Richard Huxton
B (1 row) richardh=# select version(); version - PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.96 Not sure whether this is because of the change 7.3.1->7.3.2 or cygwin vs linux. Don&

Re: [BUGS] [PERFORM] pgsql inserts problem

2003-08-28 Thread Richard Huxton
. As for PG silently discarding inserts, your best bet might be to write a short Perl script to reproduce the problem. Without that, people are likely to be sceptical - if PG tended to do this sort of thing, none of us would use it. -- Richard Huxton Archonet Ltd

Re: [BUGS] [HACKERS] what is the meaning of "schema"?

2003-06-21 Thread Richard Huxton
7.1 and consider myself experienced with postgres > > Schemas are the best thing since slice breads but > the baker decided to poison the bread. Nice! Let me know if this reply helps -- Richard Huxton ---(end of broadcast)--- TIP 8: explain analyze is your friend