Ergebnis 1 bis 5 von 5

Thema: Problem: Keine tab-vervollständigung bei psql

  1. #1
    storm ist offline Neuer Benutzer
    Registriert seit
    04.06.2010
    Beiträge
    2

    Standard Problem: Keine tab-vervollständigung bei psql

    Hallo,

    ich habe gedare postgreSQL 8.4 installiert und habe Windows XP, und im psql funktioniert das automatische Vervollständigen von Befehlen nicht.
    Habe überall gesucht was es sein könnte aber keine Ahnung!
    Bitte um rasche Hilfe!

  2. #2
    murphy ist offline Erfahrener Benutzer
    Registriert seit
    19.08.2009
    Beiträge
    165

    Standard

    Schau mal da drauf:


    • Before starting up, psql attempts to read and execute commands from the system-wide psqlrc file and the user's ~/.psqlrc file. (On Windows, the user's startup file is named %APPDATA%\postgresql\psqlrc.conf.) See PREFIX/share/psqlrc.sample for information on setting up the system-wide file. It could be used to set up the client or the server to taste (using the \set and SET commands).
    • Both the system-wide psqlrc file and the user's ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.4.4. A matching version-specific file will be read in preference to a non-version-specific file.
    • The command-line history is stored in the file ~/.psql_history, or %APPDATA%\postgresql\psql_history on Windows.
    Quelle: PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: psql

    Edit:

    Es scheint, als wenn die Funktion bewußt nicht aktiv ist, siehe http://serverfault.com/questions/525...n-with-windows

    Readline is disabled by default on Windows. You can rebuild with it enabled - but it is broken for most non-english locales. For example, in most western european locales you can no longer type backslash - an essential character to use readline. This is a bug in readline, but last time I checked they had zero interest in the win32 platform and won't fix it.
    Geändert von murphy (04.06.2010 um 22:45 Uhr)

  3. #3
    storm ist offline Neuer Benutzer
    Registriert seit
    04.06.2010
    Beiträge
    2

    Standard

    Leider konnte ich das Problem nicht lösen. Es existiert unter anderem kein psql_history file. Würde eine Neuinstallation was bringen?

  4. #4
    akretschmer ist offline Super-Moderator
    Registriert seit
    29.10.2006
    Ort
    Nähe Dresden
    Beiträge
    5.337

    Standard

    Zitat Zitat von storm Beitrag anzeigen
    Leider konnte ich das Problem nicht lösen. Es existiert unter anderem kein psql_history file. Würde eine Neuinstallation was bringen?
    Dazu muß psql mit libreadline compiliert sein - ich hab aber keine Ahnung, ob das überhaupt unter Windoze verfügbar ist.
    Du kannst ja mal Google danach durchforsten...

    Andreas
    --
    ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
    https://www.xing.com/profile/Andreas_Kretschmer7

  5. #5
    murphy ist offline Erfahrener Benutzer
    Registriert seit
    19.08.2009
    Beiträge
    165

    Standard

    Zitat Zitat von akretschmer Beitrag anzeigen
    keine Ahnung, ob das überhaupt unter Windoze verfügbar ist
    In den Packages von EnterpriseDB zumindest nicht. Und das sind eben die, auf die postgresql.org verlinkt...

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

Links: Tobias Bauer - IT- und Funkdienstleistungen   -   Bilderrahmen-kaufen.de - Der Onlineshop für Bilderrahmen & Fotorahmen   -   Funkforum