threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hello,\n\nstd. use rename only for triggers and variables new and old. It has sense. I \ndon't see sense for rename in clasic plpgsql functions. There was one \nreason, rename unnamed $params. But currently plpgsql support named params \nand this reason is obsolete.\n\nRegards\nPavel Stehule\... |
[
{
"msg_contents": "Has anyone looked into $SUBJECT? I just today realized that the\nECPG-Check failures on that machine are not the run-of-the-mill\nsmall difference in the expected results. Rather, most of the\ntests are actually dumping core on the client side:\n\ntesting connect/test1.pgc ... |
[
{
"msg_contents": "3606c3606\n< errmsg(\"aggregate function calls cannot be nested\")));\n---\n> errmsg(\"aggregate function calls may not be nested\")));\n\nI don't think that this is an improvement, or even correct English.\n\nYou have changed a message that states that a... |
[
{
"msg_contents": "I am wanting to write some new C functions which leverage postgresql's\nexisting regexp code in an extension module. I notice that the functions\nRE_compile_and_cache and RE_compile_and_execute in\nsrc/backend/util/regexp.c contain the code necessary to connect the regexp\ncode in src/backen... |
[
{
"msg_contents": "Hi all,\n\nI found the need to determine the type of a datum at runtime. David\nFetter and Elein have already written about this:\nhttp://www.varlena.com/varlena/GeneralBits/117.php\n\n(My scenario is similar to the article there; I was writing a\nprocedure which unit-tests other procedures. ... |
[
{
"msg_contents": "Has anyone actually measured the performance overhead of storing \nvisibility info in indexes? I know the space overhead sounds \ndaunting, but even if it doubled the size of the index in many cases \nthat'd still be a huge win over having to scan the heap as well as \nthe index (esp. for... |
[
{
"msg_contents": "Hello,\n\nyou can identify type via operator OF.\n\nlike:\n\n IF a IS OF INTEGER THEN\n RAISE NOTICE 'Parametr a is numeric';\n ELSIF a IS OF varchar THEN\n RAISE NOTICE 'Parametr a is string';\n END IF;\n\nRegards\nPavel Stehule\n\n___________________________________________________... |
[
{
"msg_contents": "Hello,\n\nI miss doc for this operator\n\nRegards\nPavel Stehule\n\n_________________________________________________________________\nEmotikony a pozadi programu MSN Messenger ozivi vasi konverzaci. \nhttp://messenger.msn.cz/\n\n",
"msg_date": "Fri, 02 Feb 2007 08:47:22 +0100",
"msg_... |
[
{
"msg_contents": "Hi,\n\nconfigure with --enable-debug does not seem to add \"-g\" to CFLAGS while\ncompiling with gcc. Guess we will need to change configure.in as below:\n\n***************\n\n # supply -g if --enable-debug\n! if test \"$enable_debug\" = yes && test \"$ac_cv_prog_cc_g\" = yes; then\n CFLA... |
[
{
"msg_contents": "I'm reading the SQL Standard and I can't find anywhere that says that we\nneed to place SHARE locks on rows in the referenced table.\nRI_FKey_check() clearly does that.\n\nWhat I do see is this:\n\"4. For each row of the referenced table, its matching rows, unique\nmatching rows, and non-uniq... |
[
{
"msg_contents": "Hello\n\nI want to use custmized option for security configuration one contrib \nlibrary. Currently customized options are usable only for default \nconfiguration, because everybody can change it. It is substitution of global \nvariables.\n\nDecision if option is protected or not can be based... |
[
{
"msg_contents": ">\n>But I think a way to get around that would be to RENAME the arguments in \n>the DECLARE section, so user_id could become p_user_id under the covers.\n>\n\nIt's one case. But I don't belive so result will be more readable. Better \nsolution is using names qualificated by function name. I... |
[
{
"msg_contents": "=> select @-@ lseg '((0,0),(1,0))';\n ?column?\n----------\n 1\n(1 row)\n\n=> select @-@ path '((0,0),(1,0))';\n ?column?\n----------\n 2\n(1 row)\n\n----------\n\nIt's maybe bug in v8.2.1\n\n\n",
"msg_date": "Sat, 3 Feb 2007 03:33:19 +0900",
"msg_from": "\"Ioseph Kim\" ... |
[
{
"msg_contents": "I've been looking into Pavan Deolasee's recent discovery that when\nstoring a maximum-length toast tuple, heap_insert uselessly recurses\nto toast_insert_or_update, wasting a nontrivial number of cycles.\nIt turns out there are several interrelated mistakes here, which are\nwasting space as w... |
[
{
"msg_contents": "Hello,\n\nI've been implementing a type I needed, and happened to be using\nsnprintf(), since I have C99 available.\n\n\tereport(NOTICE,\n\t\t(errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),\n\t\terrmsg(\"%d\", snprintf(NULL, 0, \"abc\"))));\n\nFor me, this reports \"0\". I beieve it should repo... |
[
{
"msg_contents": "psql's \\copy (query) with a delimiter yields a syntax error:\n\n test=> \\copy foo to foo.txt delimiter '|'\n (works)\n\n test=> \\copy (select * from foo) to foo.txt\n (works)\n\n test=> \\copy (select * from foo) to foo.txt delimiter '|'\n ERROR: syntax error at or near \"USING\"\n ... |
[
{
"msg_contents": "Hi,\n\nis there a good reason to print the \"database system is ready\" message \nin StartupXLOG() in xact.c? It has a) nothing to do with xlog and b) \nopens a small race condition: the message gets printed, while it still \ntake some CPU cycles until the postmaster really gets the SIGCHLD s... |
[
{
"msg_contents": "I am writing a set returning function in C. There are cases where I can\nknow definitively, upfront, that this function will only return one row.\nI have noticed, through happenstance of partially converted function, that\nI can mark a normal, non-set returning function as returning SETOF\ns... |
[
{
"msg_contents": "Log Message:\n-----------\nAdd documentation for Windows on how to set an environment variable. \nBackpatch to 8.2.X.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n libpq.sgml (r1.224 -> r1.225)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/libp... |
[
{
"msg_contents": "have this about PQfreemem():\n\nFrees memory allocated by <application>libpq</>, particularly\n <function>PQescapeByteaConn</function>,\n <function>PQescapeBytea</function>,\n <function>PQunescapeBytea</function>,\n and <function>PQnotifies</function>.\n It is needed by Microsoft Wi... |
[
{
"msg_contents": "Hello,\n\nIs anyone working on a period data type as described in Dr. Richard Snodgrass' \nbook _Developing Time-Oriented Database Applications in SQL_[1]? I did not \nsee a relevant project listed in the TODO. I would like to contribute \n(possible funding and/or coding) the development of a... |
[
{
"msg_contents": "Hello,\n\nIs anyone working on a period data type as described in Dr. Richard Snodgrass' \nbook _Developing Time-Oriented Database Applications in SQL_[1]? I did not \nsee a relevant project listed in the TODO. I would like to contribute \n(possible funding and/or coding) the development of a... |
[
{
"msg_contents": "Hi,\n\nI would like to know why the test stats on \"pgbuildfarm/cardinal\" fails?\n\nRegards,\nGevik\n\n xml ... ok\ntest stats ... FAILED\ntest tablespace ... ok\n\n\n",
"msg_date": "Mon, 05 Feb 2007 15:53:03 +0100",
"msg_from": "Gevik Ba... |
[
{
"msg_contents": "Hackers,\n\nIn recent versions, we've changed the logging of function executions so \nthat only the function call is logged, and not any of the queries which it \nmay execute internally. While most of the time this method is superior \nfor performance analysis, in applications with extensive... |
[
{
"msg_contents": "Following an upgrade to 8.2.2, many of my plpgsql functions started to cause\nserver process crashes.\n\nI make use of a custom data-type \"uniqueidentifier\", available here:\n\nhttp://gborg.postgresql.org/project/uniqueidentifier\nftp://gborg.postgresql.org/pub/uniqueidentifier/stable/uniqu... |
[
{
"msg_contents": "Following an upgrade to 8.2.2, many of my plpgsql functions started to cause\nserver process crashes.\n\nI make use of a custom data-type \"uniqueidentifier\", available here:\n\nhttp://gborg.postgresql.org/project/uniqueidentifier\nftp://gborg.postgresql.org/pub/uniqueidentifier/stable/uniqu... |
[
{
"msg_contents": "Hello all,\n\nafter upgrading from 8.1.5 to 8.1.7, I got errors in the server log when \nupdating decimal values using string constants. I tried the same using \npsql (pasted the query from below) and it fails, too. Downgrading to \n8.1.5 resolved the issue.\n\nERROR: attribute 4 has wrong t... |
[
{
"msg_contents": "Hi all,\n\nMethinks I made a big mistake when swapping from 8.2.1 to 8.2.2\n\nI read the \"fix incorrect permission check in\ninformation_schema_key_column_usage_view\" chapter in HISTORY far too fast\nand fed psql on each database with share/information_schema.sql.\nToo late to stop it!\nWha... |
[
{
"msg_contents": "http://doxygen.postgresql.org is now set up for your browsing pleasure.\nIt's synced to anoncvs once per day.\n\n//Magnus\n",
"msg_date": "Tue, 06 Feb 2007 18:19:14 +0100",
"msg_from": "Magnus Hagander <magnus@hagander.net>",
"msg_from_op": true,
"msg_subject": "doxygen.postgr... |
[
{
"msg_contents": "I've been looking into converting some code to use strlcpy rather than \nstrncpy, as previously discussed. Making good use of strlcpy requires \nthe availability of strlcat as well, so I'm going to add the OpenBSD \nversion thereof to src/port/ as well, unless anyone objects.\n\n-- \nPeter E... |
[
{
"msg_contents": "As per numerous reports this morning, PG 8.2.2 and 8.1.7 both fail on\nfairly simple scenarios involving typmod-bearing columns (varchar,\nnumeric, etc) with check constraints or functional indexes (and maybe\nother cases too, but those are the ones reported so far). I have not\nbeen able to... |
[
{
"msg_contents": "On Feb 6, 12:27 pm, t...@sss.pgh.pa.us (Tom Lane) wrote:\n > As per numerous reports this morning, PG 8.2.2 and 8.1.7 both fail on\n > fairly simple scenarios involving typmod-bearing columns (varchar,\n > numeric, etc) with check constraints or functional indexes (and maybe\n > other cases t... |
[
{
"msg_contents": "around 6:30 this morning, I started getting the following messages in my log:\n\nFeb 6 06:33:34 mojo postgres[1117]: [2-1] :: ERROR: could not access\nstatus of transaction 544441911\nFeb 6 06:34:35 mojo postgres[1128]: [2-1] :: ERROR: could not access\nstatus of transaction 544441911\n[.... |
[
{
"msg_contents": "I'm still getting random failures from some of my buildfarm members\nwhich is starting to get a bit irritating and annoying :-(\n\nsome recent failures:\n\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=zebra&dt=2007-02-06%2015:25:04\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.p... |
[
{
"msg_contents": "Simon Riggs started this thread with the question:\n\n . . .\n Why do we need a SHARE lock at all, on the **referenc(ed)** table?\n . . .\n\nThe root problem addressed by this thread seems to be that using share\nlocks in this way increases the likelihood of deadlock, and causes\nblocking ... |
[
{
"msg_contents": "It would be great to be able to join to update, returning, etc. It\nlooks like the code was deliberately tied off as-is and I was\nsurprised not to see a todo for this.\n\nthe basic idea is to be able to do things like:\nselect * from (update foo set id = 1 returning *) q;\n\nwhich currently... |
[
{
"msg_contents": "Hello,\n\nCurrently PostgreSQL support set returning functions.\n\nANSI SQL 2003 goes with new type of functions - table functions. With this \nsyntax\n\nCREATE FUNCTION foo() RETURNS TABLE (c1 t1, ... )\n\nPostgreSQL equal statements are:\n\nCREATE TYPE tmptype AS (c1 t1, ...)\nCREATE FUNCTI... |
[
{
"msg_contents": "[ BCC to hackers list.]\n\nAnyone going to the LinuxWorld Summit in New York City next week?\n\n\thttp://www.linuxworldsummit.com/live/14/\n\nI am going on the 15th. PostgreSQL doesn't have a booth at the event.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n Enterp... |
[
{
"msg_contents": "What is the practical purpose of the notices emitted by DROP SOMETHING IF \nEXISTS when the object in fact does not exist?\n\n-- \nPeter Eisentraut\nhttp://developer.postgresql.org/~petere/\n",
"msg_date": "Wed, 7 Feb 2007 14:13:48 +0100",
"msg_from": "Peter Eisentraut <peter_e@gmx.ne... |
[
{
"msg_contents": "Heap Only Tuples (\"HOT\") is a simplification of earlier proposals for\nimproving the way the server handles frequent updates, based upon what's\nbeen learned and feedback received.\n\nHeap Only Tuples\n----------------\n\nThe basic idea is that when a tuple is UPDATEd we can, in certain\nci... |
[
{
"msg_contents": "If I have a multi-call SRF and a user_fctx struct allocated in the\nmulti_call_memory_ctx, and in the if(SRF_IS_FIRSTCALL()) block while still\nin the multi_call_memory_ctx I use PG_GETARG_TEXT_P(n) to get an argument\nto my function, and stash the result of this in my user_fctx struct, am I\... |
[
{
"msg_contents": "Just thought this ought to be shared with everyone. :-)\n\n---------- Forwarded Message ----------\n\nSubject: [webmaster] Its has been a great db experience with pg.\nDate: Monday 01 January 2007 01:46\nFrom: amit.kumar@expressindia.com\nTo: webmaster@postgresql.org\n\nDear Sir,\nWe at Ind... |
[
{
"msg_contents": "Log Message:\n-----------\nReduce WAL activity for page splits:\n\n> Currently, an index split writes all the data on the split page to\n> WAL. That's a lot of WAL traffic. The tuples that are copied to the\n> right page need to be WAL logged, but the tuples that stay on the\n> original page ... |
[
{
"msg_contents": "Hi,\n\nsince str(n?)cat got replaced with strlcat, I fail to build PostgreSQL \n(current CVS HEAD). HAVING_DECL_STRLCAT is not set, so AFAIK, the \nstrlcat() function from src/port should be used. However, I've read the \nREADME there, but still don't quite know what's wrong.\n\nThe linker th... |
[
{
"msg_contents": "Hello,\n\nCould anyone tell me how to use 2GB of shared buffers on Windows? I'm\nsorry for attaching large text files and for sending this mail to this\nML.\nWhen I try to start PostgreSQL 8.2.1 on Windows 2003 Server with\nshared_buffers=1024MB, I get the following error messages in the Eve... |
[
{
"msg_contents": "Log Message:\n-----------\nAdd lock matrix to documentation.\n\nTeodor Sigaev\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n mvcc.sgml (r2.66 -> r2.67)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/mvcc.sgml.diff?r1=2.66&r2=2.67)\n",
"msg_da... |
[
{
"msg_contents": "Oops, forgot to include pgsql-hackers when I responded to this the first\ntime.\n\n On Tue, 2007-06-02 at 20:53 -0500, Tom Lane wrote:\n> Marc Munro <marc@bloodnok.com> writes:\n> > The RI triggers currently fire when a record is updated. Under my\n> > proposal they would fire in the same wa... |
[
{
"msg_contents": "I'm trying to build PostgreSQL 8.2.2 outside the ports system on a\nFreeBSD 6.2 amd64 box. The databases/postgresql81-server port builds\n8.1.7 just fine on the same box. My configure fails. I'm new to\nFreeBSD so I expect I'm missing something pretty obvious. config.log\nfollows. Line 2212 i... |
[
{
"msg_contents": "I can set up build farm on it if yall need it. Its running 6.2/amd64\n\n------- Original Message -------\nFrom: \"Andrew Hammond\" <andrew.george.hammond@gmail.com>\nTo: \" Larry Rosenman \" <ler@lerctr.org>\nSent: 2/8/07, 12:19:07 PM\nSubject: Re: BuildFarm: Do we need another FreeBSD/amd64... |
[
{
"msg_contents": "Can someone add this to the TODO?\n\n\n\n\n--\nJim Nasby jim@nasby.net\nEnterpriseDB http://enterprisedb.com 512.569.9461 (cell)",
"msg_date": "Thu, 8 Feb 2007 16:28:02 -0600",
"msg_from": "Jim Nasby <decibel@decibel.org>",
"msg... |
[
{
"msg_contents": "IF I run the following with the a < 2900 condition first, the more \nexpensive EXISTS only gets executed when needed, but if I change the \norder of the OR's, the EXISTS is always executed. It would be good if \nthe optimizer could re-order the OR conditions based on estimated \ncost (gra... |
[
{
"msg_contents": "I've been looking at this again and had a few conversations about it. This may\nbe easier than I had originally thought but there's one major issue that's\nbugging me. Do you see any way to avoid having every user function everywhere\nuse a new macro api instead of VARDATA/VARATT_DATA and VAR... |
[
{
"msg_contents": "Hi Folks,\n\nWe have a requirement to deal with large databases of the size Terabytes \nwhen we go into production. What is the best database back-up mechanism \nand possible issues?\n\npg_dump can back-up database but the dump file is limited by OS file-size \nlimit. What about the option of... |
[
{
"msg_contents": "\n From recent IRC discussion:\n\n. provide encode() for text values in addition to current bytea\n. proved cast from text to bytea\n\nThoughts?\n\ncheers\n\nandrew\n",
"msg_date": "Fri, 09 Feb 2007 10:45:44 -0500",
"msg_from": "Andrew Dunstan <andrew@dunslane.net>",
"msg_from_op"... |
[
{
"msg_contents": ">\n>\"Pavel Stehule\" <pavel.stehule@hotmail.com> writes:\n> > it can by more simple than I though. I need only one flag, and if its \n>true\n> > then I don't create language variables for OUT params. But I need one \n>next\n> > column in pg_proc.\n>\n>I thought you said this was just syntact... |
[
{
"msg_contents": "Almost a year ago, we talked about the problem that referential\nintegrity should be selecting comparison operators on the basis\nof b-tree index opclasses, instead of assuming that the appropriate\noperator is always named \"=\":\nhttp://archives.postgresql.org/pgsql-hackers/2006-02/msg00960... |
[
{
"msg_contents": "Temporal Extensions for PostgreSQL\nby: Warren Turkal\n\nI would like to see a comprehensive solution to time varying tables (or\ntemporal) in PostgreSQL. I specifically want to see suuport for valid-time and\ntransacation-time and bitemporal (valid-time and transaction-time) tables. I\nwill ... |
[
{
"msg_contents": "Hi,\n\nI have made a Sigres which accelerates INSERT/UPDATE on PostgreSQL using\nUPS.\nThe philosophy of Sigres is considering a battery supplied memory as a\npersistent device, instead of disk.\nYou can download it from http://sourceforge.jp/projects/sigres/ .\n\nIn my environment, Sigres is... |
[
{
"msg_contents": "Log Message:\n-----------\nStrNCpy -> strlcpy (not complete)\n\nModified Files:\n--------------\n pgsql/src/backend/bootstrap:\n bootstrap.c (r1.229 -> r1.230)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootstrap.c.diff?r1=1.229&r2=1.230)\n p... |
[
{
"msg_contents": "The issue of XML export has been discussed a few times throughout\nhistory. Right now you've got the HTML output in psql. A few\npeople have proposed \"real\" XML output formats in psql or elsewhere.\n\nI dug out some old code today that implements what SQL/XML has to say\non the matter and... |
[
{
"msg_contents": "Hi,\n\nIs there a way to give priorities to queries or users? Something \nsimilar to NICE in Linux. My goal is to give the updating (backend) \napplication a very low priority and give the web application a high \npriority to avoid disturbing the user experience.\n\nThanks in advance!\n\nBe... |
[
{
"msg_contents": "Hello PostgreSQL Hackers,\n\nI have made a modification of PostgreSQL which accelerates INSERT/UPDATE using UPS. The name of the software is \"Sigres\", and the philosophy is considering a battery supplied memory as a persistent device instead of a disk. You can download Sigres from http://so... |
[
{
"msg_contents": "Hello\n\nIf you integrate xml_export to core, you don't need string argument, which \nisn't too handy, but you can use COPY stmt aparat. I don't speak about \nenhancing stmt COPY.\n\nRegards\nPavel Stehule\n\np.s.\nit's can be great if xmloutput will be independent on datestyle\nroot=# set da... |
[
{
"msg_contents": "Hi,\n\nCurrently tsearch2 does not accept non ascii stop words if locale is\nC. Included patches should fix the problem. Patches against PostgreSQL\n8.2.3.\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\n\n*** wordparser/parser.c~\t2007-01-16 00:16:11.000000000 +0900\n--- wordparser/parser.c\t2007-02... |
[
{
"msg_contents": "Aloha,\n\nI just wanted to bring up the wishlist todo items:\nhttp://developer.postgresql.org/index.php/Todo:WishlistFor83\n\nAll items have a name behind them aside from \"Better handling of \npartitioning\". Does anyone feel responsible for handling that one?\n\nAnyways I would appreciate i... |
[
{
"msg_contents": "Hi,\n\nIt is very good to see Magnus among committers. Congrats Magnus!\n\nCheers, Devrim\n\n-------- Forwarded Message --------\n> From: Magnus Hagander <mha@postgresql.org>\n> To: pgsql-committers@postgresql.org\n> Subject: [COMMITTERS] pgsql: Fix for early log messages during\n> postmaster... |
[
{
"msg_contents": ">Postponed\n>\n>The following features are unlikely to make it into 8.3 at this point:\n>\n> * SQL/PSM support per SQL:2003 (Pavel)\n> * Clustered/replication solutions\n\nSQL/PSM is available (without resignal stmt and extended diagnostic stmt). \nSome people work on doc translation to... |
[
{
"msg_contents": "Christopher,\n\nThanks for your comments and I am sorry for my bad response because of\nmy business. In the first place, criticisms are welcome since without\ncriticisms and discussions, I cannot improve my idea.\n\nChristopher, thanks to your comments, I understood why this community\ndoes n... |
[
{
"msg_contents": "Christopher,\n\nThanks for your advices !\nOK, I will submit a patch as soon as possible.\nIn the patch, Sigres will be activated by postgresql.conf.\n\nBest Regards,\n\n-- Hideyuki\n\n\n\n\nA long time ago, in a galaxy far, far away, kawasima@cs.tsukuba.ac.jp\n(Hideyuki Kawashima) wrote:\n> ... |
[
{
"msg_contents": "Andrew,\n\nYour experience is really informative. Thanks for giving me such a\nreally precious information. Since I am a researcher, I rarely faces\non real troubles.\n\nAndrew, I agree with you. UPS is not reliable all the time.\nOn the other hand, however, disks or raids are also not reliab... |
[
{
"msg_contents": "Tom,\n\nThanks for your comments !\nLet me answer to your beneficial mail.\n\n> Indeed, I'm wondering why one needs to hack the Postgres core to throw\n> away data integrity guarantees;\n\nThe motivation of my work is accelerating INSERT/UPDATE without losing\ndata integrity guarantees. In th... |
[
{
"msg_contents": "Tom and all,\n\nI apologize destroying the thread information with this topic.\nUnfortunately my basic smtp server does not work now and I am writing\nall the responses via gmail tonight...\n\nTom,\n\nThanks for teaching me about the development assumption of PostgreSQL.\nThe assumption and m... |
[
{
"msg_contents": "Hi Friends,\n\nThis is my first post in the list.\n\t\nI am not obtaining authentication my users of PostgreSQL in OpenLdap.\n\n1) PostgreSQL was compiled with the support to ldap in a FreeBSD System.\n\"option --with-ldap for configure\".\n\n2) The user also exists in the base of the OpenLda... |
[
{
"msg_contents": "I have a project I'm working on that involves a deep look at WAL and \ncheckpoint performance; a patch related to this topic will be ready to \nrelease shortly. The company I'm working for was kind enough to allow me \nto release the documentation I wrote for them while trying to understand ... |
[
{
"msg_contents": "Hi,\n\njust for curiosity, why the code doesn't throw an error when using\nsequences in the from_list of a select?\n\nallow selects from sequences confuses many people about the correct\nway of using sequences\n\n-- \nregards,\nJaime Casanova\n\n\"Programming today is a race between software ... |
[
{
"msg_contents": "== PostgreSQL Weekly News - February 11 2007 ==\n\nMagnus Hagander and Joachim Wieland have put together a doxygen site\nfor the PostgreSQL source code.\nhttp://doxygen.postgresql.org/\n\nMagnus Hagander is now a committer. Kudos!\n\nSimon Riggs kicked off a new discussion of HOT tables--tab... |
[
{
"msg_contents": "Log Message:\n-----------\nFix backend crash in parsing incorrect tsquery.\n \nPer report from Jon Rosebaugh <jon@inklesspen.com>\n\nModified Files:\n--------------\n pgsql/contrib/tsearch2:\n query.c (r1.30 -> r1.31)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/contri... |
[
{
"msg_contents": "I was just testing autovac once more, and happened to Ctrl-C the\nregression run in the prepared_xacts test. Upon starting Postmaster\nagain, I see this:\n\nLOG: recovering prepared transaction 14372\nLOG: recovering prepared transaction 14377\n\n\nThen, I reran \"make check\", and got\n\n... |
[
{
"msg_contents": "I built the \"-base\" version of 8.2.3 today, for installation at a company\nI'm helping out. The build (and later, the installation) gave me an error\nabout a missing directory \"test/regress\". IIRC I downloaded\nftp://ftp.us.postgresql.org/pub/mirrors/postgresql/source/v8.2.3/postgresql-... |
[
{
"msg_contents": "Here are the proposed signatures for the XML export functions.\n\nWhile I have seen the output formats in use elsewhere, I could not find\nany useful information on how to invoke these mappings, so the\nfollowing is purely my own invention.\n\ntable_to_xml(tbl regclass, nulls boolean, tablefo... |
[
{
"msg_contents": "Hi,\n\nI know this is slightly off topic, but I hope still useful enough to not \nget my head cut off for posting this:\nhttp://developer.postgresql.org/index.php/IRC2RWNames\n\nThis is essentially a mapping of IRC nicks to real world names. While \nmaintaining the wishlist I keep forgetting ... |
[
{
"msg_contents": "Hey folks:\n\n I posted this to the pgsql-novice mailing list but was told that it'd\nprobably be better to repost here. I've been working with a group trying to\nimplement UNIQUE index functionality in GiST (we started with hash, and have\nbranched out to try and understand some of the o... |
[
{
"msg_contents": "I looked into Ian Harding's problem reported here:\nhttp://archives.postgresql.org/pgsql-general/2007-02/msg00530.php\n\nIt's possible to reproduce the problem in a simplified form in the\nregression database, using this query:\n\nexplain\nselect * from\n tenk1 a left join\n (tenk1 b inne... |
[
{
"msg_contents": "Hi,\n\nI'm trying to implement the add_one sample in the PG docs using VC++\n(for purposes of debugging). After some pain (had to add the\ndllexport declspec below), I am able to get the CREATE FUNCTION\ncommand to recognize the library and function. However, the function\nblows up. I am a... |
[
{
"msg_contents": "\nI got a private email from Claudio saying he already answered this\nquestion:\n\n\thttp://archives.postgresql.org/pgsql-patches/2006-09/msg00285.php\n\nI forgot I saw it, so I have added comments to the C code.\n\n---------------------------------------------------------------------------\n... |
[
{
"msg_contents": "I've been looking at backporting the stats fix committed to head and 8.2\ninto 8.1, but realised that it's just not going to work. 8.1 still uses\nthe dual stats processor stuff, which means that the simplification just\nis not possible.\n\nThe most obvious result is that autovacuum is very l... |
[
{
"msg_contents": "The latest set of XML changes (I think latest, at least fairly recent)\nbroke the win32vc build with asserts enabled. The line:\n\tAssert(fully_escaped || !escape_period);\n\n From what I can tell, this is because the Assert() puts code (the do {}\nloop) *before* the declaration of StringInfo... |
[
{
"msg_contents": "The 8.1 build for cuckoo is currently hung, with the *postmaster* taking\nall the CPU it can get. The build started almost 5 hours ago.\n\nThe postmaster is stuck in the following loop, according to\nktrace/kdump:\n\n 2023 postgres RET write 59/0x3b\n 2023 postgres CALL close(0xffffffff)... |
[
{
"msg_contents": "Log Message:\n-----------\nAdd ORDER BY to vacummdb so databases are scaned in the same order as\npg_dumpall.\n\nModified Files:\n--------------\n pgsql/src/bin/scripts:\n vacuumdb.c (r1.15 -> r1.16)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/scripts/vacuumdb... |
[
{
"msg_contents": "Hello\n\nplease add to ToDo: Holdable cursor support in SPI\n\nRegards\nPavel Stehule\n\n_________________________________________________________________\nEmotikony a pozadi programu MSN Messenger ozivi vasi konverzaci. \nhttp://messenger.msn.cz/\n\n",
"msg_date": "Tue, 13 Feb 2007 19:52... |
[
{
"msg_contents": "I tried to write a trigger using C++. This requires to include the\nfollowing header-files:\n\nextern \"C\" {\n#include <postgres.h>\n#include <executor/spi.h>\n#include <commands/trigger.h>\n#include <fmgr.h>\n}\n\nUnfortunately some of the included headers define some structs and\nfunctions... |
[
{
"msg_contents": "Regarding the advisory on possibly insecure security definer functions \nthat I just sent out (by overriding the search path you can make the \nfunction do whatever you want with the privileges of the function \nowner), the favored solution after some initial discussion in the core \nteam was... |
[
{
"msg_contents": "Just noticed a small cosmetic point in the logs when logging statement\nperformance data: if a statement accesses 0 blocks, the \"hit rate\" is\ngiven as 0%.\n\nI can see that that makes sense mathematically--insofar as 0/0 makes\nmathematical sense at all--but wouldn't it be more helpful to ... |
[
{
"msg_contents": "A few months ago at\nhttp://archives.postgresql.org/pgsql-general/2006-11/msg01770.php the\nnotion of adding an \"anyelement2\" pseudotype was discussed. The context\nwas a compatibility SQL function to support Oracle's DECODE function.\nAssuming this new pseudotype has not been added yet, I... |
[
{
"msg_contents": "It has come to the attention of the core team of the PostgreSQL project \nthat insecure programming practice is widespread in SECURITY DEFINER \nfunctions. Many of these functions are exploitable in that they allow \nusers that have the privilege to execute such a function to execute \narbit... |
[
{
"msg_contents": "This is a WIP patch based on the recent posting by Simon and discussions\nthereafter. We are trying to do one piece at a time and intention is to post\nthe work ASAP so that we could get early and continuous feedback from\nthe community. We could then incorporate those suggestions in the next... |
[
{
"msg_contents": "Our docs for the integer datetime option says:\n\nUse 64-bit integer storage for datetimes and intervals, rather than the\ndefault floating-point storage. This reduces the range of representable\nvalues but guarantees microsecond precision across the full range (see\nSection 8.5 for more info... |
[
{
"msg_contents": "\nSo to implement the agreed upon plan I see the following items.\n\n1) Replace the VARATT_SIZEP macro with SET_VARLENA_LEN. I intend to keep this\n patch separate as it will bitrot quickly and would be best if it could be\n applied as soon as possible even before the main patch is commit... |
[
{
"msg_contents": "sponge failed the XML regression test once today:\n\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sponge&dt=2007-02-14%2007:30:02\n\nIf i read that correctly we could just add a simple \"ORDER BY\ntable_name\" to that query to get a more reliable result.\n\n\nStefan\n",
"msg_dat... |
[
{
"msg_contents": "i want to add database backup to my program i developed in visual basic 6, of course i can save the syntax for pg_dump in a batch file and call it inside vb6 via \"shell\", but my problem is that the batch file executes but stops to prompt for a password. how can i supply a password to it aut... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.