threads
listlengths
1
2.99k
[ { "msg_contents": "I have updated the release notes for 7.4.1 and HISTORY as of Dec 14. I\nwill make further adjustments before the 7.4.1 release.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your life is a hard dri...
[ { "msg_contents": "Hi, it seems there is an inconsistency with time zone handling to me:\n\ntest=# select version();\n version \n-------------------------------------------------------------\n PostgreSQL 7.4 on i686-pc-linux-gnu, compiled by GCC 2.95.3\n(1 row...
[ { "msg_contents": "============================================================================\n POSTGRESQL BUG REPORT TEMPLATE\n============================================================================\n\nYour name\t\t: Michael Fuhr\nYour email address\t: mfuhr@fuhr.org\n\n\nSystem C...
[ { "msg_contents": "I notice this in 7.3.4:\n\ntest=# create table test (a int4, b int4);\nCREATE TABLE\ntest=# create index idx on test(a) where b is null;\nCREATE INDEX\ntest=# \\d test\n Table \"public.test\"\n Column | Type | Modifiers\n--------+---------+-----------\n a | integer |\n b ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 16 December 2003 01:17\n> To: Ray Aspeitia\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] 7.4 include file conflict\n> \n> \n> Where are we going on the pgsql/include file conflic...
[ { "msg_contents": "Hi,\nI use PgSql for a lot of our company's need and I lack some features.\nI would like to know if there is plans to implement:\n- User permissions based on columns? (Ex: User1 has Select on Column \"CompayName\"\nbut User2 has update on column \"CompanyName\" while User3 has create new row\...
[ { "msg_contents": "Hi, I developing a program using postgres and linux like operating system.\nMy problem is this:\nI have a quite complicated view with roughly 10000 record. When I execute a\nsimple query like this \n\t\"select * from myview\"\npostgres respond after 50 - 55 minutes roughly. I hope that someon...
[ { "msg_contents": "> Bruce Momjian wrote:\n> \n> >Have you looked at the CONNX signal code on the Win32 page:\n> >\n> >\thttp://momjian.postgresql.org/main/writings/pgsql/win32.html\n> >\n> >It uses shared memory and events.\n> >\n> > \n> >\n> \n> Yes, and I just did again. I guess I must be missing \n> someth...
[ { "msg_contents": "> Hi, I am developing a program using postgres and linux like operating\n> system. My problem is this:\n> I have a quite complicated view with roughly 10000 record. When I execute\n> a simple query like this \n> \t\"select * from myview\"\n> postgres respond after 50 - 55 minutes roughly. I...
[ { "msg_contents": "Hi, I am developing a program using postgres and linux like operating\nsystem. My problem is this:\nI have a quite complicated view with roughly 10000 record. When I execute a\nsimple query like this \n\t\"select * from myview\"\npostgres respond after 50 - 55 minutes roughly. I hope that so...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Peter Eisentraut [mailto:peter_e@gmx.net] \n> Sent: 16 December 2003 09:09\n> To: Dave Page\n> Cc: pgman@candle.pha.pa.us; aspeitia@sells.com; \n> pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] 7.4 include file conflict\n> \n> Dave Page write...
[ { "msg_contents": "I suspect if you do \"explain\" against the SQL of the view, the answer\nwill be apparent.\n \nDonning my \"Karnak the magnificent hat {borrowed from Johnny Carson}\":\nYou are missing an index.\n \nFor the best help, post the SQL of your view, and also the Schema\ndefinition for the tables i...
[ { "msg_contents": "Hi, I am developing a program using postgres and linux like operating\nsystem. My problem is this:\nI have a quite complicated view with roughly 10000 record. When I\nexecute a simple query like this\n \"select * from myview\" \npostgres respond after 50 - 55 minutes roughly. I hope t...
[ { "msg_contents": "> > If you need a response once it has actually run, then the \n> main thread \n> > needs to do signal polling now and then. This has the bad \n> sideeffect \n> > that the main thread will block completely until the signal is \n> > delivered, which might be a while.\n> > \n> > I don't know wh...
[ { "msg_contents": "> -----Original Message-----\n> From: Magnus Hagander [mailto:mha@sollentuna.net] \n> Sent: Tuesday, December 16, 2003 7:53 AM\n> To: Andrew Dunstan; PostgreSQL-development; pgsql-hackers-win32\n> Subject: Re: [pgsql-hackers-win32] [HACKERS] [PATCHES] fork/exec patch\n> \n> \n> > > If you nee...
[ { "msg_contents": ">>We'd probably need a tool like \"pgsignal\" or something that \n>>would send signals to the backends. Since you can't use the \n>>kill commandline tool (that one only supports what would be \n>>called kill -9 on unix)\n>\n>When the user says \"net stop postmaster\", an entry point in\n>post...
[ { "msg_contents": "On Tue, Dec 16, 2003 at 10:29:20PM +0000, Jaime Casanova wrote:\n> >On Fri, Dec 12, 2003 at 09:59:23AM +0530, Somasekhar Bangalore wrote:\n\n> >>I too had the same problem; There was one query which used to take a\n> >>very long time. What I did was, I took a backup of the whole database.\n>...
[ { "msg_contents": "Neil Conway said:\n> Andrew Dunstan <andrew@dunslane.net> writes:\n>> In normal operation the only thing that should be signalling a\n>> backend is the postmaster.\n>\n> Oh? What about LISTEN/NOTIFY?\n>\n\ner, yeah. *self-lart*\n\n+\" ... or another backend\"\n\ncheers\n\nandrew\n\n\n\n", ...
[ { "msg_contents": "I'm working on a pljava module. In it, I'd like to cache some allocated\nstructures (allocated using TopMemoryContext) using a string as the key. I\nneed a hash or binary-search table with dynamic size where I can store\narbitrary structures and then find them using strings. Typical size is l...
[ { "msg_contents": "\n> Ideally that path isn't taken very often. But I'm currently having a\n> discussion off-list with a CMU student who seems to be seeing a case\n> where it happens a lot. (She reports that both WALWriteLock and\n> WALInsertLock are causes of a lot of process blockages, which seems to\n> me...
[ { "msg_contents": "Hi,\n\nwhile trying to create a query this afternoon dealing with intervals, I \nnoticed the following behaviour and I wondered, if it is intended. (It was \nnon-intuitive to me and if there was a warning in the docs i missed it.)\nThe lines marked <--- make me wonder ...\n\ntschwarz=> se...
[ { "msg_contents": "\nI've been usin psql for quite a long time and I found it to be very\ncomfortable. Since some web providers in my country refuse to put psql\nwhile some thing are still in psql TODO list, I'm interested in\nfollowing...\n\n\nI'd like to know when are you planning to deal with this TODO item:...
[ { "msg_contents": "I'm curious if anyone has ever looked into adding OLAP functionality (per\nthe SQL99 specs) into PostGreSQL. I don't actually own the proper SQL99\nspecifications, and since the newer sql2003 ones are coming out I don't know\nwhich to purchase. Could someone point me in the right direction?...
[ { "msg_contents": "Andrew Dunstan wrote:\n\n>Before we even get there we need agreement on exactly what it means :-)\n>\n>Seems like the best place for the settings might be pg_hba.conf.\n>\n>Say we have a new keyword \"limit\" there. Here are the possibilities (I \n>think):\n\n<snip>\n\nFirst post (unlurking) ...
[ { "msg_contents": "David Felstead wrote:\n>\n>Andrew Dunstan wrote:\n>\n>>Before we even get there we need agreement on exactly what it means :-)\n>>\n>>Seems like the best place for the settings might be pg_hba.conf.\n>>\n>>Say we have a new keyword \"limit\" there. Here are the possibilities (I \n>>think):\n>...
[ { "msg_contents": "\"Andrew Dunstan\" <andrew@dunslane.net> writes:\n> Tom Lane said:\n>> On an implementation level, where are you thinking of enforcing this?\n\n> Without digging deeply at all I thought probably in the postmaster.\n\nNah, that's a nonstarter, because the postmaster has basically no\ninformati...
[ { "msg_contents": "I have put up a list of projects being worked on and their TODO lists in\nhope that people will find it easier to work on them:\n\n\thttp://momjian.postgresql.org/main/writings/pgsql/project\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us ...
[ { "msg_contents": "Dear All,\nI am planning to commit my PhD work (Under NDSU.edu) to further develop \nPostGreSQL so that it can emerge as a major player in the distributed \ngrid computing. Please send me if you have any suggestions ...\n\nSincerely\n\nSyed Mamun Raihan\n\n", "msg_date": "Wed, 17 Dec 2003...
[ { "msg_contents": "I see there is a cvs directory for this, what happened to the contents?\nOr do we just get this from apache?\n\nDave\n\n", "msg_date": "18 Dec 2003 07:04:21 -0500", "msg_from": "Dave Cramer <pg@fastcrypt.com>", "msg_from_op": true, "msg_subject": "apache rotate logs" } ]
[ { "msg_contents": "test_thread.pgc:51: undefined reference to `pthread_create'\nundefined reference to `pthread_join'\n\nDave\n\n", "msg_date": "18 Dec 2003 07:07:54 -0500", "msg_from": "Dave Cramer <pg@fastcrypt.com>", "msg_from_op": true, "msg_subject": "ecpg tests compile failure" }, { ...
[ { "msg_contents": "I find this a little strange:\n\nselect date_part('year', '0002-01-01 BC'::date);\n date_part\n-----------\n -1\n\nIt seems 1 BC and 0 are the same year.\n\nIn backend/utils/adt/formatting.c:\n\n if (tmfc.bc)\n {\n if (tm->tm_year > 0)\n ...
[ { "msg_contents": "Hi,\n\nI want to concatenate a it counter to a string in a loop in plpgsql.\nDECLARE\ncounter integer := 1;\nIdSet char : = 'UniqueId'\nIdForEachRun varchar;\nBEGIN\n\nIdForEachRun := IdSet || counter;(PROBLEM HERE)\n--Or IdForEachRun := IdSet + counter;(PROBLEM HERE)\nWhile condition LOOP\n\...
[ { "msg_contents": "Is there any good reason for this restriction?\n\nregression=# begin;\nBEGIN\nregression=# declare c cursor for select * from tenk1 for update;\nERROR: DECLARE CURSOR ... FOR UPDATE is not supported\nDETAIL: Cursors must be READ ONLY.\n\nWhile I have not tried it, I think that simply removi...
[ { "msg_contents": "\nIf people are happy with Tom's suggestion of using '*' instead of 'all' \nin pg_hba.conf I will prepare a patch for it.\n\n(I will also replace the ugly long IP6 localhost netmask with a CIDR mask).\n\ncheers\n\nandrew\n\n", "msg_date": "Thu, 18 Dec 2003 12:14:59 -0500", "msg_from":...
[ { "msg_contents": "How about the typical answer on Windows ? Create an invisible Window\nwith an Event Handler and pass it a windows message ?\n\nAndreas\n", "msg_date": "Thu, 18 Dec 2003 19:09:53 +0100", "msg_from": "\"Zeugswetter Andreas SB SD\" <ZeugswetterA@spardat.at>", "msg_from_op": true, ...
[ { "msg_contents": "\n> Does anyone know how Informix, where this file comes from, \n> handles this?\n\nInformix puts those files in $INFORMIXDIR/incl/esql (e.g. /usr/informix/incl/esql),\nso imho a /usr/postgres installation could have them somewhere under /usr/postgres\n\nAndreas\n", "msg_date": "Thu, 18 D...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n \n \nThe call for participation has been issued for the 2004 O'Reilly\nOpen Source convention, and once again, PostgreSQL has a track:\n \nhttp://conferences.oreillynet.com/cs/os2004/create/e_sess\n \nProposals are due on February 9, 2004, an...
[ { "msg_contents": "For those working on search features, here's a new collection of essays \non full text indexing mentioned on slashdot:\n\nhttp://www.tbray.org/ongoing/When/200x/2003/07/30/OnSearchTOC\n\nChris\n\n", "msg_date": "Fri, 19 Dec 2003 11:14:51 +0800", "msg_from": "Christopher Kings-Lynne <c...
[ { "msg_contents": "\nHello, can you please tell me how to return a NULL value\nfrom a function? I am running postgresql 7.3.2. and the\nfollowing is my case. Thank you very much.\n\nChongbing\n\n============ header file ===============\n\n#include \"postgres.h\"\n#include \"fmgr.h\"\n#include <string.h>\n#inclu...
[ { "msg_contents": "There is no zero calendar year. The first year of Anno Domini is 1. It's ordinal, not cardinal.\n\n> -----Original Message-----\n> From: Karel Zak [mailto:zakkr@zf.jcu.cz] \n> Sent: Friday, December 19, 2003 12:04 AM\n> To: Kurt Roeckx\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HA...
[ { "msg_contents": "I noticed that pltcl.so is now always linked with -lc. That is normally not a \ngood idea with gcc, because gcc figures out its own order of -lgcc and -lc. \nIf you specify -lc explicitly, then you override -lgcc.\n\nI think this change\n\nhttp://developer.postgresql.org/cvsweb.cgi/pgsql-se...
[ { "msg_contents": "Hi,\n\nI have a problem with \"AFTER INSERT TRIGGER\", and ask for your help for resolve\nof this problem.\nI want to insert one row in the table with the \"AFTER INSERT TRIGGER\".\nFor this I turn off the \"AFTER INSERT TRIGGER\" and do \"INSERT INTO table_name...\".\nAfter that I turn on th...
[ { "msg_contents": "Folks,\n\nI brought up this issue a couple of weeks ago on the Performance list. Since \nthen, I've gotten e-mail confirmation from a few other users seeing this \nproblem. Here's the shape of the problem, we just don't know what causes it. \nI've been trying to do some profiling, but sinc...
[ { "msg_contents": "The 14 december I submitted a patch that implements named function\narguments. So far no one have said anything about that. It would be nice\nif someone could look at it and either reject, accept, put on queue, or\nanything else.\n\nThe patch is very big (400k), but most of that size comes fr...
[ { "msg_contents": "pgman wrote:\n> Tom Lane wrote:\n> > Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > > How about if we add a UNION that does:\n> > > \tUNION\n> > > \tSELECT 'non-local temp schemas skipped', NULL\n> > \n> > I think showing that would only be appropriate if we actually *did* skip\n> > some...
[ { "msg_contents": "I have updated the 7.4.1 release notes so it has all the current changes\nlisted. We have addressed all open 7.4.1 items so we are nearing 7.4.1\nrelease time.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\...
[ { "msg_contents": "\nHi all,\n\njust a small note to anyone who is interested in the status of this port.\n\nFirstly, the fork/exec changes are coming along well. The first patch, for\nfork/exec'ing of backends has been accepted and applied. A second patch, for\nfork/exec'ing of the remainder of the postgres pr...
[ { "msg_contents": "I've stumbled against the inability to put null values within an array. The\nPostgreSQL User's Guide on the subject states in part:\n\n <<A limitation of the present array implementation is that individual\nelements of an array cannot be SQL null values. The entire array can be set\nto nu...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\tpetere@svr1.postgresql.org\t03/12/21 17:36:34\n\nModified files:\n\tdoc/src/sgml : Tag: REL7_4_STABLE release.sgml \n\nLog message:\n\tSome refining of release notes. Markup is still broken by someone else,\n\tso I cannot remake ...
[ { "msg_contents": "\nwill do a general announce Monday afternoon, but if someone can test and\nconfirm that I haven't missed anything, that would be great...\n\n\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy I...
[ { "msg_contents": "Hey Tom,\n\nWith regards to our previous conversation about dropping columns now \nproperly dropping indexes that contain predicates that reference that \ncolumn, I now find it a bit disconcerting that such indexes are \nautomatically removed when the column is dropped, instead of requiring ...
[ { "msg_contents": "\nBruce Momjian wrote:\n> > \t* a workable pipe replacement\n> \n> I don't have 'pipe' mentioned on the win32 patch. Can you \n> give details?\n\nYeah you do. The second point under \"Problems with select()\".\n\nBasically, the Win32 call to pipe() returns a file descriptor which is\ninvalid...
[ { "msg_contents": "> Bruce Momjian wrote:\n> > > \t* a workable pipe replacement\n> > \n> > I don't have 'pipe' mentioned on the win32 patch. Can you\n> > give details?\n> \n> Yeah you do. The second point under \"Problems with select()\".\n> \n> Basically, the Win32 call to pipe() returns a file descriptor \n...
[ { "msg_contents": "psql \\d always double-quotes table names:\n\t\n\t Table \"public.xx\"\n\t Column | Type | Modifiers\n\t--------+---------+-----------\n\t y | integer |\n\tIndexes:\n\t \"ii\" btree (y)\n\n\nWith this patch, double-quotes are not used when not required:\n\t\n\ttest=> \\d xx\n\...
[ { "msg_contents": "Greetings...\n\nI've run into a problem with the way \\copy behaves when psql is\nreading its input from a file using either the -f command line option\nor the \\i command. (Not that it matters in this case, but this is\nPostgreSQL 7.4 on i686-pc-linux-gnu, compiled with gcc.)\n\nThe followi...
[ { "msg_contents": "Greetings...\n\nI've run into a problem with the way \\copy behaves when psql is\nreading its input from a file using either the -f command line option\nor the \\i command. (Not that it matters in this case, but this is\nPostgreSQL 7.4 on i686-pc-linux-gnu, compiled with gcc.)\n\nThe followi...
[ { "msg_contents": "I just had the parallel regression tests hang up due to what appears to\nbe a bug in the new ARC code. The CLUSTER test gets into an infinite\nloop trying to do \"CLUSTER clstr_1;\". The loop is in\nStrategyInvalidateBuffer's check that the buffer is already in the\nfreelist; it isn't, and ...
[ { "msg_contents": "\n\nBegin forwarded message:\n\n> From: Michael Glaesemann <grzm@myrealbox.com>\n> Date: December 23, 2003 3:42:24 PM CST\n> To: \"'pgsql-sql@postgresql.org'\" <pgsql-sql@postgresql.org>\n> Subject: [SQL] Distributed keys\n>\n> Hello all!\n>\n> An area of the relational database model that is...
[ { "msg_contents": "Here's Tom Lane's response to my original post on pgsql-sql:\n\n> This seems to have considerable overlap with the problem of indexing\n> inheritance hierarchies (so that constraints on tables with children\n> would work as people expect). It may be that it's sufficient to solve\n> it for in...
[ { "msg_contents": "I'd like to request the following feature:\n\nFrequently when answering questions on IRC for people, questions fall\ninto one of two categories, \"what function can I use to manipulate\ndatatype xyz,\" and \"what datatype can i use for xyz.\"\n\nThe latter is harder to answer than the former....
[ { "msg_contents": "Hello...\n\nwell perhaps it is very OT...\nHere are two pictures of the PostgreSQL booth on the Linux World Expo & \nConference in Frankfurt 2003.\n\nI took the photos and had a talk to the two Postgre guys ;D\nThey were really friendly.\n\nhttp://www.qtforum.org/test/IMG_1583.JPG\nhttp://www...
[ { "msg_contents": "\nhi\n\ni need to connect to by my database more then 100 connections,\nbut after ~20-30 conn, postmaster says me \"Resource temporarily\nunavailable\", what are this resource ?\n\nim using debain with kernel 2.4.23-pre7, on P4 , (postgres 7.4.1)\nwhat can be wrong ?\n\n\n", "msg_date": "...
[ { "msg_contents": "DBT-2 and PostgreSQL 7.4 is finally working with LVM2 at 100 and 200\nwarehouse scale factors on 8-processor system in STP with 40 drives (38\nmanaged under LVM), but not without a few catches. I have written up\nsome brief instructions on how to execute the test successfully with the\nLinux-...
[ { "msg_contents": "In manage-ag.sgml our docs says:\n\n[...]\n risk. To allow it, you must compile <productname>PostgreSQL</> with\n the C preprocessor macro <literal>ALLOW_ABSOLUTE_DBPATHS</>\n defined. One way to do this is to run the compilation step like\n this:\n<programlisting>\ngmake CPPFLAGS...
[ { "msg_contents": "Hi,\n\nIntel recommends to add a special pause instruction into spinlock busy \nloops. It's necessary for hyperthreading - without it, the cpu can't \nfigure out that a logical thread does no useful work and incorrectly \nawards lots of execution resources to that thread. Additionally, it's \...
[ { "msg_contents": "Hi,\n \nI am attempting to use Setof Record dynamically. I am developing an application where I will not know what the end-user is trying to work with from a web front end. Thus I will not know before hand the structure of the table I am trying to pull the record from.\n \nMy Code:\n \nCREATE...
[ { "msg_contents": "\n\nis there same easy way to turn on translation bettwen client and server\nfrom linux new-line style (0x0A) to windows style (0x0A0D?)\n(something like conversions) ?\n\n", "msg_date": "Sat, 27 Dec 2003 14:19:10 +0100 (CET)", "msg_from": "ivan <iv@psycho.pl>", "msg_from_op": tru...
[ { "msg_contents": "Hi Ivan,\n\nmaybe your're looking for something like this:\n\nhttp://rcamera.org/cgi-bin/man2html.cgi?1+unix2dos\n\nHTH,\n\nJ�rgen Cappel\n\n\nivan <iv@psycho.pl> schrieb am 27.12.2003, 14:19:10:\n>\n>\n> is there same easy way to turn on translation bettwen client and server\n> from linux ...
[ { "msg_contents": "Hi,\n \nI was wondering if a solution was ever found to the error: \"wrong record type supplied in RETURN NEXT\" when executing a function that returns the Record datatype? I have seen a couple of previous post from Tom Lane and others, but no real resolution.\n \nI am attempting to execute t...
[ { "msg_contents": "Hi all,\nI'm founding little messy the RPM condition for redhat:\n\nInside the RH9.0 coesist the 7.4.0-0.3 and 7.4.0-0.5 versions\nlooking on other RH directory version I found that actually\n\n7.4.0-0.2\n7.4.0-0.3\n7.4.0-0.4\n7.4.0-0.5\n\nare existing.\nInside the SRPMS directory is present ...
[ { "msg_contents": "Hello ,\n\nI was trying to write a patch code in converting the querytree being \ngenerated after the pg_analyze_and_rewrite().\nFor that I want to know the operator name ( like =, < , <> etc ) .. but the \nOper node stores the \"opno \"\n\nHow to get the operator from the opno ???\n\nThanks ...
[ { "msg_contents": "\n\nhi\n\nhow to do select from same table to get only unique values from same\ncolumn(s) ?\n\n\n", "msg_date": "Sun, 28 Dec 2003 22:44:16 +0100 (CET)", "msg_from": "ivan <iv@psycho.pl>", "msg_from_op": true, "msg_subject": "select from table with unique values" }, { "...
[ { "msg_contents": "Dear all ,\n\nI would like to share my concerns about the IEEE 754 specification and \nfloating point handling by PostgreSQL .\n\nAlso I would like to learn how professional users of PostgreSQL work \nwith rounding of monetary terms .\n\nIf you would like to know whats IEEE 754 read this\n...
[ { "msg_contents": "Dear all:\n\nThis may not be the right list to refer to the rpm,\nbut I am confident that someone on this list will be\nable to point me in the right direction.\nI am trying to make sure when this rpm is installed,\nit installs to /opt/postgresql-7.2.4/ in stead of\n/usr/bin, /usr/man etceter...
[ { "msg_contents": "Hi!\n\nI'll have time and wish to work on concurrence GiST during january.\nNow I am reading some paper about this and looking into code of postgres for \nlock management. As I see, postgres doesn't support intentional lock. Is it \nright? or I missed something...\n\nI can use NSN (node seque...
[ { "msg_contents": "Hello,\n\nI've tried asking this question elsewhere and have not received a \nsatisfactory response.\n\nI want to restrict users of my packaged database from directly accessing \nthe data or reading the schema. I would provide access to the read-only \ndata through functions (which works well...
[ { "msg_contents": "\nI cannot get rid of a sequence:\n\n\tgis=# drop sequence geopol.geology_gid_seq;\n\tERROR: cache lookup of relation 8511697 failed\n\nYes, geology_gid_seq have been created as a consequence of a\ngeology.gid attribute of type serial.\nAnd.. yes, I've removed the relation with a delete on p...
[ { "msg_contents": "Hi, quick questions related to phpPgAdmin development.\n\n1. What objects can possibly appear in the pg_temp* schemas? Is it just \ntables, views and sequences?\n\n2. As above, but the pg_toast schema. Tables only here?\n\n3. Am I guaranteed that a temp schema is 'pg_temp_*' and a toast one...
[ { "msg_contents": "I've hacked my dbt2-pgsql test on STP so that patches can be applied to\nPostgreSQL 7.4 in a limited fashion by taking advantage of PLM. I have some\ninstructions on how this can be done at the bottom of this web page:\n\thttp://developer.osdl.org/markw/stp_dbt2_howto.html\n\nLet me know if ...
[ { "msg_contents": "\n\nas new know plpgsql has special cache which remember too long (event\nnon-existing tables (i mean old oid)) so i suggest to create same function\nonly in plpgsql which would clear this cache, or sth like this ?\n\nfor ie, where i drop table i would do plpgsql_clear_cache ();\nand when i w...
[ { "msg_contents": "We've had a couple of complaints in the past about recursive functions\ncrashing the server by overflowing the C execution stack. There is a\nGUC variable max_expr_depth that is intended to prevent this sort of\nproblem for the particular case of overly complex arithmetic\nexpressions, but i...
[ { "msg_contents": "Hi all;\n\nI just made an interesting discovery. Not sure if it is a good thing or\nnot, and using it certainly breakes first normal form.... Not even sure if\nit really works. However, as I am able to CRASH the backend, there is a bug\nhere somewhere...\n\ntest=# select version();\n ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 31 December 2003 02:41\n> To: PostgreSQL-development\n> Cc: Tom Lane; Peter Eisentraut; chriskl@familyhealth.com.au\n> Subject: Re: [HACKERS] [PATCHES] Quoting of psql \\d output\n> \n> We have ...
[ { "msg_contents": "\n\ni didnt find gethostbyaddr, could be this in default implementation ?\n\n", "msg_date": "Wed, 31 Dec 2003 14:26:25 +0100 (CET)", "msg_from": "ivan <iv@psycho.pl>", "msg_from_op": true, "msg_subject": "Happy New Year ! :) and about gethostbyaddr" } ]
[ { "msg_contents": "Hello,\n\nHas anybody had such problem - I tested Mammoth PostgreSQL for Windows and I\ndid not like that it completely killed my cygwin, did not allow console\ncommands to the database, etc., and then I uninstalled it.\n\nSince then the cygwin refused to operate properly.\n\n From Command Pr...
[ { "msg_contents": "Hi Manfred,\n\nJust wanted to let you know I tried your patch-spinlock-i386 patch on\nour STP (our automated test platform) 8-way systems and saw a 5.5%\nimprovement with Pentium III Xeons. If you want to see those results:\n\nPostgreSQL 7.4.1:\n\thttp://khack.osdl.org/stp/285062/\n\nPostgreS...
[ { "msg_contents": "I have included the JDBC mailing list since I guess most Java developers \nare around here, but not necessarily on Hackers.\n\nDave Cramer and I where discussing a few issues about the PL/Java \nimplementation last night and would like to get more input and \nsuggestions on the matter.\n\nThe...
[ { "msg_contents": "Paul Schlie wrote:\n> this can not be relied upon, a strategy potentially utilizing the suspect\n> data as if it were good likely needs to be adopted, accompanied somehow with\n> a persistent indication that the query results (or specific sub-results) are\n> themselves suspect, as it may ofte...
[ { "msg_contents": "What is needed to provide spinlock support for linux on hppa?\n\nmake[5]: Entering directory `/build/buildd/postgresql-7.4.1/build-tree/postgresql-7.4.1/src/backend/access/transam'\n...\nhppa-linux-gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -pipe -I../.....
[ { "msg_contents": "in preproc.y:2021:\n\nopt_revoke_grant_option: GRANT OPTION FOR\n....\n $$ = make_str(\"with grant option\");\n\nshould be:\n\n $$ = make_str(\"grant option for\");\n\nI get the lastest CVS version.\n\n\n", "msg_date": "Thu, 1 Jan 2004 13:59:45 +0800", "msg_from": "\"William ZHA...
[ { "msg_contents": "\n\nhow can i change default time format because now i have for example\n2004-01-01 16:51:46.995927 but i want only 2004-01-01 16:51:46, with out\nmillisec. a tryed with Data-Style but there arent custom style :/\n\n\n", "msg_date": "Thu, 1 Jan 2004 16:55:18 +0100 (CET)", "msg_from": ...
[ { "msg_contents": "I try to execute Postgres on Linux. It is blocked\nin execution. When I traced through, I found out that\nit is blocked on invoking a malloc( ). Any help? Thank you\nin advance.\n\nShuqing\n\n\n", "msg_date": "Fri, 2 Jan 2004 11:53:30 -0500", "msg_from": "\"Shuqing Wu\" <swu@sympatico...
[ { "msg_contents": "Hi,\n \nI was wondering if I have a function that returns a record datatype, and I call it using the as keyword to specify the table structure, can I return a different structure than the one specified?\n \nSay I call select * from xy ('abc', 'def') as (samplea char, sampleb char) for a fun...
[ { "msg_contents": "Hi,\n \nI was wondering is there or will there be support for remote procedures/functions in Postgresql? Not only server to server, but database to database? Such as calling a function in DB \"B\" from DB \"A\" or Server Gaia DB \"B\" from Server Zeus DB \"A\"?\n \nAlex\n\nHi,\n \nI was wonde...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n \n \nSomeone mentioned in passing something on general:\n \n> To this day, I have trouble with that in PostgreSQL.\n> I'm constantly doing:\n>\n> psql> help;\n> ERROR: syntax error at or near \"help\" at character 1\n \nI seem to recall some...
[ { "msg_contents": "Hi,\n \nWas wondering if there was anything akin to an evaluate statement in Postgresql for dynamic strings?\n \nAlex\n\n\n\n\n\n\n\nHi,\n \nWas wondering if there was anything akin to an evaluate statement in Postgresql for dynamic strings?\n \nAlex", "msg_date": "Sun, 4 Jan 2004 13:09:0...
[ { "msg_contents": "Is it possible to make a composite GiST index? I want to create an \nindex on a txtidx and a timestamp column - is that at all possible?\n\nChris\n\n", "msg_date": "Mon, 05 Jan 2004 14:42:05 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op...
[ { "msg_contents": "\n\nwhy there are no operators +-*/ to oid data type ?\n\n\n", "msg_date": "Mon, 5 Jan 2004 09:17:37 +0100 (CET)", "msg_from": "ivan <iv@psycho.pl>", "msg_from_op": true, "msg_subject": "operators +/- with oids" }, { "msg_contents": "ivan <iv@psycho.pl> writes:\n> why ...
[ { "msg_contents": "I see following in the doc:\n\nTable 9-21. Template Patterns for Date/Time Formatting\n:\n:\nJ Julian Day (days since January 1, 4712 BC)\n\nI think 4712 should be 4713.\n--\nTatsuo Ishii\n", "msg_date": "Mon, 05 Jan 2004 19:02:16 +0900 (JST)", "msg_from": "Tatsuo Ishii <t-ishii@sra.c...
[ { "msg_contents": " when i see the source codes in the bin directory,i find some very interesting codes:cat <<EOF\\.    INSERT INTO pg_description SELECT \\ t.objoid, c.oid, t.objsubid, t.description \\    FROM tmp_pg_description t, pg_class c WHERE c.relname = t.classname;EOF) \\ | \"$PGPATH\"/postgres $PGSQL...