mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
This completes (at least for now) the project of getting rid of ad-hoc linkages among the src/bin/ subdirectories. Everything they share is now in src/fe_utils/ and is included from a static library at link time. A side benefit is that we can restore the FLEX_NO_BACKUP check for psqlscanslash.l. We might need to think of another way to do that check if we ever need to build two lexers with that property in the same source directory, but there's no foreseeable reason to need that.
17 lines
339 B
C
17 lines
339 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright (c) 2000-2016, PostgreSQL Global Development Group
|
|
*
|
|
* src/bin/psql/prompt.h
|
|
*/
|
|
#ifndef PROMPT_H
|
|
#define PROMPT_H
|
|
|
|
/* enum promptStatus_t is now defined by psqlscan.h */
|
|
#include "fe_utils/psqlscan.h"
|
|
|
|
char *get_prompt(promptStatus_t status);
|
|
|
|
#endif /* PROMPT_H */
|