threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "> I looked into your XLOG stuff a little.\n> It seems that XLogFileOpen() isn't implemented yet.\n> Would/should XLogFIleOpen() guarantee to open a Relation\n> properly at any time ?\n\nIf each relation will have unique file name then there will be no\nproblem. If a relation was dropped then ... |
[
{
"msg_contents": "> Philip Warner mentioned about the advantage of random number.\n> It's exactly what I've wanted to say.\n> \n> >> it removes the temptation to write utilities that rely on\n> >> the internal representation of our data.\n> \n> It is preferable that file naming rule is encapsulated so that we\... |
[
{
"msg_contents": "> > So, I assume that you vote YES on this subject? -:)\n> > (As far as I remember, it was your idea).\n> >\n> \n> Yes.\n\nUNIQUE_ID file names: Hiroshi, Marc, Vadim\n\nWe can use oids as unique ids, but these were another oids -:)\n\nVadim\n",
"msg_date": "Thu, 14 Sep 2000 17:16:00 -0700... |
[
{
"msg_contents": "It seems that foreign key does not work in current, if specified with\nprimary key definition. Take a look at following example(works in\n7.0.2.):\n\ntest=# CREATE TABLE PKTABLE ( ptest1 int, ptest2 int, ptest3 int, ptest4 text, PRIMARY KEY(ptest1, ptest2, ptest3) );\nNOTICE: CREATE TABLE/PR... |
[
{
"msg_contents": "At 04:41 15/09/00 -0500, Jan Wieck wrote:\n>\n> So if you find an ON SELECT rule on a relation, it is a VIEW.\n>\n\nThanks for this, but I'm using 'pg_views' now since it means pg_dump does\nnot have to interpret the meanings of the various columns. With time, I\nwould like to remove as mu... |
[
{
"msg_contents": "Michael Meskes <meskes@postgresql.org> writes:\n> Can I safely assume that the OID of the standard data types remain the same\n> for future releases? And of course that they are the same for every\n> installation?\n\nThey are fixed in any one version, and really are not very likely to\nchange... |
[
{
"msg_contents": "Michael Meskes <meskes@postgresql.org> writes:\n> What's going on?\n\nI'd suggest a full \"make distclean\" and reconfigure. Looks like you\nmissed some build steps, which is maybe not too surprising considering\nthat Peter has extensively revised the Makefile tree.\n\n\t\t\tregards, tom lan... |
[
{
"msg_contents": "\nDoes anyone have the Sept issue of Linux Magazine? According to a\nnotification we just received, PostgreSQL got 4th place in the editor's\nchoice awards. I wanna know what was in first, second and third! \nAnyone know?\n\nVince.\n-- \n=================================================... |
[
{
"msg_contents": "1st - MySQL\n2nd - Oracle 8i\n3rd - Informix Dynamic Server.2000\n\n\n-----Original Message-----\nFrom: Vince Vielhaber <vev@michvhf.com>\nTo: pgsql-hackers@postgreSQL.org <pgsql-hackers@postgreSQL.org>\nDate: Friday, September 15, 2000 1:31 PM\nSubject: [HACKERS] Winner Notification - Linux ... |
[
{
"msg_contents": "I finished revising the LIKE operators back into an index-optimizable\nform. But I notice there is some non-multibyte-aware code that needs\nto be fixed, specifically the pattern analysis routines in\nsrc/backend/utils/adt/selfuncs.c:\n\tlike_fixed_prefix\n\tregex_fixed_prefix\n\tlike_select... |
[
{
"msg_contents": "Hi,\n\nwhile I'm doing more accurate test I just want to ask if\nsomebody test locale in 7.0.2 under FreeBSD ?\nthe point is that I usually compile postgres with \n--enable-locale --enable-multibyte and never had a problem \nwith locale. Today I decided to use only --enable-locale\nand found ... |
[
{
"msg_contents": "Hi,\n\nI am tring to use the qnx version of postgresql 7.0.0\n\nI have qnx 4.25 and TCP/IP\n\nI have compiled postgres using gcc\nI have installed it.\n\nthen I have started postgres with -D and -i options.\n\nThe only commad that I can execute is initdb.\n\nWhen I execute any other command I... |
[
{
"msg_contents": "The named directory seems to be the fossile of a prehistoric regression\ntest, last updated 1996. It seems to be completely outdated, is there any\nneed to keep this?\n\n\n-- \nPeter Eisentraut peter_e@gmx.net http://yi.org/peter-e/\n\n",
"msg_date": "Sat, 16 Sep 2000 19:30:11... |
[
{
"msg_contents": "Postgres has an 'ascii' function that converts\ncharacters to ascii, values, but it appears to be a\none way street. I can't find a way to convert ascii\nvalues to characters, like 'chr' in Oracle. Anyone\nknow how to do this? \n\n-Alex\n\n__________________________________________________\nD... |
[
{
"msg_contents": "> Dear Sir/Madam,\n> I'm a PhD student at Essex University in UK, doing a research in Distributed\n> Database Systems. I would like to ask you some questions:\n> I'm using Postgres ver.7, installed in Linux lab which consists of 25\n> terminals.\n> My actual question is if Postgres provides t... |
[
{
"msg_contents": "I was experimenting today with pg_dump's reaction to missing\ndependencies, such as a rule that refers to a no-longer-existing\ntable. It's pretty bad. For example:\n\ncreate table test (f1 int);\ncreate view v_test as select f1+1 as f11 from test;\ndrop table test;\n\nthen run pg_dump:\n\n... |
[
{
"msg_contents": "I get the following on untuned Linux (Redhat 6.2) using stock 7.0.2\nrpm-s\n\nNOTICE: RegisterSharedInvalid: SI buffer overflow\nNOTICE: InvalidateSharedInvalid: cache state reset\n\nActually I get many of them ;(\n\nI'm running a script that does a bunch of mixed INSERTS, UPDATES,\nDELETES... |
[
{
"msg_contents": "Guys,\n\nI have some odd behaviour with VB6 & postgresql that may be a bug - I would appreciate someone else replicating this; or any other suggestions anyone might have.\n\nVersions: VB6 sp5 on W2K pro sp2 running postgresql 7.1.2 via cygwin. Insight ODBC driver 7.01.00.06 with ODBC 3.520.6... |
[
{
"msg_contents": "\n> > \tadd the functionality for \"with check option\" clause of \n> create view\n> >\n> \n> I'm not familiar with this. What does it do?\n\nIt checks on view insert or update, that the resulting tuple will still \nbe seen through this view (it satisfies the view's where restriction).\nIf no... |
[
{
"msg_contents": "\n> But the pg_shadow authentication is based on credentials \n> provided by the\n> client whereas what you propose here would run on the server, so this\n> doesn't make sense. \n\nSince you can write extensions to PostgreSQL that reach far into the OS,\nit does make sense to execute those ex... |
[
{
"msg_contents": "Hi,\nI'm just curious how MVCC will work witk WAL ? Will\nit work in the same fashion as now only tuples written\nusing WAL ?\nOr will it search for old tuple's versions in log ?\n\nthanks devik\n",
"msg_date": "Mon, 18 Sep 2000 11:31:30 +0200",
"msg_from": "devik@cdi.cz",
"msg_fr... |
[
{
"msg_contents": "Hi all,\nI've just downloaded the latest CVS snapshot, to play with\nTOASTed text field. I've tried to compile contrib extensions\nbut I've some problem with soundex.\n\nI take\n\ngcc -c -I../../src/include -O2 -Wall -Wmissing-prototypes\n-Wmissing-declarations -I. -fpic soundex.c -o sounde... |
[
{
"msg_contents": "> Hi,\n> I'm just curious how MVCC will work witk WAL ? Will\n> it work in the same fashion as now only tuples written\n> using WAL ?\n\nYes.\n\n> Or will it search for old tuple's versions in log ?\n\nSMGR is strill non-overwriting one.\n\nVadim\n",
"msg_date": "Mon, 18 Sep 2000 08:57:27... |
[
{
"msg_contents": "I'm developing a db-driven web site for a client.\nSo far the solution happens to use a lot of open sources software (best tool\nfor the job).\n\nBut when looking at areas of high-availability and performance in relation\nto our database back-end, I'm trying to find a solution that will fit t... |
[
{
"msg_contents": "* Michael Meskes <meskes@postgresql.org> [000918 05:03] wrote:\n> If I change some stuff in a library that forces the user to recompile all\n> programs because it's not binary compatible I have to change the major\n> number right? But just changing the order in an enum datatype does not\n> ex... |
[
{
"msg_contents": "Of course, if an alias for ichar is carried forward I\ncan write code for the current postgres that won't\nbreak with future releases. I realize that I might end\nup being the only person on the planet who ends up\nusing ichar, and that may not be sufficient\njustification for an alias....\n\... |
[
{
"msg_contents": "greetings,\n\ni planning on making heavy use of the postgresql\ninheritance features for a large scale application\n and i was wondering if anyone has run into any interesting \nerrata regarding this that i should be aware of.\n\nbugs, features, caveats, side notes etc..\n\nJeff MacDonald,\n\... |
[
{
"msg_contents": "i just found a (few) caveat already..\n\n1:\n\nbignose=# create table people(\nbignose(# name varchar(64),\nbignose(# age int8, \nbignose(# sin int4, \nbignose(# id serial);\n\nbignose=# create table soldier(\nbignose(# rank varchar(32),\nbignose(# post varchar(32)) inherits (people);\n\nbign... |
[
{
"msg_contents": "Hi,\n\nHow can I convert char* to Datum to pass a string to the SPI_modifytuple function?\n\nregards,\nAlex\n\n\n",
"msg_date": "Tue, 19 Sep 2000 11:30:32 +0400",
"msg_from": "Alex Guryanow <gav@nlr.ru>",
"msg_from_op": true,
"msg_subject": "char* to Datum conversion"
},
{... |
[
{
"msg_contents": "\n> > Since you can write extensions to PostgreSQL that reach far into the OS,\n> > it does make sense to execute those extensions under a \"non priviledged\"\n> > user, and not postgres.\n> \n> Agreed.\n> \n> > This OS user would somehow be tied to the username that the client\n> > passes as... |
[
{
"msg_contents": "OK, I hope ya'll don't mind a thought from a newbie. And I hope this is\nthe right forum to ask about this. I was wondering if it would be possible\n(no I don't have the expertise!) to extend one of the system tables. What\nI was hoping for was somewhere to store the \"options\" used to creat... |
[
{
"msg_contents": "Hi,\n\nIs there a problem? I haven't received anything today...\n\n-- \nOlivier PRENANT \tTel:\t+33-5-61-50-97-00 (Work)\nQuartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)\n31190 AUTERIVE +33-6-07-63-80-64 (GSM)\nFRANCE Email: ohp@py... |
[
{
"msg_contents": "\t......\n\n> The general issue still remains: if a database contains an inconsistency\n> or error, introduced by whatever means (and there'll always be bugs),\n> a pg_dump failure is likely to be the first notice a dbadmin has about it.\n> So it behooves us to make sure that pg_dump issues e... |
[
{
"msg_contents": "I have just noticed that VACUUM doesn't always call\nFlushRelationBuffers(); it does so only if it wants to truncate\nthe relation (ie, shrink the physical file).\n\nThis is OK for normal purposes but it's bad for pg_upgrade, which\nis invoking VACUUM just to ensure that on-row transaction st... |
[
{
"msg_contents": "It seems -S option for postmaster (detaching ttys) does not exist in\npostgresql.conf. Is there any reason for this?\n--\nTatsuo Ishii\n",
"msg_date": "Wed, 20 Sep 2000 09:21:02 +0900",
"msg_from": "Tatsuo Ishii <t-ishii@sra.co.jp>",
"msg_from_op": true,
"msg_subject": "-S is ... |
[
{
"msg_contents": "I've seen mention of this on the list, but I can't see it mentioned in TODO\nfrom current CVS.\n\n------- Forwarded Message\n\nDate: Wed, 20 Sep 2000 11:17:52 +0200\nFrom: Martijn van de Streek <mvdstreek@cistron.nl>\nTo: submit@bugs.debian.org\nSubject: Bug#72084: Broken permissio... |
[
{
"msg_contents": "There's two tracebacks of crashed 7.0.2 backends at the end of this\nemail.\n\nI posted earlier this week about a table of ours getting corrupted\nafter some time. The table looks like this:\n\ndetails:\n id | integer | \n attr_type | varchar(32) | \n attr_name | varchar(32) | ... |
[
{
"msg_contents": "This (invalid) query crashes the 7.0.2 backend:\n\nauction=# SELECT (select max(b.lot)) as last_lot,auction_status(a.id) > 0 AS current, a.lot, a.person_id, next_price(a.id), seller.mail AS seller_mail, buyer.mail AS buyer_mail, seller.locale AS seller_locale, buyer.login AS buyer_login, num_... |
[
{
"msg_contents": "Current ecpg sources will not build on a compiler that doesn't accept\n\"long long int\". They are also overly optimistic about the prospects\nof having strtoull() in libc. I think some autoconf work is needed\nhere.\n\n\t\t\tregards, tom lane\n",
"msg_date": "Wed, 20 Sep 2000 11:20:05 ... |
[
{
"msg_contents": "COPY tr FROM 'file' USING DELIMITERS '/';\n\nRun-time exception error; current exception: RWBoundsErr\n No handler for exception.\n\nanyone can explain me?\nThanks.\n",
"msg_date": "Wed, 20 Sep 2000 17:37:31 +0200",
"msg_from": "Jerome Raupach <jraupach@intelcom.fr>",
"msg_from_... |
[
{
"msg_contents": "Here's what I've come up with to avoid \"permission denied\" errors when a\nRI trigger has to lock a PK table. Whenever the SELECT FOR UPDATE is\nexecuted I temporarily switch the current user id to the owner of the PK\ntable. It's not the grand unified solution via setuid functions that wa... |
[
{
"msg_contents": "I wanted to add a few features and fix a few bugs in the regression test\ndriver, and I ended up re-writing most of it. I'd like to offer it for\ntesting.\n\nFeatures/fixes:\n\n* Use one driver script for both standalone test and test against running\n installation.\n\n* Also use only one sc... |
[
{
"msg_contents": "Well, I was interested in binary operators on integers\nand as Peter suggested that I should look into it\nmyself, so I did it.\n\nChoice of operators:\n\n ~ - not\n & - and\n # - xor - I like it :)\n | - or\n\nThings I am unsure of:\n\n1) Precedence. I quite nonscientifically hacked in gra... |
[
{
"msg_contents": "I tried to find information in the lists but got no luck.\n\nI want to make a client application that performs a query to show the\nresults, but the client application stays open and the database gets\nupdated.\n\nI want that the updates of the database reflects on the open client\napplicatio... |
[
{
"msg_contents": "I have a large list ot parameters and I'd like to have just one main\nfunction for checking them all. Like so:\n\ncheck_param(some_identifier_for_the_param, param_value)\n...\n rec RECORD;\n...\n select into rec check_param_function\n from param_check_table\n where id == identifier;... |
[
{
"msg_contents": "As things stand, if you use the --with-tcl configure option and a\nsufficient Tcl installation could not be found, it will print a message\nand continue without it. I have already on several occasions explained\nwhy I consider that behaviour is undesirable, and it also seems quite\nabsurd, c... |
[
{
"msg_contents": "Hi,\n\nI encountered the following problem:\n\n./configure --enable-debug --prefix=/opt/postgres\nEdit config.h: BLCKSZ 32768\n\npostgres=# select version();\n version\n---------------------------------------------------------------\n PostgreSQL 7.0.2 on i686-pc-l... |
[
{
"msg_contents": "On Wed, 20 Sep 2000, you wrote:\n> hi mark,\n>\n> i had posted this to the General Postgres List without knowing your\n> email address. not intending to overstep any toes, i provide it to\n> you. if you have any comments or criticisms or whatever, i'd be\n> glad to rewrite as necessary.\n>\... |
[
{
"msg_contents": "Michael Meskes writes:\n\n> I just read in fe-connect.c that the use of PQsetdbLogin is not recommended\n> anymore. Shall I replace the call in libecpg?\n\nYou need to if you want to provide SSL functionality.\n\n> But then psql also uses this function I think.\n\nI was lazy. :)\n\n\n-- \nPet... |
[
{
"msg_contents": "I've been thinking about this for quite some time now but I'm still not\nsure. The question is, is there a way for insert/delete/update to affect 0\nrows other than the where clause giving a condition that is not satisfiable.\n\nOf course this can happen via constraints but then the backend w... |
[
{
"msg_contents": "gcc -o ecpg preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o -lz -lcrypt -lnsl -ldl -lm -lbsd -lreadline -ltermcap -lncurses -export-dynamic\npgc.o: In function `yylex':\npgc.o(.text+0x582): undefined reference to `pg_mb... |
[
{
"msg_contents": "Hi,\n\nFollowing my bug report yesterday about a bug in RI, I'll first show a \nreproducible example:\n\ncreate table t1 ( a int4 primary key, b varchar(5) );\ncreate table t2 ( b varchar(5) primary key );\nalter table t1 add constraint fk_t1__b foreign key (b) references t2 (b);\ninsert into... |
[
{
"msg_contents": "\n In the current CVS:\n\ntest=# SET DateStyle TO DEFAULT;\npqReadData() -- backend closed the channel unexpectedly.\n This probably means the backend terminated abnormally\n before or while processing the request.\nThe connection to the server was lost. Attempting reset: Failed... |
[
{
"msg_contents": "I am working on designing some new datatypes and could use some\nguidance.\n\nAlong with each data item, I must keep additional information about\nthe scale of measurement. Further, the relevant scales of measurement\nfall into a few major families of related scales, so at least a\ndifferent... |
[
{
"msg_contents": "Brook,\n\nI have been contemplating such data type for years. I believe I have\nassembled the most important parts, but I did not have time to\ncomplete the whole thing.\n\nThe idea is that hte units of measurement can be treated as arithmetic\nexpressions. One can assign each of the few exis... |
[
{
"msg_contents": ">> Bruce, is that the case? Do you really have it documented? If so,\n>> where?\n\n> src/backend/utils/cache/syscache.c\n\nBTW, it occurs to me that the real reason adding a syscache is invasive\nis that the syscache routines accept parameters that are integer indexes\ninto syscache.c's cac... |
[
{
"msg_contents": "psql has some problems with views in current CVS: \\d doesn't show views,\nand if you do \\d on a specific view, it doesn't identify it as a view\nand doesn't show the view definition rule.\n\nI assume this breakage is from the recent RELKIND_VIEW change;\nprobably psql didn't get updated to ... |
[
{
"msg_contents": "\nTwo routines do eccentric things when they can't find required supporting\ndata:\n\npg_get_userbyid\n\n returns 'unknown (UID=<uid-number>)' when the UID does not exist.\n\npg_get_viewdef\n\n returns 'Not a view' when passed a non-existant or non-view table\n it also signals errors... |
[
{
"msg_contents": "\tOn the documentation\nhttp://www.postgresql.org/users-lounge/docs/7.0/postgres/mvcc4646.htm what\ndoes mean \"...Postgres doesn't remember any information about modified rows\nin memory and so has no limit to the number of rows locked without lock\nescalation.\"?\n\n\tFollowing you find \"H... |
[
{
"msg_contents": "The comments for bufmgr.c's BufferSync routine point out that it's a\nbad thing for some other backend to be modifying a page while it is\nwritten out. The following text has gone unchanged since Postgres95:\n\n * Also, we need to be sure that no other transaction is\n * modifying the ... |
[
{
"msg_contents": "> I believe the correct fix for this problem is for bufmgr.c to grab\n> a read lock (BUFFER_LOCK_SHARED) on any page that it is writing out.\n> A read lock is sufficient since there's no need to prevent other\n> backends from reading the page, we just need to prevent them from\n> changing it ... |
[
{
"msg_contents": "Here is my next take on binary operators for integers.\nIt implements the following operators for int2/int4/int8:\n\n ~ - not\n & - and\n ^ - xor\n | - or\n << - shift left\n >> - shift right\n\nNotes:\n\n* My original choice for xor was '#' because the '^' operator conflicts\n with power op... |
[
{
"msg_contents": "\nFor a patch to fix the AIX port I would like to differentiate\nVersions below 4.3 and above, or rather I would like to \ndifferentiate whether -ldl has dlopen().\n\nA compiler define would be _AIX43, but I guess we are supposed to \nuse a define from configure.\n\nThanks\nAndreas\n",
"m... |
[
{
"msg_contents": " Date: Monday, September 25, 2000 @ 08:58:47\nAuthor: momjian\n\nUpdate of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt\n from hub.org:/home/projects/pgsql/tmp/cvs-serv33900/pgsql/src/backend/utils/adt\n\nModified Files:\n\tformatting.c oracle_compat.c \n\n-------------------... |
[
{
"msg_contents": "\nJust going through Peter's new 'mk-snapshot' script, and found a problem:\n\ngmake[4]: Entering directory `/home/projects/pgsql/snapshot/pgsql/postgresql-snapshot/src/backend/parser'\nbyacc -d gram.y\nbyacc: f - maximum table size exceeded\ngmake[4]: *** [gram.c] Error 2\ngmake[4]: Leaving... |
[
{
"msg_contents": "Subj, sais it all,\n\nPlease don't use C++ style comments in C source files. \nIt does not work for all ports.\n\nCurrently in connect.c.\n\nThanks\nAndreas\n",
"msg_date": "Mon, 25 Sep 2000 15:57:24 +0200",
"msg_from": "Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>",
"msg... |
[
{
"msg_contents": "\n> > > Please don't use C++ style comments in C source files. \n> > > It does not work for all ports.\n> > \n> > AFAIK, only GCC supports // as comments.\n> \n> // comments are legal as of Standard C 1999, so expect more \n> compilers to\n> accept them silently. (That still doesn't mean we ... |
[
{
"msg_contents": "\ndamn ... I thought that our configure refused anything *but* bison? how\ncome its allowying me to use byacc? :)\n\n\nOn Mon, 25 Sep 2000, Peter Eisentraut wrote:\n\n> The Hermit Hacker writes:\n> \n> > Just going through Peter's new 'mk-snapshot' script, and found a problem:\n> > \n> > gma... |
[
{
"msg_contents": "No response to this one on -general, so here goes...\n\nThe documentation for initdb says that the \"-t\" (== \"--template\") option\nrecreates the template1 database but doesn't touch anything else. But it\nseems that if it detects a failure it will abort and remove anything it\n*might* have... |
[
{
"msg_contents": "Hi,\n\nIs there a way to make postgre insensitive about field name cases?\n\nLike \"initdb --fields-are-case-insensitive --compares-are-case-insensitive\"\n\nYes I know about \"CaseIsKept\" and CaseIsNotKept (note the quotes). But that\ngives me more trouble than it solves. And what about \"c... |
[
{
"msg_contents": "Hello,\nI recently spoke about extending index scan to be able\nto take data directly from index pages. I wanted to know\nwhether should I spend my time and implement it.\nSo that I hacked last pgsql a bit to use proposed scan\nmode and did some measurements (see bellow). Measurements\nwas do... |
[
{
"msg_contents": "I'm thinking about changing the way that access permission checks are\nhandled for rules. The rule mechanism provides that accesses to tables\nthat are mentioned within rules are done with the permissions of the\nrule owner, not the invoking user. The way this is implemented is that\nwhen a... |
[
{
"msg_contents": "I've posted replacement RPMs for php3 for use with PostgreSQL-7.0.2. The\nRPMs as shipped with Mandrake-7.1 were for PostgreSQL-6.5.3, and\ncontained a dependency on libpq.so.2.\n\nThey are at\n\n ftp://ftp.postgresql.org/pub/binary/v7.0.2/Mandrake-7.1/RPMS/\n\nThese are simply rebuilt versi... |
[
{
"msg_contents": "Olof Nyqvist (olof.nyqvist@cadcam.kth.se) reports a bug with a severity of 2\nThe lower the number the more severe it is.\n\nShort Description\n7.0.2 source rpm failed to compile\n\nLong Description\nI'm running RedHat 6.2 SPARC, two processors, 128 MB RAM\nI downloaded postgresql-7.0.2-2.src... |
[
{
"msg_contents": "I remember a post about 2 weeks back concerning a new patch that was to\nbe introduced as 7.0.3. I haven't seen any reference to this since then.\nIs this still happening, or will the patch be part of 7.1?\n\n-Tony Reina\n\n\n",
"msg_date": "Tue, 26 Sep 2000 09:52:45 -0700",
"msg_from... |
[
{
"msg_contents": "\nCan someone add something to the docs that gives an example of what should\nbe used from the command line to reindex a database's system tables?\n\nAll the man page says is use th e-O an d-P options :(\n\nI'm getting:\n\npsql -h pgsql horde\nERROR: cannot read block 6 of pg_attribute_relid... |
[
{
"msg_contents": "> > The last step could be done in two ways. First by limiting\n> > number of indices for one table we can store coresponding\n> > indices' TIDs in each heap tuple. The update is then simple\n> > taking one disk write.\n> \n> Why limit it ? One could just save an tid array in each tuple .\n\n... |
[
{
"msg_contents": "Why not implement *true* CLUSTER?\nWith cluster, all heap tuples will be in cluster index.\n\nVadim\n\n> -----Original Message-----\n> From: devik@cdi.cz [mailto:devik@cdi.cz]\n> Sent: Tuesday, September 26, 2000 2:15 AM\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] pgsql is 75 ti... |
[
{
"msg_contents": "> > Indice's TIDs are transient.\n> > Isn't it useless to store indice's TIDs ?\n> \n> but yes Hiroshi is right. Index TID is transient. I first looked\n> into pg sources two weeks ago so I have still holes in my knowledge.\n> So that only solution is to traverse it ..\n\nIt was discussed sev... |
[
{
"msg_contents": "> I've tried:\n> \n> bin/postgres -O -P -D `pwd`/data horde\n> \n> POSTGRES backend interactive interface\n> $Revision: 1.155.2.1 $ $Date: 2000/08/30 21:19:32 $\n> \n> backend> reindex database horde;\n> backend> \n> \n> still get it ...\n> \n> I'm either doing something wrong with REINDEXng ... |
[
{
"msg_contents": "\"Mikheev, Vadim\" wrote:\n> \n> > I get an error (which is good). But, if I do\n> >\n> > #BEGIN;\n> > #SELECT * FROM name_and_ip WHERE name = 'foo' OR name = 'bar' FOR\n> > UPDATE;\n> > #UPDATE name_and_ip SET ip = '192.168.186.249' where name = 'foo';\n> > UPDATE 1\n> > #COMMIT;\n> >... |
[
{
"msg_contents": "\nCan anyone explain why I must make / a character class \nin case-insensitive query in order to match / ?\n\nand then why does it work in plain ~ ?\n\nhannu=> select * from item where path ~* '^/a';\npath \n------\n/a/b/c\n/a/b/d\n/a/d/d\n/aa/d \n/a/b \n/a/c \n/a/d \n(7 rows)\n\nhannu=> ... |
[
{
"msg_contents": "\n> > Btree doesn't take into account that tuple was just marked \n> > for update but still alive. Seems it was handled properly in 6.5.X ?\n> \n> Nope. It has been broken a long time...\n\nOps. Ok...\n\nVadim\n",
"msg_date": "Tue, 26 Sep 2000 16:05:49 -0700",
"msg_from": "\"Mikheev, ... |
[
{
"msg_contents": "> > Btree doesn't take into account that tuple was just marked \n> > for update but still alive. Seems it was handled properly in 6.5.X ?\n> \n> Nope. It has been broken a long time...\n\nHmm, as I remember, Hiroshi fixed something in this area for 7.0.X.\nHiroshi?\nProbably, his fix somehow ... |
[
{
"msg_contents": "Hello again.\n\nI'm in the process of making a COM wrapper (enabling VB to connect to\nPostGres) for the libpq library using Visual Studio 6.0 Pro, but have\na few problems. I can make use of the libpq.dll library from the COM\nwrapper, but I thought that it might be a bit better if the actua... |
[
{
"msg_contents": "\nWow, has this been just one of those days ... \n\nTrying to clean up a few of the database, I'm wondering how to fix some of\nthese things, if its even possible, without having to rebuild the whole\ndatabase:\n\n%~/bin/postgres -O -P -D/pgsql/special/sales.org swissre\nDEBUG: Data Base Sys... |
[
{
"msg_contents": "> I installed the postgresql-7.0.2-2 RPM downloaded from postgres.org, but \\l+\n> always dumps core:\n\nIt's a bug in 7.0.2. Obtain a patch from:\n\nftp://ftp.sra.co.jp/pub/cmd/postgres/7.0.2/patches/psql.patch.gz\n\nand rebuild the RPM.\n\nNote that this was already fixed in CVS (both stabl... |
[
{
"msg_contents": "> On Fri, Sep 22, 2000 at 03:31:59PM +0900, Tatsuo Ishii wrote:\n> > pgc.o(.text+0x582): undefined reference to `pg_mbcliplen'\n> > pgc.o(.text+0x953): undefined reference to `pg_mbcliplen'\n> > ...\n> > pg_mbcliplen cannot be used in the frontend. Remove them, please.\n> \n> Is there any way... |
[
{
"msg_contents": "\nfiguring I'd try out getting into the backend using postgres, to see if I\ncan 'bypass' some of the errors on those corrupted database, I'm wondering\nif there is any way of taking what a 'select * from <table>' outputs:\n\n 1: userid = \"cibc001154\" (typeid = 1043, len = -1,... |
[
{
"msg_contents": "> Hmm,it seems that both current and REL7_0_PATCHES\n> have already been changed.\n> I committed the the change to current tree and\n> asked Tatsuo to commit it to REL7_0_PATCHES tree.\n\nI also committed current -:))\n\nVadim\n",
"msg_date": "Tue, 26 Sep 2000 22:34:46 -0700",
"msg_fr... |
[
{
"msg_contents": "Hello,\n\nI am writing a SPI function to run maintenance tasks on my auction\nsystem but it keeps crashing the backend after running only one loop.\nNow, I am not a C programmer, nor do I have any formal training in CS. I\nthought I might run this function by you guys so that a cursory look\n... |
[
{
"msg_contents": "> Hello again.\n> \n> I'm in the process of making a COM wrapper (enabling VB to connect to\n> PostGres) for the libpq library using Visual Studio 6.0 Pro, but have\n> a few problems. I can make use of the libpq.dll library from the COM\n> wrapper, but I thought that it might be a bit better ... |
[
{
"msg_contents": "If you've had the feeling lately that you are getting a little less email\nfrom me than expected in the process of due information to the other\ndevelopers, let me assure you that I've had the feeling lately that I'm\ngetting a little less than hoped for answers to my countless posts.\n\nThe ... |
[
{
"msg_contents": "\nWell all, I just spent a bit of time trying to figure out how to recover a\ndatabase where the tables appear to be intact with postgres in 'single\nuser mode', and came up with a quick and dirty that might not be totally\ncomplete, but might help someone else in a similar situation ...\n\n-... |
[
{
"msg_contents": "> Following up to myself, I finally understood my problem: I \n> was trying to\n> re-use SPI_tuptable->vals[i] after calling SPI_exec() on another,\n> unrelated query. So the backend crash makes perfect sense now.\n> \n> What is the best strategy: \n> - store the result of a SELECT returning ... |
[
{
"msg_contents": "> > Why not implement *true* CLUSTER?\n> > With cluster, all heap tuples will be in cluster index.\n> \n> It would be nice. It's pity that pg AMs are not general.\n> There is no simple way to use btree instead of heap. But\n> it would help.\n> But using values from index is good idea too beca... |
[
{
"msg_contents": "> > It was discussed several times for btree - add heap tid to \n> > index key and you'll scan index for particulare tuple much faster.\n> \n> good idea :) Why don't just to use tid ALWAYS as last part of key ?\n> When btree code sees equal keys then it will compare tids ?\n> Would not be bet... |
[
{
"msg_contents": "\nPointers to what this is? Do we have it documented anywhere? Search\nengine, of course, is done, so can't search there ...\n\n\nMarc G. Fournier ICQ#7615664 IRC Nick: Scrappy\nSystems Administrator @ hub.org \nprimary: scrappy@hub.org secondary: s... |
[
{
"msg_contents": "Yeah: ST is designed for network apps, and its for network bound apps that\nyou\ngain the most performance - but by using it to allow\na child process to hold multiple connections and accept/return data to\nthose connections simultaneously, I forsaw a potential performance\nimprovement...\n*s... |
[
{
"msg_contents": "\nIt recently came to my attention that pg_dump dumps 'CREATE SEQUENCE' and\n'SELECT NEXTVAL' commands for both data-only and schema-only output. This\nresults in problems for users who do the two in separate steps, and seems a\nlittle odd.\n\nAlso, I'd be interested to know what the purpose ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.